f2e6caf430a0c88f4370b86b35b0611f28802a11
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
4         `nconc' and `consp'.
5
6 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7
8         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
9         hash table to test whether a location is exists.
10
11 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
12
13         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
14         even if some error occurred.
15
16         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
17         meaningless unwind-protect.
18
19         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
20         start-number correctly.
21         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
22         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
23
24 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
25
26         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
27         (elmo-folder-initialize): Use it.
28         (elmo-global-flag-replace-referrer): New function.
29
30         * elmo.el (toplevel): Added autoload setting for
31         `elmo-global-flag-replace-referrer'.
32         (elmo-folder-rename): Rewrite the last change use
33         `elmo-global-flag-replace-referrer'.
34
35         * elmo-pipe.el (elmo-folder-rename): Call
36         `elmo-global-flag-replace-referrer'.
37
38 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
39
40         * elmo.el (elmo-folder-rename): Set meta data for global flags
41         follow the rename.
42
43 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
44
45         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
46         as 'not-loaded.
47         (elmo-folder-close): Ditto.
48         (elmo-filter-folder-number-list-loaded-p): New function.
49         (elmo-filter-folder-number-list): Check whether loaded or not.
50         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
51         of `elmo-filter-folder-number-list-internal'.
52         (elmo-folder-delete-messages): Ditto.
53         (elmo-folder-length): Check whether number-list is loaded or not.
54
55 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
56
57         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
58         field `real field' into each element of list.
59         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
60         (elmo-msgdb-message-entity-field): Ditto.
61         (modb-entity-ml-info-real-fields): New function.
62
63         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
64
65         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
66         `elmo-msgdb-extra-fields'.
67
68 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
69
70         * elmo-util.el (elmo-passwd-alist-load): Move point to min
71         position before read.
72
73 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
74
75         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
76         (elmo-global-flags-initialize): Ditto.
77
78 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
79
80         * elmo-archive.el (toplevel): Don't require emu, std11
81         and elmo-localdir.
82
83         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
84         definition.
85
86 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
87
88         * elmo.el (elmo-folder-confirm-appends): Display folder name.
89
90 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
91
92         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
93         literals.
94
95 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
96
97         * elmo-maildir.el (elmo-maildir-list-location): Reduce
98         `elmo-get-last-modification-time' call.
99
100 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
101
102         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
103         expression.
104         (elmo-maildir-set-mark): Ditto.
105         (elmo-maildir-delete-mark): Ditto.
106
107 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
108
109         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
110         optional argument `separators'.
111
112 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
113
114         * elmo.el (cache-changed): Abolish.
115         (status-changed): New signal.
116         (elmo-message-killed-p): New generic function and define for
117         elmo-folder.
118         (elmo-folder-recover-messages): Ditto.
119         (elmo-message-set-cached): Emit signal `status-changed' instead of
120         `cache-changed'.
121         (elmo-message-status): New macro.
122         (elmo-message-status-folder): Ditto.
123         (elmo-message-status-number): Ditto.
124         (elmo-message-status-set-flags): Ditto.
125         (elmo-message-status-set-killed): Ditto.
126         (elmo-message-status-flags): New function.
127         (elmo-message-status-cached-p): Ditto.
128         (elmo-message-status-killed-p): Ditto.
129
130         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
131         `status-changed' instead of `cache-changed'.
132         (elmo-folder-recover-messages): Define.
133         (elmo-message-killed-p): Ditto.
134
135         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
136         `status-changed' instead of `cache-changed'.
137
138         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
139         (elmo-message-killed-p): Define.
140         (elmo-folder-recover-messages): Ditto.
141
142         * elmo-version.el (elmo-version): Up to 2.15.3.
143
144 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
145
146         * elmo-signal.el (elmo-signal-bindings): Use cons to append
147         element into list.
148         (elmo-define-signal-handler): Add docstring.
149         (elmo-define-signal-filter): Ditto.
150
151         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
152
153 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
154
155         * elmo-util.el (elmo-flatten): Don't use recursive call.
156
157         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
158         assignment.
159         (elmo-folder-message-make-temp-files): Use `number-to-string'
160         instead of `int-to-string'.
161
162 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
163
164         * elmo-search.el (elmo-folder-delete-messages): Define.
165
166 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
167
168         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
169         customization type.
170         (elmo-mailing-list-count-spec-list): Ditto.
171
172         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
173         for `list-id'.
174
175 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
176
177         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
178         handling.
179
180 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
181
182         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
183         (elmo-mailing-list-count-spec-list): Ditto.
184
185         * elmo-util.el (elmo-map-until-success): New function.
186         (elmo-string-match-substring): Ditto.
187         (elmo-find-list-match-value): Ditto.
188
189         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
190         Removed.
191         (modb-entity-extract-ml-info-from-subject): Ditto.
192         (modb-entity-extract-ml-info-from-return-path): Ditto.
193         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
194         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
195         (modb-entity-extract-ml-info-from-mailman): Ditto.
196         (modb-entity-extract-mailing-list-info-functions): Ditto.
197         (modb-entity-extract-mailing-list-info): Rewrite with
198         `elmo-find-list-match-value'.
199
200 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
201
202         * elmo-net.el (elmo-network-session-retry-count): New user option.
203         (elmo-network-session-buffer-name): New internal function.
204         (elmo-network-session-buffer-create): Ditto.
205         (elmo-network-open-session): Retry open network session
206         `elmo-network-session-retry-count' times.
207
208 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
209
210         * elmo-util.el (elmo-list-filter): Rewritten.
211
212 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
213
214         * elmo-util.el (elmo-string-member): Allow symbol element in list.
215
216 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
217
218         * elmo-search.el (elmo-make-search-engine): Use prefix
219         `elmo-search-' for require symbol instead of `else-'.
220         (elmo-search-engine-extprog): New class.
221         (elmo-search-engine-do-search): Remove nil from argument
222         list. Added argument pattern to evaluate element as function.
223         (elmo-search-engine-local-file): Derived from
224         `elmo-search-engine-extprog'.
225         (elmo-search-engine-create-message-entity): Check existance of file.
226         (elmo-search-engine-fetch-message): Ditto.
227         (elmo-search-namazu-index): Follow the API change.
228         (elmo-search-grep-target): Ditto.
229
230 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
231
232         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
233         characters of working buffer.
234
235         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
236         Does not bind `default-mime-charset'.
237         (elmo-msgdb-create-message-entity-from-buffer): Removed
238         unnecessary local bind.
239
240         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
241         function.
242         (modb-entity-extract-mailing-list-info-functions): Added it.
243
244 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
245
246         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
247         when number and message-id are non-nil.
248
249         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
250
251         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
252         conditional steatment.
253         (elmo-pop3-auth-apop): Likewise.
254         (elmo-network-authenticate-session): Likewise.
255
256 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
257
258         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
259         symbol `fill-column'.
260         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
261         decode field value.
262
263         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
264         (elmo-decoded-field-body): Ditto.
265
266 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
267
268         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
269         `tokens' to `params'.
270
271 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
272
273         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
274         working buffer.
275
276 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
277
278         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
279         decide index.
280
281 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
282
283         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
284         Set default value as nil.
285         (toplevel): Register search engines by
286         `elmo-search-register-engine' if there are not defined.
287
288         * elmo.el (autoload): Added autoload setting for
289         `elmo-search-register-engine'.
290
291 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
292
293         * elmo.el (toplevel): `[' is redefined as the prefix of the search
294         folder instead of nmz folder.
295         (elmo-nmz-default-index-path): Added obsolete variable setting.
296         (elmo-nmz-index-alias-alist): Ditto.
297         (elmo-nmz-use-drive-letter): Ditto.
298
299         * elmo-search.el (elmo-search-register-engine): New function.
300
301         * elmo-nmz.el: Removed.
302
303         * elmo-version.el (elmo-version): Up to 2.15.2.
304
305 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
306
307         * elmo-search.el: New file.
308
309 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
310
311         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
312         condition `larger' and `smaller'.
313
314 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
315
316         * elmo-util.el (elmo-safe-filename): Rewrite to replace
317         `"' (double quote) into "_Q_".
318
319 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
320
321         * elmo-net.el (elmo-net-quote-chars): Abolish.
322         (elmo-net-format-quoted): Ditto.
323
324 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
325
326         * elmo.el (elmo-get-folder-function): New variable.
327         (elmo-get-folder): New function.
328         (elmo-folder-rename): Call `elmo-make-folder' with specified
329         mime-charset.
330
331         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
332         `elmo-make-folder'.
333         (elmo-split-subr): Ditto.
334
335         * elmo-multi.el (elmo-folder-initialize): Ditto.
336
337         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
338
339         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
340         (elmo-flag-get-folder): Ditto.
341
342         * elmo-filter.el (elmo-folder-initialize): Ditto.
343
344         * elmo-access.el (elmo-folder-initialize): Ditto.
345         (elmo-access-folder-update-children): Ditto.
346
347         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
348         (elmo-dop-queue-flush): Ditto.
349         (elmo-folder-append-buffer-dop-delayed): Ditto.
350         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
351         mime-charset.
352
353         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
354         instead of `elmo-make-folder'.
355         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
356         destination folder instead of send `elmo-folder-rename-internal'.
357
358         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
359         slot of subfolder instead of create it.
360
361 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
362
363         * elmo-util.el (elmo-collect-separators): New function.
364         (elmo-collect-separators-internal): Ditto.
365         (elmo-collect-trail-separators): Ditto.
366         (elmo-parse-separated-tokens): Ditto.
367         (elmo-parse-separated-tokens-internal): Ditto.
368         (elmo-quote-syntactical-element): Ditto.
369
370         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
371         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
372
373         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
374         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
375         (elmo-nntp-folder-list-subfolders): Quote a user name.
376
377         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
378         (elmo-net-parse-network): Abolish.
379         (elmo-net-folder-set-parameters): New function.
380         (elmo-folder-initialize): Follow the above change.
381
382         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
383         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
384         (elmo-folder-list-subfolders): Use
385         `elmo-quote-syntactical-element' instead of
386         `elmo-net-format-quoted' to quote mailbox and user name.
387
388 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
389
390         * elmo-util.el (elmo-token-valid-p): New function.
391         (elmo-parse-token): Add optional argument `requirement'.
392         (elmo-parse-prefixed-element): Likewise.
393
394         * elmo-net.el (elmo-net-quote-chars): Renamed from
395         `elmo-net-quote-chars-regexp'.
396         (elmo-net-format-quoted): Add optional argument `extra-chars'.
397
398         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
399         by info document. Check token `uidl' is started an alphabet.
400
401         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
402         by info document. Check token `user' is started an alphabet.
403
404         * elmo-imap4.el (elmo-folder-initialize): Ditto.
405         (elmo-folder-list-subfolders): Quote user.
406
407 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
408
409         * elmo-util.el (elmo-quoted-specials-list): New constant.
410         (elmo-quoted-token): New function.
411
412         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
413         (elmo-net-format-quoted): New function.
414         (elmo-net-parse-network): Ditto.
415         (elmo-folder-initialize): Use it.
416
417         * elmo-nntp.el (elmo-folder-initialize): Use
418         `elmo-net-parse-network' to parse network specification instead of
419         `elmo-folder-initialize#elmo-net'.
420
421         * elmo-pop3.el (elmo-folder-initialize): Ditto.
422
423         * elmo-imap4.el (elmo-folder-initialize): Ditto.
424         (elmo-folder-list-subfolders): Quote folder name by
425         `elmo-net-format-quoted'.
426
427 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
428
429         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
430         (elmo-folder-search): Use it.
431
432 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
433
434         * modb-standard.el (modb-standard-loaded-message-id): Use
435         `elmo-msgdb-message-entity-field'.
436
437 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
438
439         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
440         without filename.
441
442 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
443
444         * elmo-util.el (elmo-set-auto-coding): New function.
445         (elmo-object-load): Use it.
446
447 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
448
449         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
450         (elmo-time<): Define as alias of `elmo-time-less-p'.
451         (elmo-time-to-datevec): New function.
452
453         * elmo-date.el (elmo-time-to-days): New function.
454
455 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
456
457         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
458         is not cons cell.
459
460 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
461
462         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
463         parenthesis.
464
465         * elmo-util.el (elmo-map-recursive): New function.
466
467         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
468         (modb-entity-encode-string-recursive): Ditto.
469
470 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
471
472         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
473         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
474         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
475         compare sequence number when last modified time is nil.
476
477 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
478
479         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
480
481         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
482
483 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
484
485         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
486         modification time of the file.
487
488 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
489
490         * elmo-util.el (elmo-condition-optimize): Discriminated against
491         preserved fields, extra fields and the other weight.
492
493 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
494
495         * modb-entity.el (initialize-instance): Define.
496         (modb-entity-handler-mime-charset): New internal function.
497         (modb-standard-entity-set-field): Use it.
498         (elmo-msgdb-message-entity-field): Ditto.
499         (elmo-msgdb-message-entity-field): Ditto.
500
501         * modb.el (elmo-msgdb-match-condition): Rewrite with
502         `elmo-condition-match'.
503         (elmo-msgdb-match-condition-primitive): New function.
504
505         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
506         arguments `flags' and `numbers'.
507         (elmo-msgdb-match-condition-primitive): Abolished (merged to
508         `elmo-msgdb-message-match-condition').
509         (modb-buffer-entity-handler): New class.
510
511         * elmo.el (elmo-folder-search): Optimize condition to use
512         `elmo-condition-optimize'.
513         (elmo-message-buffer-match-condition): New function.
514         (elmo-message-match-condition): Use
515         `elmo-message-buffer-match-condition' instead of
516         `elmo-buffer-field-condition-match'.
517
518         * elmo-util.el (elmo-condition-match): New function.
519         (elmo-condition-optimize): Ditto.
520         (elmo-buffer-field-primitive-condition-match): Abolish.
521         (elmo-buffer-field-condition-match): Ditto.
522
523         * elmo-archive.el (elmo-archive-field-condition-match): Use
524         `elmo-message-buffer-match-condition' instead of
525         `elmo-buffer-field-condition-match'.
526
527 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
528
529         * elmo-flag.el (elmo-global-flags-initialize): Check the
530         existence of the flag directory.
531
532 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
533
534         * elmo-access.el (elmo-folder-initialize): Call
535         `elmo-multi-connect-signals'.
536
537         * elmo-pipe.el (elmo-folder-close): Define.
538
539         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
540         children folders.
541
542         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
543         with target folder.
544
545         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
546         `number'.
547
548         * elmo-multi.el (elmo-message-entity): Don't use return value of
549         `elmo-message-entity-set-number'.
550
551 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
552
553         * modb.el (modb-generic): Added slot `mime-charset'.
554
555         * modb-standard.el (modb-standard): Added slot `overview-handler'.
556         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
557         and `modb-entity-handler-dump-parameters'.
558         (modb-standard-default-entity-handler): Abolish.
559         (elmo-msgdb-message-entity-handler): Save created handler by
560         instance slot.
561
562         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
563         (modb-entity-handler-list-parameters): New method.
564         (modb-entity-handler-equal-p): New function.
565         (modb-entity-handler-dump-parameters): Ditto.
566         (modb-entity-parse-address-string): Encode return value.
567         (modb-entity-make-address-string): Decode argument value.
568         (modb-entity-decode-string-recursive): New function.
569         (modb-entity-encode-string-recursive): Ditto.
570         (modb-standard-entity-normalizer): Set to encode field value.
571         (modb-standard-entity-specializer): Follow the above change.
572         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
573         mime-charset of handler.
574         (elmo-msgdb-message-entity-field): Ditto.
575         (elmo-msgdb-copy-message-entity): Fixed reference to internal
576         structure.
577         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
578
579         * elmo.el (elmo-folder): Added slot `mime-charset'.
580         (elmo-make-folder): Added argument `mime-charset'.
581         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
582         `mime-charest'.
583
584         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
585         (elmo-make-msgdb): Likewise.
586
587         * elmo-internal.el (elmo-internal-folder-initialize): Call
588         `luna-make-entity' with :mime-charset parameter.
589
590 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
591
592         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
593         encoded words in `from' and `subject' field.
594
595 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
596
597         * modb.el (elmo-msgdb-message-field): Add argument `type'.
598         (elmo-msgdb-match-condition): Get handler from entity instead of
599         msgdb.
600
601         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
602         (modb-standard-load-entity): Treat new file format.
603         (modb-standard-save-entity-1): Save as new file format.
604         (modb-standard-save-entity): Split messages into section here.
605         (elmo-msgdb-message-field): Follow the API change.
606         (modb-standard-default-entity-handler): New internal variable.
607         (elmo-msgdb-message-entity-handler): Define.
608
609         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
610         to `elmo-vars.el'.
611         (modb-entity-field-extractor-alist): New user option.
612         (elmo-msgdb-message-entity-field): Removed argument `decode' and
613         added argument `type'.
614         (elmo-msgdb-copy-message-entity): Add optional argument
615         `make-handler'.
616         (modb-set-field-converter): New function.
617         (modb-convert-field-value): Ditto.
618         (modb-entity-string-decoder): Ditto.
619         (modb-entity-string-encoder): Ditto.
620         (modb-entity-parse-date-string): Ditto.
621         (modb-entity-make-date-string): Ditto.
622         (modb-entity-mime-decoder): Ditto.
623         (modb-entity-mime-encoder): Ditto.
624         (modb-entity-address-list-decoder): Ditto.
625         (modb-entity-address-list-encoder): Ditto.
626         (modb-entity-parse-address-string): Ditto.
627         (modb-entity-make-address-string): Ditto.
628         (modb-entity-create-field-indices): Ditto.
629         (modb-legacy-entity-field-slots): New constant.
630         (modb-legacy-entity-field-indices): Ditto.
631         (modb-legacy-entity-normalizer): New variable.
632         (modb-legacy-entity-specializer): Ditto.
633         (modb-legacy-entity-field-index): New macro.
634         (modb-legacy-entity-set-field): New function.
635         (modb-legacy-make-message-entity): Rewrite.
636         (elmo-msgdb-create-message-entity-from-buffer): Use
637         `elmo-msgdb-get-references-from-buffer'. Use
638         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
639         Use `modb-legacy-entity-set-field' instead of
640         `elmo-msgdb-message-entity-set-field'.
641         (elmo-msgdb-message-entity-field): Rewrite.
642         (elmo-msgdb-message-entity-set-field): Ditto.
643         (elmo-msgdb-copy-message-entity): Make new entity by
644         `make-handler' if it specified.
645         (elmo-msgdb-message-match-condition): Define a method of
646         `modb-entity-handler' and follow the API change.
647         (modb-standard-entity-handler): New class.
648         (modb-entity-extract-ml-info-from-x-sequence): New function.
649         (modb-entity-extract-ml-info-from-subject): Ditto.
650         (modb-entity-extract-ml-info-from-return-path): Ditto.
651         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
652         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
653         (modb-entity-extract-mailing-list-info): Ditto.
654         (modb-entity-extract-mailing-list-info-functions): New variable.
655
656         * elmo.el (elmo-message-field): Add optional argument `type'.
657
658         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
659         from `modb-entity.el'.
660
661         * elmo-util.el (elmo-object-load): Decode by coding-system from
662         `set-auto-coding-function'.
663         (elmo-object-save): Use `detect-mime-charset-region' and add
664         coding cookie if encode.
665         (elmo-msgdb-get-references-from-buffer): New function.
666         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
667
668         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
669
670         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
671         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
672         instead of `shimbun-make-header' and follow the API change.
673         (elmo-shimbun-update-overview): Follow the API change.
674         (elmo-map-folder-list-message-locations): Ditto.
675
676         * elmo-pipe.el (elmo-message-field): Ditto.
677
678         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
679         Ditto.
680
681         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
682
683         * elmo-multi.el (elmo-message-field): Ditto.
684
685         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
686         (elmo-msgdb-sort-by-date): Ditto.
687         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
688         `elmo-message-entity-field'.
689         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
690         change.
691         (elmo-msgdb-overview-entity-get-from): Ditto.
692         (elmo-msgdb-overview-entity-get-subject): Ditto.
693         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
694         (elmo-msgdb-overview-entity-get-date): Ditto.
695         (elmo-msgdb-overview-entity-get-to): Ditto.
696         (elmo-msgdb-overview-entity-get-cc): Ditto.
697
698         * elmo-mime.el (elmo-message-mime-entity): Ditto.
699         (elmo-mime-collect-message/partial-pieces): Ditto.
700
701         * elmo-filter.el (elmo-message-field): Ditto.
702
703         * elmo-date.el (elmo-datevec-to-time): New function.
704         (elmo-time-parse-date-string): Ditto.
705         (elmo-time-make-date-string): Ditto.
706         (elmo-time<): Ditto.
707
708         * elmo-version.el (elmo-version): Up to 2.15.1.
709
710 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
711
712         * elmo-flag.el (elmo-global-flags-initialize): Don't include
713         member of elmo-local-flags.
714
715 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
716
717         * elmo-version.el (elmo-version): Up to 2.15.0.
718
719 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
720
721         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
722         `ignore-msgdb' is non-nil.
723
724 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
725
726         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
727         (elmo-condition-in-msgdb-p): Ditto.
728         (elmo-file-field-primitive-condition-match): Ditto.
729         (elmo-file-field-condition-match): Ditto.
730
731         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
732
733 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
734
735         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
736         subdirectories here.
737         (elmo-global-flags-initialize): New function.
738
739         * elmo.el (toplevel): Added autoload setting for
740         `elmo-global-flags-initialize'.
741
742 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
743
744         * elmo.el (message-number-changed): Define new signal.
745         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
746         message-number-changed signal.
747         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
748         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
749         Respect `elmo-pack-number-check-strict'.
750
751 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
752
753         * elmo-signal.el (elmo-connect-signal): Document.
754         (elmo-emit-signal): Ditto.
755         (elmo-emit-signal): It should pass source argument to filter and
756         handler, not slot-source.
757
758 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
759
760         * modb.el (elmo-msgdb-update-entity): New API and define generic
761         implement.
762
763         * modb-standard.el (elmo-msgdb-update-entity): Define.
764
765         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
766         API and define generic implement.
767
768         * elmo.el (update-overview): New singnal.
769
770         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
771         `elmo-msgdb-update-entity' and emit signal `update-overview'.
772         (elmo-message-entity-parent): Define.
773
774         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
775         `update-overview'.
776
777         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
778
779         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
780
781 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
782
783         * elmo.el (elmo-folder-synchronize): Sort the return value of
784         `elmo-list-diff'.
785
786         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
787         list.
788
789 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
790
791         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
792         `default-enable-multibyte-characters'.
793         (elmo-object-load): Use `with-temp-buffer' instead of
794         `elmo-set-work-buf'.
795         (elmo-object-save): Ditto.
796         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
797         `elmo-set-work-buf'.
798         (elmo-decoded-field-body): Ditto.
799
800         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
801
802         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
803         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
804
805         * elmo-version.el (elmo-version): Up to 2.13.3.
806
807 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
808
809         * elmo-util.el (elmo-list-diff): Fix the last change.
810         Reverse order of result lists.
811
812 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
813
814         * modb-standard.el (elmo-msgdb-set-flag): Use
815         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
816         (elmo-msgdb-unset-flag): Ditto.
817
818         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
819         `elmo-list-diff'.
820
821         * elmo-util.el (elmo-list-diff): Rewrite.
822         (elmo-list-diff-nonsortable): New function.
823
824 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
825
826         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
827         `elmo-multibypte-buffer-name'.  All referers are updated.
828
829 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
830
831         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
832         (elmo-mime-entity-fragment-p): New function.
833         (mime-elmo-buffer-entity): Added slot `reassembled'.
834         (elmo-message-mime-entity): Added 4th argument `reassemble'.
835         (elmo-message-mime-entity-internal): New function (renamed from
836         `elmo-message-mime-entity').
837         (elmo-mime-inherit-field-list-from-enclosed): New constant.
838         (elmo-mime-make-reassembled-mime-entity): New function.
839         (elmo-message-reassembled-mime-entity): Ditto.
840         (elmo-mime-collect-message/partial-pieces): Ditto.
841
842 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
843
844         * elmo.el (elmo-message-fetch-string): Disable multibyte.
845
846         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
847         (elmo-with-enable-multibyte): New macro.
848
849         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
850
851 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
852
853         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
854         argument `number'.
855         (elmo-filter-connect-signals): Follow the above change.
856
857 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
858
859         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
860
861         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
862         that only the first flag is used.
863
864 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
865
866         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
867         if available.
868
869 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
870
871         * elmo-signal.el: New file.
872
873         * elmo.el (toplevel): Require elmo-signal.
874         (flag-changing, flag-changed, cache-changed): New signal.
875         (elmo-folder): Remove slog `handlers'.
876         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
877         `elmo-folder-notify-event'.
878         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
879         (elmo-folder-unset-flag): Ditto.
880         (elmo-event-handler): Abolish.
881         (elmo-event-handler-flag-changed): Ditto.
882         (elmo-event-handler-cache-changed): Ditto.
883         (elmo-folder-add-handler): Ditto.
884         (elmo-folder-remove-handler): Ditto.
885         (elmo-folder-notify-event): Ditto.
886
887         * elmo-pipe.el (toplevel): Require elmo-signal.
888         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
889         (elmo-pipe-connect-signals): New function.
890         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
891         (elmo-folder-set-flag): Ditto.
892         (elmo-folder-unset-flag): Ditto.
893         (elmo-message-set-cached): Ditto.
894
895         * elmo-multi.el (toplevel): Require elmo-signal.
896         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
897         (elmo-multi-connect-signals): New function.
898         (elmo-multi-map-numbers): Ditto.
899         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
900         (elmo-message-fetch): Ditto.
901         (elmo-folder-set-flag): Ditto.
902         (elmo-folder-unset-flag): Ditto.
903
904         * elmo-filter.el (toplevel): Require elmo-signal.
905         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
906         (elmo-filter-connect-signals): New function.
907         (elmo-filter-add-flag-count): Ditto.
908         (elmo-message-fetch): Does not call
909         `elmo-filter-folder-countup-message-flags' and
910         `elmo-folder-notify-event'.
911         (elmo-message-set-cached): Ditto.
912         (elmo-folder-set-flag): Ditto.
913         (elmo-folder-unset-flag): Ditto.
914
915         * elmo-version.el (elmo-version): Up to 2.13.2.
916
917 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
918
919         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
920         `flags'.
921
922 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
923
924         * elmo-filter.el (elmo-message-set-cached): Call
925         `elmo-folder-notify-event' with event `cache-changed'.
926
927         * elmo-multi.el (elmo-message-set-cached): Ditto.
928
929         * elmo-pipe.el (elmo-message-set-cached): Ditto.
930
931 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
932
933         * elmo.el (elmo-folder-encache): Abolish.
934
935 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
936
937         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
938         (elmo-folder-next-message-number-dop): Return appropriate negative
939         integer.
940
941 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
942
943         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
944         clearing pending operations.
945         (elmo-folder-next-message-number-dop): Return appropriate negative
946         integer.
947
948 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
949
950         * elmo.el (toplevel): Added autoload setting for `md5'.
951         (elmo-msgdb-path-encode-threshold): New user option.
952         (elmo-folder-msgdb-path): Encode msgdb path if its length is
953         longer than `elmo-msgdb-path-encode-threshold'.
954
955         * elmo-flag.el (elmo-global-mark-migrate): Use
956         `elmo-folder-expand-msgdb-path' instead of
957         `elmo-folder-msgdb-path'.
958
959 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
960
961         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
962         element of the difference is nil.
963
964 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
965
966         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
967         to the check logic of file systems which are weak in colon character.
968
969 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
970
971         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
972
973 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
974
975         * elmo-maildir.el (elmo-maildir-move-file): New function.
976         (elmo-folder-append-buffer): Use it.
977         (elmo-folder-append-messages): Ditto.
978         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
979
980         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
981         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
982
983         * elmo-maildir.el (elmo-maildir-separator): New user option.
984         (elmo-maildir-adjust-separator): New macro.
985         (elmo-maildir-list-location): Use it.
986         (elmo-maildir-update-current): Ditto.
987         (elmo-maildir-set-mark): Ditto.
988         (elmo-maildir-delete-mark): Ditto.
989         (These changes are based on Hiroya Murata's patch [wl: 13437])
990
991 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
992
993         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
994
995 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
996
997         * elmo-flag.el (elmo-flag-valid-p): Simplify.
998         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
999         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1000
1001 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1002
1003         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1004         Use `with-temp-buffer'.
1005
1006 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1007
1008         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1009
1010         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1011         `wl-read-search-condition').
1012         (elmo-read-search-condition-internal): Likewise.
1013
1014         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1015         (elmo-flag-valid-p): New function.
1016         (elmo-folder-initialize): Check flag name is valid.
1017
1018 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1019
1020         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1021         delimiter to obtain root mailbox itself.
1022
1023 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1024
1025         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1026         type mismatch.
1027
1028 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1029
1030         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1031         as t.
1032
1033 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1034
1035         * elmo-shimbun.el (toplevel): Require cl at compile.
1036
1037         * elmo-nntp.el (toplevel): Ditto.
1038
1039         * elmo-nmz.el (toplevel): Ditto.
1040
1041         * elmo-multi.el (toplevel): Ditto.
1042
1043         * elmo-file.el (toplevel): Ditto.
1044
1045         * elmo-dop.el (toplevel): Ditto.
1046
1047         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1048
1049 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1050
1051         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1052         as nil.
1053
1054         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1055         size of elmo-message-fetch-internal is 0 byte.
1056
1057 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1058
1059         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1060
1061 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1062
1063         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1064         always plugged.
1065
1066 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1067
1068         * elmo-maildir.el (elmo-map-message-fetch): Call
1069         `elmo-map-folder-set-flag'.
1070
1071         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1072         (elmo-message-fetch): Merge from
1073         `elmo-message-fetch-with-cache-process'.
1074
1075         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1076         (elmo-message-fetch): Define.
1077
1078         * elmo-nntp.el (elmo-message-fetch): Renamed from
1079         `elmo-message-fetch-with-cache-process'.
1080
1081         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1082         (elmo-message-fetch): Define.
1083
1084         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1085         search-key.
1086
1087         * elmo-shimbun.el (shimbun-mua-search-id): Use
1088         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1089         (elmo-shimbun-folder-shimbun-header): Ditto.
1090         (elmo-shimbun-get-headers): Ditto.
1091         (elmo-shimbun-update-overview): Ditto.
1092
1093         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1094
1095         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1096         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1097
1098 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1099
1100         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1101         message is cached.
1102         (elmo-message-fetch-string): Fixed argument.
1103
1104 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1105
1106         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1107         exchange order of arguments `section' and `unread'.
1108         (elmo-message-encache): Follow the API change.
1109         (elmo-message-match-condition): Ditto.
1110         (elmo-generic-folder-append-messages): Ditto.
1111         (elmo-message-fetch-string): New function.
1112
1113         * elmo-split.el (elmo-split-subr): Ditto.
1114
1115         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1116
1117         * elmo-pipe.el (elmo-message-fetch): Ditto.
1118
1119         * elmo-multi.el (elmo-message-fetch): Ditto.
1120
1121         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1122
1123         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1124
1125         * elmo-filter.el (elmo-message-fetch): Ditto.
1126
1127         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1128
1129         * elmo-imap4.el (mime-imap-location-section-body): Use
1130         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1131         follow the API change.
1132
1133 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1134
1135         * elmo-access.el: New file.
1136
1137         * elmo-null.el: Ditto.
1138
1139         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1140
1141 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1142
1143         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1144         (elmo-network-session): New attribute `last-accessed'.
1145         (elmo-network-get-session): Discard network cache if elapsed time
1146         since last-accessed is larger than elmo-network-session-idle-timeout.
1147
1148 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1149
1150         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1151         and added `number', `require-entireness'.
1152         (elmo-find-fetch-strategy): Rewrite.
1153         (elmo-message-fetch): Unset `unread' flag when argument unread is
1154         non-nil.
1155
1156         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1157
1158         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1159         (elmo-message-fetch): Notify event `flag-changed'.
1160
1161         * elmo-pipe.el: Likewise.
1162
1163         * elmo-mime.el (elmo-mime-entity): New class.
1164         (elmo-mime-entity-display-p): New generic function.
1165         (elmo-mime-entity-display): Ditto.
1166         (elmo-mime-entity-display-as-is): Ditto.
1167         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1168         elmo-mime-entity.
1169         (elmo-make-mime-message-location): Removed.
1170         (elmo-mime-message-display): Ditto.
1171         (elmo-mime-display-as-is): Ditto.
1172         (elmo-message-mime-entity): New function.
1173
1174         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1175
1176         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1177         change.
1178         (elmo-message-fetch): Re-count flagged message number and notify
1179         event `flag-changed'.
1180
1181         * elmo-version.el (elmo-version): Up to 2.13.1.
1182
1183 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1184
1185         * elmo-filter.el (elmo-message-field): Define.
1186         (elmo-message-set-field): Ditto.
1187
1188 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1189
1190         * elmo.el (elmo-message-set-cached): Call
1191         `elmo-folder-notify-event' with cache-changed.
1192         (elmo-event-handler-cache-changed): New generic function.
1193
1194 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1195
1196         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1197         instead of elmo-add-name-to-file.
1198         (elmo-folder-append-messages): Ditto.
1199
1200 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1201
1202         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1203
1204 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1205
1206         * elmo-version.el (elmo-version): Up to 2.13.0.
1207
1208         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1209         `auto'.
1210
1211         * modb-standard.el (modb-standard-economize-entity-size): Changed
1212         default value to `t'.
1213
1214         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1215         `standard'.
1216
1217         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1218         after parsing greeting string.
1219
1220 2004-11-23  Daishi Kato <daishi@axlight.com>
1221
1222         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1223         New user option.
1224         (elmo-spam-spamoracle-call): Use it.
1225
1226 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1227
1228         * elmo.el (elmo-message-accessible-p): Message in dop spool
1229         is accessible.
1230
1231 2004-11-23  Daishi Kato <daishi@axlight.com>
1232
1233         * elsp-spamoracle.el: New file.
1234
1235 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1236
1237         * elmo.el (elmo-message-flags-for-append): New function.
1238         (elmo-generic-folder-append-messages): Use it.
1239
1240         * elmo-split.el (elmo-split-subr): Ditto.
1241
1242         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1243         `flags' and use elmo-folder-append-buffer instead of
1244         write-region-as-binary.
1245         (elmo-dop-filter-pending-messages): New function.
1246         (elmo-folder-append-buffer-dop): Call
1247         elmo-dop-spool-folder-append-buffer with `flag'.
1248         (elmo-folder-set-flag-dop): Filter messages by
1249         elmo-dop-filter-pending-messages.
1250         (elmo-folder-unset-flag-dop): Ditto.
1251         (elmo-folder-append-buffer-dop-delayed): Use
1252         elmo-message-flags-for-append to get flags of the message and
1253         simplify.
1254
1255 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1256
1257         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1258
1259 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1260
1261         * elmo.el (elmo-folder): Added handlers slot.
1262         (elmo-event-handler): New class.
1263         (elmo-event-handler-flag-changed): New API.
1264         (elmo-folder-add-handler): New function.
1265         (elmo-folder-remove-handler): Ditto.
1266         (elmo-folder-notify-event): Ditto.
1267         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1268         `flag-changed'.
1269         (elmo-folder-unset-flag): Ditto.
1270
1271         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1272         (elmo-folder-unset-flag): Ditto.
1273
1274         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1275         (elmo-folder-unset-flag): Ditto.
1276
1277         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1278         (elmo-folder-unset-flag): Ditto.
1279
1280         * elmo-version.el (elmo-version): Up to 2.11.33.
1281
1282 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1283
1284         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1285
1286 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1287
1288         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1289
1290         * elmo-flag.el (elmo-folder-unset-flag): Define.
1291         (elmo-global-flag-detach): Do process when the flag is not target
1292         flag.
1293
1294 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1295
1296         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1297         variable.
1298         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1299
1300 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1301
1302         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1303         function.
1304         (elmo-folder-delete-messages): Detach messages before delete
1305         messages from target folder.
1306         (elmo-folder-detach-messages): Set updated number-list to slot.
1307
1308 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1309
1310         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1311
1312 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1313
1314         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1315
1316 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1317
1318         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1319         internal use only).
1320         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1321         not modified.
1322         (elmo-folder-delete-messages): Define.
1323         (elmo-folder-move-messages): Don't call
1324         `elmo-folder-detach-messages'.
1325         (elmo-folder-synchronize): Rewrite.
1326         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1327
1328         * elmo-util.el (elmo-last): New function.
1329         (elmo-set-list): Ditto.
1330         (elmo-number-set-delete-list): Ditto.
1331         (elmo-number-set-delete): Ditto.
1332
1333         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1334
1335         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1336         `elmo-folder-delete-messages' and don't delete location map.
1337         (elmo-folder-detach-messages): Define.
1338
1339         * elmo-imap4.el (elmo-folder-delete): Use
1340         `elmo-folder-delete-messages-internal' instead of
1341         `elmo-folder-delete-messages'.
1342
1343         * elmo-filter.el (elmo-folder-delete-messages): Call
1344         `elmo-folder-detach-messages'.
1345         (elmo-folder-detach-messages): Don't call
1346         `elmo-folder-detach-messages' for target folder.
1347
1348         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1349         message deletion is succeeded.
1350
1351         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1352
1353         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1354         from `elmo-folder-delete-messages'.
1355
1356         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1357
1358         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1359
1360         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1361
1362         * elmo-version.el (elmo-version): Up to 2.11.32.
1363
1364 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1365
1366         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1367         (elmo-global-flag-list): Added obsolete variable setting.
1368
1369         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1370
1371         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1372         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1373         `elmo-mime-display-header-analysis' is nil.
1374
1375         * elmo-flag.el (elmo-global-flags): Renamed from
1376         `elmo-global-flag-list' (All other related portions are changed).
1377         (elmo-local-flags): New variable.
1378         (elmo-local-flag-p): New function.
1379         (elmo-global-flag-set-internal): Cause an error when flag is not
1380         global.
1381
1382 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1383
1384         * elmo-util.el (elmo-concat-path): Treat empty path.
1385
1386 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1387
1388         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1389         field-or-fields).
1390         (elmo-split-address-match): Ditto.
1391         (elmo-split-equal): Ditto.
1392         (elmo-split-match): Ditto.
1393
1394 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1395
1396         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1397         (elmo-generic-folder-append-messages): If src message exists but
1398         has no flag, pass (read) for the FLAG argument of
1399         `elmo-folder-append-buffer'. Otherwise, pass nil.
1400
1401         * elmo-split.el (elmo-split-subr): Likewise.
1402
1403         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1404
1405         * elmo-multi.el (elmo-message-flags): Ditto.
1406
1407         * elmo-filter.el (elmo-message-flags): Ditto.
1408
1409         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1410         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1411         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1412         
1413 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1414
1415         * elmo-split.el (elmo-split-rule): Update comment.
1416         (elmo-split-address-equal): Allow 2nd argument to be a list.
1417         (elmo-split-address-match): Ditto.
1418         (elmo-split-equal): Ditto.
1419         (elmo-split-match): Ditto.
1420
1421 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1422
1423         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1424         (elmo-folder-append-msgdb): Don't treat `read'.
1425         (elmo-message-flags): Don't return `read'.
1426
1427         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1428         (elmo-folder-unset-read-delayed): Ditto.
1429
1430         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1431
1432 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1433
1434         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1435         deletion.
1436
1437 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1438
1439         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1440         header.
1441
1442 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1443
1444         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1445         here.
1446         (elmo-msgdb-save): Bind inhibit-quit.
1447         (modb-standard-message-entity): Ditto.
1448
1449 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1450
1451         * elmo-database.el: No need to require elmo-msgdb.
1452
1453 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1454
1455         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1456         instead of `elmo-list-subdirectories'.
1457
1458 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1459
1460         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1461         group entry.
1462         (elmo-folder-exists-p): "[" is empty.
1463         (elmo-folder-list-subfolders): Define.
1464         (elmo-folder-have-subfolder-p): Ditto.
1465
1466 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1467
1468         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1469
1470 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1471
1472         * elmo-filter.el (elmo-folder-local-p): Define.
1473
1474 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1475
1476         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1477         when entity is garbaged.
1478         (modb-standard-save-entity-1): Don't modify the original entity.
1479
1480 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1481
1482         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1483
1484 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1485
1486         * elmo.el (elmo-strict-folder-diff): Use
1487         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1488
1489 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1490
1491         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1492         (elmo-msgdb-message-number): Ditto.
1493         (elmo-msgdb-message-field): Ditto.
1494
1495         * modb-standard.el (modb-standard-economize-entity-size): New user
1496         option.
1497         (modb-standard-loaded-message-id): New inline function.
1498         (modb-standard-load-entity): Use it.
1499         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1500         throw message-id string away.
1501         (elmo-msgdb-flag-available-p): Define.
1502         (elmo-msgdb-message-number): Ditto.
1503         (elmo-msgdb-message-field): Ditto.
1504
1505         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1506         (suppoted -> supported).
1507         (modb-legacy-supported-flag-p): Ditto.
1508         (elmo-msgdb-set-flag): Ditto.
1509         (elmo-msgdb-unset-flag): Ditto.
1510         (elmo-msgdb-flag-available-p): Define.
1511
1512         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1513         is `t', treat it as legacy entity.
1514         
1515         * elmo.el (elmo-message-flag-available-p): New generic function.
1516         (elmo-message-number): Ditto.
1517         (elmo-message-field): Use `elmo-msgdb-message-field'.
1518
1519         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1520
1521         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1522         (elmo-message-number): Ditto.
1523
1524         * elmo-multi.el (elmo-message-number): Define.
1525         (elmo-message-flag-available-p): Ditto.
1526
1527         * elmo-filter.el (elmo-message-flag-available-p): Define.
1528         (elmo-message-number): Ditto.
1529
1530         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1531         (elmo-folder-initialize): Load `max-number'.
1532         (elmo-folder-commit): Save it.
1533         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1534         (elmo-global-flag-set-internal): Set up max-number slot.
1535
1536 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1537
1538         * elmo-version.el (elmo-version): Up to 2.11.31.
1539
1540 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1541
1542         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1543         unibyte string of the current buffer for the argument of `md5'
1544         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1545
1546 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1547
1548         * modb-legacy.el (modb-legacy-flag-list): New constant.
1549         (modb-legacy-suppoted-flag-p): New internal function.
1550         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1551         (elmo-msgdb-unset-flag): Ditto.
1552
1553 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1554
1555         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1556
1557         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1558         from msgdb.
1559
1560 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1561
1562         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1563         (follow the API change).
1564
1565         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1566
1567 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1568
1569         * modb-standard.el (modb-standard-digest-flags): Abolish.
1570         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1571
1572         * elmo-vars.el (elmo-digest-flags): New variable.
1573         (elmo-preserved-flags): Moved from elmo-flag.el.
1574
1575         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1576         (elmo-imap4-flag-to-imap-criteria): Ditto.
1577         (elmo-imap4-folder-list-flagged): Use it.
1578
1579         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1580
1581         * elmo.el (elmo-folder-count-flags): Changed return value.
1582
1583         * elmo-flag.el (elmo-preserved-flags): New variable.
1584         (elmo-get-global-flags): Use it.
1585
1586         * modb-standard.el (modb-standard-digest-flags): New variable.
1587         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1588         Changed behavior of `any'.
1589
1590         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1591         which are defined the Internet draft
1592         (draft-melnikov-imap-keywords-03.txt).
1593         (elmo-imap4-flags-to-imap): New function.
1594         (elmo-folder-append-buffer): Use it.
1595
1596         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1597         in the docstring.
1598
1599         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1600         avoid the bug of Emacs 21.3.
1601
1602 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1603
1604         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1605         function find-coding-system does not exist.
1606
1607 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1608
1609         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1610         parsing.
1611
1612 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1613
1614         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1615         response codes.
1616
1617 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1618
1619         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1620         (elmo-network-close-session): Follow the changes in
1621         `elmo-pop3-read-response'.
1622         (elmo-pop3-auth-user): Ditto.
1623         (elmo-pop3-auth-apop): Ditto.
1624         (elmo-network-initialize-session): Ditto.
1625         (elmo-network-authenticate-session): Ditto.
1626         (elmo-network-setup-session): Ditto.
1627         (elmo-folder-status): Ditto.
1628         (elmo-message-fetch-plugged): Ditto.
1629         (elmo-pop3-delete-msg): Ditto.
1630
1631 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1632
1633         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1634         on failure.
1635
1636 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1637
1638         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1639         style.
1640         (elmo-bind-directory): Ditto.
1641
1642 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1643
1644         * elmo.el (elmo-folder-append-messages): Note on return value.
1645         * elmo-archive.el (elmo-folder-append-messages): Don't return
1646         message numbers which could not be appended.
1647
1648 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1649
1650         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1651
1652 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1653
1654         * elmo-version.el (elmo-version): Up to 2.11.30.
1655
1656 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1657
1658         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1659         `mask'.
1660
1661         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1662
1663         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1664         (elmo-multi-split-numbers): Add elmo-folder object into each
1665         element of return value at first.
1666         (elmo-folder-delete-messages): Follow the above change.
1667         (elmo-folder-detach-messages): Ditto.
1668
1669         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1670         number which is synchronized in target folder.
1671
1672 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1673
1674         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1675         Change default value to symbol `all'.
1676         (elmo-map-message-fetch): Change condition to update overview
1677         follow the above.
1678
1679 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1680
1681         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1682         behavior to update overview.
1683         (elmo-shimbun-update-overview-folder-list): Note it.
1684
1685 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1686
1687         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1688         recursive call.
1689
1690 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1691
1692         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1693         buffer-disable-undo, it is unnecessary.
1694         (elmo-spam-register-good-messages): Ditto.
1695
1696         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1697         Ditto.
1698
1699         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1700
1701 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1702
1703         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1704         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1705         elmo-set-buffer-multibyte.
1706         (elmo-object-load): Ditto.
1707         (elmo-save-buffer): Ditto.
1708         (elmo-delete-char): Ditto.
1709         (elmo-file-field-primitive-condition-match): Ditto.
1710         (elmo-mime-string): Ditto.
1711
1712         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1713         (elmo-archive-field-condition-match): Ditto.
1714
1715         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1716
1717         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1718
1719         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1720         (elmo-nntp-msgdb-create-message): Ditto.
1721
1722         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1723
1724         * elmo.el (elmo-message-match-condition): Ditto.
1725         (elmo-message-match-condition): Ditto.
1726
1727         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1728         Ditto.
1729
1730         * elmo-version.el (elmo-version): Up to 2.11.29.
1731
1732         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1733         (elsp-header): New backend.
1734
1735         * elmo-util.el (elmo-decoded-field-body): New function.
1736
1737 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1738
1739         * elmo-version.el (elmo-version): Up to 2.11.28.
1740
1741 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1742
1743         * elmo-filter.el: Rewrite.
1744
1745         * elmo-version.el (elmo-version): Up to 2.11.27.
1746
1747 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1748
1749         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1750         msgdb path for the localdir folder with absolute path.
1751
1752         * utf7.el: Synch up with latest gnus/utf7.el;
1753         Modified for latest Emacs.
1754
1755 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1756
1757         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1758         shimbun backend couldn't open.
1759
1760 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1761
1762         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1763         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1764         when a destination folder is a filter folder.
1765
1766 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1767
1768         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1769         (elmo-generic-folder-append-messages): Call elmo-message-flags
1770         with argument `msgid'.
1771
1772         * elmo-split.el (elmo-split-subr): Ditto.
1773
1774         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1775
1776         * elmo-multi.el (elmo-message-flags): Ditto.
1777
1778 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1779
1780         * elmo.el (elmo-folder): Add new slot `flag-table'.
1781         (elmo-folder-flag-table): New API.
1782         (elmo-folder-close-flag-table): Ditto.
1783         (elmo-folder-preserve-flags): New function.
1784         (elmo-generic-folder-append-messages): Use
1785         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1786         Flag of a non-registered message, it sets to nil.
1787         Does not set flag to flag-table.
1788
1789         * elmo-maildir.el (elmo-folder-append-buffer): Use
1790         `elmo-folder-preserve-flags'.
1791         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1792         `elmo-folder-close-flag-table'.
1793
1794         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1795         (elmo-archive-folder-append-buffer): Use
1796         `elmo-folder-preserve-flags'.
1797
1798         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1799
1800         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1801
1802         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1803         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1804         `elmo-folder-close-flag-table'.
1805
1806         * elmo-version.el (elmo-version): Up to 2.11.26.
1807
1808 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1809
1810         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1811
1812         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1813         md5's 4th and 5th argument (non-existent in flim one).
1814
1815 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1816
1817         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1818         message, It sets to nil.
1819
1820 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1821
1822         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1823         list is non-nil.
1824
1825 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1826
1827         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1828
1829         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1830
1831         * elmo-util.el (elmo-uniq-sorted-list): New function.
1832         (elmo-make-number-list): Ditto.
1833         (elmo-number-set-to-number-list): Use elmo-make-number-list
1834         and don't use nreverse.
1835
1836 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1837
1838         * elmo-version.el (elmo-version): Up to 2.11.25.
1839
1840 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1841
1842         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1843         field not exists in message, Use md5 message digest of header.
1844
1845 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1846
1847         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1848         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1849         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1850         * elmo-split.el (elmo-split-subr): Check return value of
1851         elmo-folder-append-buffer.
1852
1853         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1854         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1855
1856         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1857         message-id.
1858
1859 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1860
1861         * elmo-split.el (elmo-split-subr): Append message with flag.
1862
1863         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1864         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1865         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1866
1867 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1868
1869         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1870         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1871         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1872
1873 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1874
1875         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1876         with a function call of `process-buffer'.  All callers are updated.
1877         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1878         Remove redundant `set-buffer' in a while loop.
1879
1880 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1881
1882         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1883         calls.
1884
1885 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1886
1887         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1888         elsp-spamfilter-register-buffer-internal with current buffer.
1889         (elmo-spam-register-spam-buffer): Ditto.
1890         (elmo-spam-register-good-buffer): Ditto.
1891
1892 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1893
1894         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1895         if it is not contained in the response(A workaround for courier-imap).
1896
1897 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1898
1899         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1900         parenthesis.
1901
1902 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1903
1904         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1905         range.
1906
1907 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1908
1909         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1910         of nconc.
1911
1912         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1913         argument handler.
1914         (elmo-msgdb-message-match-condition): Follow the change above.
1915
1916 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1917
1918         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1919         folder name.
1920
1921 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1922
1923         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1924
1925 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1926
1927         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1928
1929 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1930
1931         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1932         not found.
1933
1934 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1935
1936         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1937         value.
1938         (elmo-file-command-argument): Undo last change for cygwin.
1939         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1940         Don't return nil.
1941         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1942
1943 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1944
1945         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1946         value returned from elmo-file-find is nil.
1947
1948 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1949
1950         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1951         to elmo-vars.el.
1952
1953         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1954         instead of insert-file-contents-as-binary.
1955         (elmo-message-set-field): New generic function.
1956
1957         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1958         behavior change on `split-string'.
1959
1960         * elmo-file.el (elmo-file-find): New function.
1961         (elmo-file-command): New user option.
1962         (elmo-file-command-argument): Ditto.
1963         (elmo-file-fetch-max-size): Ditto.
1964         (elmo-file-detect-format): New function.
1965         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1966         Use elmo-file-detect-format.
1967         (elmo-map-folder-list-message-locations): Don't treat directories.
1968
1969 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1970
1971         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1972         (elmo-passwd-alist-clear): Shred password before clear.
1973         (elmo-remove-passwd): Remove all mached pair.
1974
1975 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1976
1977         * elmo.el (elmo-folder-synchronize): Fix description of the return
1978         value.
1979
1980 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1981
1982         * elmo.el (elmo-message-fetch-bodystructure): New method.
1983         (elmo-message-fetch-bodystructure): Define default.
1984
1985         * elmo-imap4.el (mime-imap-location-bodystructure): Call
1986         elmo-message-fetch-bodystructure.
1987         (elmo-message-fetch-bodystructure): Define.
1988
1989         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1990
1991 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
1992
1993         * elmo-filter.el (elmo-message-folder): Define.
1994
1995 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1996
1997         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1998         elmo-delete-cr-buffer.
1999
2000         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2001
2002         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2003
2004         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2005
2006         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2007         type seems to be a text.
2008
2009 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2010
2011         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2012         (elmo-spam-register-good-buffer): Ditto.
2013         (elmo-spam-spamassassin-register-messages): Ditto.
2014
2015         * elmo-util.el (elmo-string-member-ignore-case): Define with
2016         static-cond.
2017
2018 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2019
2020         * elmo.el (elmo-folder-type): Undo last change.
2021
2022         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2023
2024         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2025         warnings.
2026
2027         * elmo-file.el: New file.
2028         
2029         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2030
2031         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2032         variable.
2033         (elmo-spam-spamassassin-register-messages): New inline function.
2034         (elmo-spam-register-spam-messages): Define.
2035         (elmo-spam-register-good-messages): Ditto.
2036
2037         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2038         Fixed typo.
2039
2040         * elmo.el (toplevel): Added autoload setting for
2041         `elmo-get-global-flags'.
2042         (elmo-message-has-global-flag-p): New function.
2043         (elmo-message-set-global-flags): Ditto.
2044         (elmo-folder-type): Improvement for name: format.
2045
2046         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2047         availability of keyword flags.
2048         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2049         (elmo-folder-list-flagged-plugged): Renamed from
2050         elmo-folder-list-flagged-unplugged.
2051         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2052         accept any flag as keyword flag.
2053         (elmo-folder-set-flag-plugged): Accept keyword flags.
2054         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2055
2056         * elmo-flag.el (elmo-get-global-flags): New function.
2057
2058         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2059         folders.
2060
2061         * elmo-version.el (elmo-version): Up to 2.11.24.
2062
2063 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2064
2065         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2066         elmo-multiple-field-body instead of std11-field-body to check all
2067         headers.
2068
2069 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2070
2071         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2072         or "size".
2073
2074 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2075
2076         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2077         unintern is unbound.
2078
2079 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2080
2081         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2082         Protect from infinite loop.
2083
2084 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2085
2086         * elsp-bogofilter.el
2087         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2088         (elmo-spam-bogofilter-register-messages): New internal function.
2089         (elmo-spam-register-spam-messages): Define.
2090         (elmo-spam-register-good-messages): Ditto.
2091
2092 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2093
2094         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2095         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2096         (elmo-spam-bogofilter-call): Fixed the last change.
2097         (elmo-spam-bogofilter-arguments): Ditto.
2098
2099         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2100         Follow the options change of latest bogofilter.
2101
2102         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2103         (elmo-spam-bogofilter-good-switch): Ditto.
2104         (elmo-spam-bogofilter-arguments-alist): New user option.
2105         (elmo-spam-bogofilter-debug): Ditto.
2106         (elmo-spam-bogofilter-call): Renamed from
2107         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2108         is non-nil, insert output in buffer for debug.
2109         (elmo-spam-bogofilter-arguments): New macro.
2110         (elmo-spam-buffer-spam-p): Use it.
2111         (elsp-bogofilter-register-buffer): Ditto.
2112
2113 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2114
2115         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2116         regexp.
2117
2118 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2119
2120         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2121         value as "ruby".
2122         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2123         (elmo-spam-bsfilter-program): Set default value as full path for
2124         `bsfilter'.
2125         (elmo-spam-bsfilter-debug): New user option.
2126         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2127         non-nil, insert output in buffer for debug. Fix treating of
2128         argument.
2129
2130 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2131
2132         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2133         `elmo-maildir-flag-specs' element instead of one.
2134         (elmo-map-folder-unset-flag): Ditto.
2135         (Reported by Ken Makimura <macky@astem.or.jp>)
2136
2137         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2138         (elmo-folder-unset-flag-plugged): Ditto.
2139
2140 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2141
2142         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2143         to `reads' slot only if `in-msgdb' is nil.
2144
2145 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2146
2147         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2148         and complement argument list.
2149
2150 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2151
2152         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2153         instead of elmo-folder-list-flagged.
2154
2155 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2156
2157         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2158
2159         * elsp-bsfilter.el: New file.
2160
2161         * elmo-pipe.el (elmo-folder-list-unreads,
2162         elmo-folder-list-answereds,
2163         elmo-folder-list-importants,
2164         elmo-folder-flag-as-important,
2165         elmo-folder-unflag-important,
2166         elmo-folder-flag-as-read,
2167         elmo-folder-unflag-read,
2168         elmo-folder-flag-as-answered,
2169         elmo-folder-unflag-answered): Remove.
2170         (elmo-folder-set-flag): Define.
2171         (elmo-folder-unset-flag): Ditto.
2172
2173         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2174         (elmo-folder-set-flag): Define.
2175         (elmo-folder-unset-flag): Ditto.
2176         (elmo-folder-list-unreads): Remove.
2177         (elmo-folder-list-flagged): Define.
2178
2179         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2180         (elmo-folder-list-unreads,
2181         elmo-folder-list-importants,
2182         elmo-folder-list-answereds,
2183         elmo-folder-list-unreads-plugged,
2184         elmo-folder-list-importants-plugged,
2185         elmo-folder-list-answereds-plugged): Remove.
2186         (elmo-folder-list-flagged-plugged): New method.
2187         (elmo-folder-unflag-important,
2188         elmo-folder-flag-as-important,
2189         elmo-folder-unflag-read,
2190         elmo-folder-flag-as-read,
2191         elmo-folder-unflag-answered,
2192         elmo-folder-flag-as-answered,
2193         elmo-folder-flag-as-read-unplugged,
2194         elmo-folder-unflag-read-unplugged,
2195         elmo-folder-flag-as-important-unplugged,
2196         elmo-folder-unflag-important-unplugged,
2197         elmo-folder-flag-as-answered-unplugged,
2198         elmo-folder-unflag-answered-unplugged): Remove.
2199         (elmo-folder-set-flag): Define.
2200         (elmo-folder-unset-flag): Ditto.
2201         (elmo-folder-set-flag-unplugged): Ditto.
2202         (elmo-folder-unset-flag-unplugged): Ditto.
2203
2204         * elmo-multi.el (elmo-folder-list-unreads,
2205         elmo-folder-list-answereds,
2206         elmo-folder-list-importants,
2207         elmo-folder-flag-as-important,
2208         elmo-folder-unflag-important,
2209         elmo-folder-flag-as-read,
2210         elmo-folder-unflag-read,
2211         elmo-folder-flag-as-answered,
2212         elmo-folder-unflag-answered): Remove.
2213         (elmo-folder-set-flag): Define.
2214         (elmo-folder-unset-flag): Ditto.
2215
2216         * elmo-map.el (elmo-map-folder-unflag-important,
2217         elmo-map-folder-flag-as-important,
2218         elmo-map-folder-unflag-read,
2219         elmo-map-folder-flag-as-read,
2220         elmo-map-folder-unflag-answered,
2221         elmo-map-folder-flag-as-answered): Remove.
2222         (elmo-map-folder-set-flag): New method.
2223         (elmo-map-folder-unset-flag): Ditto.
2224         (elmo-map-folder-list-unreads,
2225         elmo-map-folder-list-importants,
2226         elmo-map-folder-list-answereds): Remove.
2227         (elmo-folder-list-flagged-internal): Define.
2228         (elmo-map-folder-list-flagged): New method.
2229
2230         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2231         (elmo-map-folder-list-unreads,
2232         elmo-map-folder-list-importants,
2233         elmo-map-folder-list-flagged): Remove.
2234         (elmo-map-folder-list-flagged): Define.
2235         (elmo-map-folder-flag-as-important,
2236         elmo-map-folder-unflag-important,
2237         elmo-map-folder-flag-as-read,
2238         elmo-map-folder-unflag-read,
2239         elmo-map-folder-flag-as-answered,
2240         elmo-map-folder-unflag-answered): Remove.
2241         (elmo-maildir-set-mark-messages): New internal function.
2242         (elmo-map-folder-set-flag): Define.
2243         (elmo-map-folder-unset-flag): Ditto.
2244
2245         * elmo.el (toplevel): Added autoload setting for
2246         `elmo-folder-list-global-flag-messages'.
2247         (elmo-folder-list-unreads,
2248         elmo-folder-list-importants,
2249         elmo-folder-list-answereds): Remove.
2250         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2251         Return a list whitch merged with messages have global flag.
2252         (elmo-folder-list-flagged-internal): New method.
2253         (elmo-folder-unflag-important,
2254         elmo-folder-flag-as-important,
2255         elmo-folder-unflag-read,
2256         elmo-folder-flag-as-read,
2257         elmo-folder-unflag-answered,
2258         elmo-folder-flag-as-answered): Remove.
2259         (elmo-folder-set-flag): New method.
2260         (elmo-folder-unset-flag): Ditto.
2261         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2262         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2263
2264         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2265         (elmo-folder-list-unreads-plugged,
2266         elmo-folder-list-importants-plugged,
2267         elmo-folder-list-answereds-plugged,
2268         elmo-folder-list-flagged-unplugged,
2269         elmo-folder-unflag-important-plugged,
2270         elmo-folder-flag-as-important-plugged,
2271         elmo-folder-unflag-read-plugged,
2272         elmo-folder-flag-as-read-plugged,
2273         elmo-folder-unflag-answered-plugged,
2274         elmo-folder-flag-as-answered-plugged): Remove.
2275         (elmo-folder-set-flag-plugged,
2276         elmo-folder-unset-flag-plugged): Define.
2277
2278         * elmo-flag.el (elmo-folder-initialize): Register to
2279         `elmo-global-flag-list' if flag is not global.
2280         (elmo-folder-append-messages): Set flag to source messages.
2281
2282         * elmo-filter.el (elmo-filter-folder-list-unreads,
2283         elmo-folder-list-unreads,
2284         elmo-filter-folder-list-importants,
2285         elmo-folder-list-importants,
2286         elmo-folder-flag-as-read,
2287         elmo-folder-unflag-read,
2288         elmo-folder-flag-as-important,
2289         elmo-folder-unflag-important,
2290         elmo-folder-flag-as-answered,
2291         elmo-folder-unflag-answered): Remove.
2292         (elmo-folder-set-flag): Define.
2293         (elmo-folder-unset-flag): Ditto.
2294
2295         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2296         elmo-folder-unflag-read-dop,
2297         elmo-folder-flag-as-important-dop,
2298         elmo-folder-unflag-important-dop,
2299         elmo-folder-flag-as-answered-dop,
2300         elmo-folder-unflag-answered-dop): Remove.
2301         (elmo-folder-set-flag-dop,
2302         elmo-folder-unset-flag-dop,
2303         elmo-folder-set-important-delayed,
2304         elmo-folder-unset-important-delayed,
2305         elmo-folder-set-read-delayed,
2306         elmo-folder-unset-read-delayed,
2307         elmo-folder-set-answered-delayed,
2308         elmo-folder-unset-answered-delayed): New function.
2309         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2310         (elmo-dop-queue-method-name-alist): Ditto.
2311
2312         * elmo-version.el (elmo-version): Up to 2.11.23.
2313
2314 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2315
2316         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2317
2318         * elsp-sa.el: New file.
2319
2320 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2321
2322         * modb-standard.el (modb-standard-message-entity): New function.
2323         (elmo-msgdb-message-entity): Use it.
2324
2325 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2326
2327         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2328         behavior when one-level is nil.
2329
2330         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2331
2332         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2333
2334 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2335
2336         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2337         get max number.
2338         (elmo-generic-folder-diff): Ditto.
2339
2340         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2341         (elmo-folder-update-number): Ditto.
2342
2343         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2344         (elmo-folder-next-message-number-dop): Ditto.
2345
2346 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2347
2348         * elmo-filter.el (elmo-folder-msgdb-create): Use
2349         `elmo-message-entity' and `elmo-message-flags' instead of
2350         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2351
2352 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2353
2354         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2355         `if-exists'.
2356
2357 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2358
2359         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2360
2361         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2362
2363         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2364
2365 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2366
2367         * elmo-version.el (elmo-version): Up to 2.11.22.
2368
2369 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2370
2371         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2372
2373 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2374
2375         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2376         if the message dose not exist.
2377
2378 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2379
2380         * elmo-version.el (elmo-version): Up to 2.11.21.
2381
2382 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2383
2384         * modb-standard.el (toplevel): Don't require mime.
2385
2386 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2387
2388         * elsp-bogofilter.el (toplevel): Don't require path-util.
2389         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2390         (elmo-spam-bogofilter-header): Abolish.
2391         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2392         (elmo-spam-bogofilter-args): New user option.
2393         (elsp-bogofilter-call-bogofilter): New internal function.
2394         (elmo-spam-buffer-spam-p): Use it.
2395         (elsp-bogofilter-register-buffer): Renamed from
2396         `elmo-spam-bogofilter-register-buffer';
2397         Use `elsp-bogofilter-call-bogofilter'.
2398         (elmo-spam-register-spam-buffer): Follow the change above.
2399         (elmo-spam-register-good-buffer): Ditto.
2400
2401 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2402
2403         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2404         message-id is nil do nothing.
2405
2406 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2407
2408         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2409         Revival.
2410         (elmo-imap4-session): Removed use-flag slot.
2411         (elmo-imap4-session-select-mailbox): Undo last change.
2412         (elmo-folder-use-flag-p): Use
2413         elmo-imap4-disuse-server-flag-mailbox-regexp.
2414
2415 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2416
2417         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2418         (elmo-imap4-session-select-mailbox): Set it up.
2419         (elmo-folder-use-flag-p): Return value of use-flag slot.
2420
2421 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2422
2423         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2424         message-id is nil.
2425         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2426
2427         * modb-entity.el (elmo-message-entity-handler): Likewise.
2428
2429 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2430
2431         * elmo.el (toplevel): Remove setting of autoloding for
2432         elmo-global-flag-initialize.
2433         (elmo-init): Don't call elmo-global-flag-initialize.
2434         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2435
2436         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2437         (elmo-global-mark-migrate): Don't call it.
2438         (elmo-global-mark-upgrade): Ditto.
2439
2440 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2441
2442         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2443         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2444
2445         * elmo-vars.el (elmo-init-hook): New user option.
2446
2447         * elmo.el (elmo-init): Run the elmo-init-hook.
2448
2449         * elmo-flag.el (elmo-global-mark-migrate): New function.
2450
2451 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2452
2453         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2454         Undo last change (move to elmo-msgdb-unset-flag).
2455         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2456         flag is unset.
2457
2458 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2459
2460         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2461         read flag is set.
2462         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2463         (elmo-msgdb-unset-flag): Ditto.
2464
2465 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2466
2467         * elmo-split.el (elmo-split): Return split message count.
2468
2469 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2470
2471         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2472         is nil.
2473
2474 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2475
2476         * elmo.el (elmo-folder-unflag-important): Call
2477         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2478         a symbol `always'.
2479
2480         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2481         before unset flag.
2482         (elmo-global-flag-detach): Delete the message from flag folder, if
2483         `delete-if-none' is a symbol `always'.
2484
2485 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2486
2487         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2488         `elmo-spam-spamfilter-decode-buffer'.
2489         (elsp-spamfilter-register-buffer-internal): New internal function.
2490         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2491         (elmo-spam-register-spam-buffer): Ditto.
2492         (elmo-spam-register-good-buffer): Ditto.
2493
2494         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2495         change.
2496         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2497         (elmo-spam-register-spam-buffer): Follow the API change.
2498         (elmo-spam-register-good-buffer): Ditto.
2499
2500         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2501         (elmo-split-spam-p): Added argument plist; Call
2502         `elmo-spam-buffer-spam-p' with new argument register.
2503
2504         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2505         `register'.
2506         (elmo-spam-message-spam-p): Ditto.
2507         (elmo-spam-register-spam-buffer): Added optional argument
2508         `restore'.
2509         (elmo-spam-register-good-buffer): Ditto.
2510         (elmo-spam-register-spam-messages): Ditto.
2511         (elmo-spam-register-good-messages): Ditto.
2512
2513 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2514
2515         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2516         register into good corpus.
2517         (elmo-spam-register-good-buffer): Fixed to register into bad
2518         corpus.
2519
2520 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2521
2522         * elmo-version.el (elmo-version): Up to 2.11.20.
2523
2524         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2525         change.
2526
2527         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2528         flag without depending on \Recent flag.
2529
2530 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2531
2532         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2533         (elmo-spam-modified-p): Defined.
2534         (elmo-spam-save-status): Set `modified' slot to nil.
2535         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2536         (elmo-spam-register-good-buffer): Ditto.
2537
2538         * elmo-spam.el (elmo-spam-modified-p): New API.
2539
2540 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2541
2542         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2543         duplicate definition.
2544
2545         * elmo-util.el (elmo-unfold-field-body): New function.
2546         (elmo-msgdb-get-message-id-from-buffer): Use it.
2547
2548         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2549         Fixed the last change; Use elmo-unfold-field-body.
2550
2551 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2552
2553         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2554         Unfold date value.
2555
2556 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2557
2558         * elmo-spam.el (elmo-spam-save-status): New API.
2559
2560         * elsp-spamfilter.el: New file.
2561
2562 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2563
2564         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2565
2566 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2567
2568         * elmo-split.el (elmo-split-spam-p): New function.
2569
2570         * elmo-spam.el: New file.
2571
2572         * elsp-bogofilter.el: Ditto.
2573
2574 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2575
2576         * elmo.el (elmo-folder-next-message-number): New API.
2577         (elmo-folder-next-message-number): Define.
2578         (elmo-message-field): Don't check folder length.
2579
2580         * elmo-net.el (elmo-folder-next-message-number): Define.
2581         (elmo-folder-next-message-number-unplugged): Define.
2582
2583         * elmo-map.el (elmo-folder-next-message-number): Define.
2584         (elmo-folder-delete-messages): Clear hash value.
2585
2586         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2587
2588         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2589         (elmo-folder-delete-messages-dop-delayed): Always return t.
2590
2591         * elmo-version.el (elmo-version): Up to 2.11.19.
2592
2593 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2594
2595         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2596         change.
2597
2598         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2599         identical cons cell into the mark-alist and the hash table.
2600
2601 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2602
2603         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2604         elmo-folder-list-messages with argument `visible-only' as t.
2605
2606         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2607         (elmo-folder-msgdb-create): Check the target folder.
2608
2609 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2610
2611         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2612         `permanentflag' instead of `flags'.
2613         (elmo-folder-open): Ditto.
2614         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2615         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2616         (elmo-folder-use-flag-p): Always return t.
2617         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2618         `permanentflags' does not exist.
2619         (elmo-folder-open): Ditto.
2620
2621 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2622
2623         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2624         is nil.
2625         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2626
2627         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2628         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2629         response.
2630         (elmo-folder-open): Ditto.
2631         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2632         slot of the session includes the flag.
2633         (elmo-imap4-session-flag-available-p): New function.
2634         (elmo-imap4-folder-list-flagged): Ditto.
2635         (elmo-folder-list-unreads-plugged): Use it.
2636         (elmo-folder-list-importants-plugged): Ditto.
2637         (elmo-folder-list-answereds-plugged): Ditto.
2638         (elmo-imap4-search-internal-primitive): Ditto.
2639         (elmo-imap4-folder-list-any-plugged,
2640         elmo-imap4-folder-list-digest-plugged): Abolish.
2641
2642         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2643         if numbers is nil.
2644
2645 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2646
2647         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2648
2649 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2650
2651         * elmo-util.el (elmo-get-hash-val): Simplify.
2652         (elmo-set-hash-val): Rewrite.
2653
2654 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2655
2656         * elmo.el (elmo-folder-list-messages): Append killed messages into
2657         result if `visible-only' is nil and `in-msgdb' is non-nil.
2658
2659         * elmo-util.el (elmo-uniq-list): Added optional argument
2660         `delete-function'.
2661
2662         * modb.el (elmo-msgdb-flag-count): New API.
2663
2664         * modb-standard.el (modb-standard): Added slot flag-count.
2665         (modb-standard-countup-flags): New function.
2666         (modb-standard-load-flag): Call it.
2667         (elmo-msgdb-append): Ditto.
2668         (elmo-msgdb-clear): Clear slot flag-count.
2669         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2670         (elmo-msgdb-unset-flag): Treat `all' flag and call
2671         modb-standard-countup-flags.
2672         (elmo-msgdb-flag-count): Define.
2673         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2674         (elmo-msgdb-delete-messages): Ditto.
2675
2676         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2677         (elmo-msgdb-flag-count): Define.
2678
2679         * elmo.el (elmo-folder-list-messages): Undo last change.
2680         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2681         (elmo-folder-kill-messages): Unset all flags to numbers.
2682
2683         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2684         elmo-folder-kill-messages.
2685
2686         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2687         (elmo-nntp-folder-delete-messages): Abolish.
2688
2689         * elmo-version.el (elmo-version): Up to 2.11.18.
2690
2691 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2692
2693         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2694         (elmo-folder-kill-messages-range): New function.
2695         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2696         instead of elmo-folder-kill-messages-before.
2697
2698 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2699
2700         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2701         elmo-imap4-current-msgdb to decide entity handler.
2702
2703 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2704
2705         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2706
2707         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2708         inline function.
2709         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2710         (elmo-msgdb-overview-entity-set-number,
2711         elmo-msgdb-overview-entity-get-references,
2712         elmo-msgdb-overview-entity-set-references,
2713         elmo-msgdb-overview-entity-get-from-no-decode,
2714         elmo-msgdb-overview-entity-get-from,
2715         elmo-msgdb-overview-entity-set-from,
2716         elmo-msgdb-overview-entity-get-subject,
2717         elmo-msgdb-overview-entity-get-subject-no-decode,
2718         elmo-msgdb-overview-entity-set-subject,
2719         elmo-msgdb-overview-entity-get-date,
2720         elmo-msgdb-overview-entity-set-date,
2721         elmo-msgdb-overview-entity-get-to,
2722         elmo-msgdb-overview-entity-get-cc,
2723         elmo-msgdb-overview-entity-get-size,
2724         elmo-msgdb-overview-entity-set-size,
2725         elmo-msgdb-overview-entity-get-extra,
2726         elmo-msgdb-overview-entity-set-extra,
2727         elmo-msgdb-overview-entity-get-extra-field,
2728         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2729         (elmo-msgdb-make-index): Use
2730         `elmo-msgdb-overview-entity-get-number-internal'.
2731         (elmo-msgdb-clear-index): Ditto.
2732         (elmo-msgdb-append-entity): Ditto;
2733         Use `elmo-msgdb-overview-entity-get-id-internal'.
2734
2735         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2736         elmo-msgdb-overview-entity-set-number,
2737         elmo-msgdb-overview-entity-get-references,
2738         elmo-msgdb-overview-entity-set-references,
2739         elmo-msgdb-overview-entity-get-from-no-decode,
2740         elmo-msgdb-overview-entity-get-from,
2741         elmo-msgdb-overview-entity-set-from,
2742         elmo-msgdb-overview-entity-get-subject,
2743         elmo-msgdb-overview-entity-get-subject-no-decode,
2744         elmo-msgdb-overview-entity-set-subject,
2745         elmo-msgdb-overview-entity-get-date,
2746         elmo-msgdb-overview-entity-set-date,
2747         elmo-msgdb-overview-entity-get-to,
2748         elmo-msgdb-overview-entity-get-cc,
2749         elmo-msgdb-overview-entity-get-size,
2750         elmo-msgdb-overview-entity-set-size,
2751         elmo-msgdb-overview-entity-get-extra,
2752         elmo-msgdb-overview-entity-set-extra,
2753         elmo-msgdb-overview-entity-get-extra-field,
2754         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2755         and rewrote for backward compatibility.
2756
2757 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2758
2759         * elmo.el (elmo-message-entity-number,
2760         elmo-message-entity-set-number,
2761         elmo-message-entity-field,
2762         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2763
2764         * elmo-msgdb.el (elmo-message-entity-number,
2765         elmo-message-entity-set-number,
2766         elmo-message-entity-field,
2767         elmo-message-entity-set-field): Moved from elmo.el.
2768
2769 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2770
2771         * elmo.el (toplevel): Changed definition orders.
2772
2773 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2774
2775         * modb.el (elmo-msgdb-search): New API .
2776         (elmo-msgdb-match-condition): Ditto.
2777
2778         * modb-standard.el (elmo-msgdb-search): Define.
2779
2780         * modb-legacy.el (elmo-msgdb-search): Ditto.
2781
2782         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2783         from elmo-msgdb-match-condition-internal.
2784
2785         * elmo.el (elmo-folder-search-fast): Abolish.
2786         (elmo-folder-search): Use elmo-msgdb-search and
2787         elmo-with-progress-display.
2788
2789         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2790         as msgdb API.
2791
2792         * elmo.el (elmo-folder): Remove slot message-modified and
2793         flag-modified.
2794         (elmo-folder-set-message-modified): Abolish.
2795         (elmo-generic-folder-commit): Follow the change above.
2796         (elmo-folder-synchronize): Ditto.
2797
2798         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2799
2800         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2801
2802         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2803
2804 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2805
2806         * modb-standard.el (modb-standard-make-message-entity,
2807         elmo-msgdb-make-message-entity,
2808         elmo-msgdb-create-message-entity-from-buffer,
2809         elmo-msgdb-message-entity-number,
2810         elmo-msgdb-message-entity-set-number,
2811         elmo-msgdb-message-entity-field,
2812         elmo-msgdb-message-entity-set-field,
2813         elmo-msgdb-copy-message-entity,
2814         elmo-msgdb-match-condition-internal): Remove.
2815
2816         * modb-entity.el: New file (again).
2817
2818         * modb.el (toplevel): Require modb-entity.
2819         (elmo-msgdb-message-entity-handler): New method.
2820
2821         * modb-standard.el (modb-standard-entity-id): Use
2822         elmo-message-entity-handler.
2823         (modb-standard-load-entity): Ditto.
2824         (elmo-msgdb-append-entity): Ditto.
2825         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2826
2827         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2828         elmo-msgdb-decoded-cache-hashtb,
2829         (modb-legacy-make-message-entity,
2830         elmo-msgdb-make-message-entity,
2831         elmo-msgdb-create-message-entity-from-buffer,
2832         elmo-msgdb-message-entity-number,
2833         elmo-msgdb-message-entity-set-number,
2834         elmo-msgdb-message-entity-field,
2835         elmo-msgdb-message-entity-set-field,
2836         elmo-msgdb-copy-message-entity,
2837         elmo-msgdb-match-condition-internal,
2838         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2839
2840         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2841         (elmo-message-entity-set-number): Ditto.
2842         (elmo-message-entity-field): Ditto.
2843         (elmo-message-entity-set-field): Ditto.
2844
2845         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2846
2847         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2848
2849         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2850
2851         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2852         (elmo-nntp-msgdb-create-message): Ditto.
2853
2854         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2855         (elmo-folder-msgdb-create): Add unread flag.
2856
2857         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2858
2859         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2860
2861         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2862
2863         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2864
2865         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2866         elmo-msgdb-messge-entity-handler.
2867         * elmo-version.el (elmo-version): Up to 2.11.17.
2868
2869 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2870
2871         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2872         change.
2873
2874 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2875
2876         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2877
2878         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2879         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2880         (elmo-msgdb-flag-table): Ditto.
2881         (elmo-msgdb-sort-by-date): Ditto.
2882
2883         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2884
2885         * modb-standard.el (toplevel): Require mime.
2886         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2887         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2888         elmo-msgdb-message-entity-number.
2889         (elmo-msgdb-append-entity): Ditto.
2890         (elmo-msgdb-create-message-entity-from-file): Remove.
2891         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2892         corresponds to the entity.
2893         (elmo-msgdb-message-entity-number): Do nothing currently.
2894         (elmo-msgdb-message-entity-field): Ditto.
2895         (elmo-msgdb-message-entity-set-field): Ditto.
2896         (elmo-msgdb-copy-message-entity): Ditto.
2897         (elmo-msgdb-match-condition-internal): Ditto.
2898
2899         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2900         elmo-util.el.
2901         (elmo-msgdb-create-message-entity-from-file): Remove.
2902
2903         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2904         modb-legacy.el.
2905         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2906
2907         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2908
2909 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2910
2911         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2912         (elmo-msgdb-message-entity-field): Ditto.
2913         (elmo-msgdb-message-entity-number): Ditto.
2914
2915 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2916
2917         * modb-standard.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         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2923         Fixed how to set extra field into entity.
2924         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2925         symbol.
2926
2927 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2928
2929         * modb.el (elmo-message-entity-db): New function.
2930         (elmo-msgdb-make-message-entity): New API.
2931         (elmo-msgdb-message-entity-number): Ditto.
2932         (elmo-msgdb-message-entity-set-number): Ditto.
2933         (elmo-msgdb-message-entity-field): Ditto.
2934         (elmo-msgdb-message-entity-set-field): Ditto.
2935         (elmo-msgdb-copy-message-entity): Ditto.
2936         (elmo-msgdb-create-message-entity-from-file): Ditto.
2937         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2938         (elmo-msgdb-match-condition-internal): Ditto.
2939
2940         * modb-standard.el (modb-legacy): Require modb-legacy.
2941         (modb-standard-make-message-entity): New inline function.
2942         (elmo-msgdb-make-message-entity): Define.
2943         (elmo-msgdb-create-message-entity-from-file): Ditto.
2944         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2945         (elmo-msgdb-message-entity-field): Ditto.
2946         (elmo-msgdb-message-entity-set-field): Ditto.
2947         (elmo-msgdb-copy-message-entity): Ditto.
2948         (elmo-msgdb-match-condition-internal): Ditto.
2949
2950         * modb-legacy.el: Don't require modb-entity.
2951         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2952         (elmo-msgdb-match-condition-primitive): Ditto.
2953         (elmo-msgdb-get-decoded-cache): Ditto.
2954         (elmo-msgdb-overview-entity-get-id): Ditto.
2955         (elmo-msgdb-overview-entity-get-number): Ditto.
2956         (elmo-msgdb-overview-entity-set-number): Ditto.
2957         (elmo-msgdb-overview-entity-get-references): Ditto.
2958         (elmo-msgdb-overview-entity-set-references): Ditto.
2959         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2960         (elmo-msgdb-overview-entity-get-from): Ditto.
2961         (elmo-msgdb-overview-entity-set-from): Ditto.
2962         (elmo-msgdb-overview-entity-get-subject): Ditto.
2963         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2964         (elmo-msgdb-overview-entity-set-subject): Ditto.
2965         (elmo-msgdb-overview-entity-get-date): Ditto.
2966         (elmo-msgdb-overview-entity-set-date): Ditto.
2967         (elmo-msgdb-overview-entity-get-to): Ditto.
2968         (elmo-msgdb-overview-entity-get-cc): Ditto.
2969         (elmo-msgdb-overview-entity-get-size): Ditto.
2970         (elmo-msgdb-overview-entity-set-size): Ditto.
2971         (elmo-msgdb-overview-entity-get-extra): Ditto.
2972         (elmo-msgdb-overview-entity-set-extra): Ditto.
2973         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2974         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2975         (elmo-msgdb-number-load): Ditto.
2976         (elmo-msgdb-overview-load): Ditto.
2977         (elmo-msgdb-mark-load): Ditto.
2978         (elmo-msgdb-number-save): Ditto.
2979         (elmo-msgdb-mark-save): Ditto.
2980         (elmo-msgdb-overview-save): Ditto.
2981         (modb-legacy-make-message-entity): New inline function.
2982         (elmo-msgdb-insert-file-header): Ditto.
2983         (elmo-msgdb-make-message-entity): Define.
2984         (elmo-msgdb-create-message-entity-from-file): Ditto.
2985         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2986         (elmo-msgdb-message-entity-number): Ditto.
2987         (elmo-msgdb-message-entity-set-number): Ditto.
2988         (elmo-msgdb-message-entity-field): Ditto.
2989         (elmo-msgdb-message-entity-set-field): Ditto.
2990         (elmo-msgdb-copy-message-entity): Ditto.
2991         (elmo-msgdb-match-condition-internal): Ditto.
2992
2993         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2994         (elmo-message-copy-entity): Rewrite.
2995         (elmo-message-entity-number): Ditto.
2996         (elmo-message-entity-set-number): Ditto.
2997         (elmo-message-entity-field): Use elmo-message-entity-db.
2998         (elmo-message-entity-set-field): Ditto.
2999         (elmo-message-field): Rewrite.
3000
3001         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3002         elmo-msgdb.el
3003         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3004
3005         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3006         elmo-message-entity-field.
3007         (elmo-shimbun-folder-shimbun-header): Ditto.
3008         (elmo-shimbun-entity-to-header): Ditto.
3009         (elmo-folder-msgdb-create): Ditto.
3010         (elmo-shimbun-msgdb-create-entity): Ditto;
3011         Use elmo-msgdb-create-message-entity-from-buffer.
3012         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3013         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3014
3015         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3016         elmo-msgdb-create-message-entity-from-file and 
3017         elmo-message-entity-field.
3018
3019         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3020         elmo-message-entity-number.
3021         (elmo-pop3-msgdb-create-message): Use
3022         elmo-msgdb-create-message-entity-from-buffer,
3023         elmo-message-entity-set-field, elmo-message-entity-number and
3024         elmo-message-entity-set-number.
3025
3026         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3027         the API change in elmo-msgdb-make-message-entity.
3028         (elmo-nntp-msgdb-create-message): Use
3029         elmo-msgdb-create-message-entity-from-buffer.
3030
3031         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3032         elmo-message-entity-field and
3033         elmo-msgdb-create-message-entity-from-file.
3034
3035         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3036         (elmo-msgdb-get-field): Abolish.
3037         (elmo-msgdb-get-number): Rewrite.
3038         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3039         (elmo-msgdb-flag-table): Ditto.
3040         (elmo-msgdb-get-last-message-id,
3041         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3042         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3043         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3044         (elmo-msgdb-create-overview-from-buffer,
3045         elmo-msgdb-overview-get-parent-entity): Abolish.
3046
3047         * elmo-mime.el (elmo-mime-display-as-is): Use
3048         elmo-message-entity-field.
3049
3050         * elmo-map.el (elmo-folder-pack-numbers): Use
3051         elmo-message-entity-set-number.
3052
3053         * elmo-maildir.el (elmo-folder-msgdb-create): 
3054         elmo-msgdb-create-message-entity-from-file instead of
3055         elmo-msgdb-create-overview-entity-from-file.
3056
3057         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3058         msgdb.
3059         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3060         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3061
3062         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3063         elmo-messge-entity-field and elmo-message-entity-number.
3064         (elmo-imap4-fetch-callback-1): Call
3065         elmo-msgdb-create-message-entity-from-buffer instead of
3066         elmo-msgdb-create-overview-from-buffer. 
3067         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3068         (elmo-find-fetch-strategy): Likewise.
3069
3070         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3071         elmo-localdir-msgdb-create-entity with argument msgdb.
3072
3073         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3074         and elmo-message-entity-set-number.
3075
3076         * elmo-cache.el (elmo-folder-msgdb-create): Use
3077         elmo-message-entity-field.
3078         (elmo-folder-msgdb-create): Call
3079         elmo-msgdb-create-message-entity-from-file instead of
3080         elmo-msgdb-create-overview-entity-from-file.
3081
3082         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3083         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3084         instead of elmo-msgdb-create-overview-from-buffer.
3085         (elmo-archive-msgdb-create-entity): Ditto.
3086         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3087         elmo-message-entity-field.
3088         (elmo-archive-parse-mmdf): Ditto.
3089
3090         * modb-entity.el: Removed.
3091
3092         * elmo-version.el (elmo-version): Up to 2.11.16.
3093
3094 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3095
3096         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3097         `is-local'.
3098         (elmo-folder-flag-as-answered): Ditto.
3099
3100 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3101
3102         * modb-standard.el: New file.
3103
3104         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3105         elmo-msgdb-convert-type is `sync'.
3106
3107         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3108         (elmo-msgdb-convert-type): New user option.
3109
3110         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3111         (elmo-load-msgdb): Auto detect saved type.
3112
3113         * elmo-version.el (elmo-version): Up to 2.11.15.
3114
3115 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3116
3117         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3118
3119         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3120         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3121         with argument `delete-if-none' when dst-folder is 'null.
3122
3123         * elmo-flag.el (elmo-folder-append-messages): Defined.
3124         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3125
3126 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3127
3128         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3129
3130 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3131
3132         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3133         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3134         (elmo-folder-commit): Ditto.
3135
3136 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3137
3138         * elmo-flag.el: New file.
3139
3140         * elmo-mark.el: Removed.
3141
3142         * modb-legacy.el (modb-legacy-new-mark,
3143         modb-legacy-unread-uncached-mark,
3144         modb-legacy-unread-cached-mark,
3145         modb-legacy-read-uncached-mark,
3146         modb-legacy-answered-cached-mark,
3147         modb-legacy-answered-uncached-mark,
3148         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3149         All other related portions are changed.
3150
3151         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3152         (elmo-folder-list-messages-with-global-mark): Abolish.
3153         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3154         (elmo-folder-flag-as-important): Ditto.
3155         (elmo-folder-unflag-read): Ditto.
3156         (elmo-folder-flag-as-read): Ditto.
3157         (elmo-folder-unflag-answered): Ditto.
3158         (elmo-folder-flag-as-answered): Ditto.
3159         (elmo-message-encache): Return the cache path.
3160         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3161         (elmo-message-set-flag): Transitional implementation.
3162         (elmo-message-unset-flag): Ditto.
3163         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3164         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3165         (elmo-init): Call elmo-global-flag-initialize.
3166         (toplevel): Added autoload settings for elmo-flag.
3167
3168         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3169
3170         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3171         (elmo-file-cache-delete): Don't treat global-mark.
3172
3173         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3174
3175         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3176
3177         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3178         `elmo-global-flags-set'.
3179
3180         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3181         `flag'.
3182         (elmo-folder-unflag-read): Ditto.
3183         (elmo-folder-unflag-important): Ditto.
3184         (elmo-folder-flag-as-important): Ditto.
3185         (elmo-folder-unflag-answered): Ditto.
3186         (elmo-folder-flag-as-answered): Ditto.
3187
3188         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3189         `elmo-global-flags-set'.
3190         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3191
3192         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3193
3194         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3195         `flag'.
3196         (elmo-folder-flag-as-important): Ditto.
3197         (elmo-folder-unflag-important): Ditto.
3198         (elmo-folder-flag-as-important): Ditto.
3199         (elmo-folder-unflag-read): Ditto.
3200         (elmo-folder-flag-as-read): Ditto.
3201         (elmo-folder-unflag-answered): Ditto.
3202         (elmo-folder-flag-as-answered): Ditto.
3203
3204         * elmo-multi.el (elmo-folder-list-importants): Don't call
3205         elmo-folder-list-messages-with-global-mark.
3206         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3207         (elmo-folder-unflag-important): Ditto.
3208         (elmo-folder-flag-as-read): Ditto.
3209         (elmo-folder-unflag-read): Ditto.
3210         (elmo-folder-flag-as-answered): Ditto.
3211         (elmo-folder-unflag-answered): Ditto.
3212
3213         * elmo-msgdb.el (elmo-msgdb-new-mark,
3214         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3215         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3216         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3217         (Moved to modb-legacy.el).
3218         (elmo-flag-table-get): Treat important flag too.
3219
3220         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3221         `mark' to `flag'.
3222         (elmo-map-folder-flag-as-important): Ditto.
3223         (elmo-map-folder-unflag-read): Ditto.
3224         (elmo-map-folder-flag-as-read): Ditto.
3225         (elmo-map-folder-unflag-answered): Ditto.
3226         (elmo-map-folder-flag-as-answered): Ditto.
3227         (elmo-folder-unflag-important): Ditto.
3228         (elmo-folder-flag-as-important): Ditto.
3229         (elmo-folder-unflag-read): Ditto.
3230         (elmo-folder-flag-as-read): Ditto.
3231         (elmo-folder-unflag-answered): Ditto.
3232         (elmo-folder-flag-as-answered): Ditto.
3233
3234         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3235         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3236         `flag'.
3237         (elmo-map-folder-unflag-important): Ditto.
3238         (elmo-map-folder-flag-as-read): Ditto.
3239         (elmo-map-folder-unflag-read): Ditto.
3240         (elmo-map-folder-flag-as-answered): Ditto.
3241         (elmo-map-folder-unflag-answered): Ditto.
3242
3243         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3244         `elmo-global-flags-set'.
3245         (elmo-global-flags-set): Added autoload setting.
3246
3247         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3248         `flag'.
3249
3250         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3251         `elmo-msgdb-global-mark-set'.
3252         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3253         Call `elmo-global-flags-set'.
3254         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3255         `flag'.
3256         (elmo-folder-flag-as-important-plugged): Ditto.
3257         (elmo-folder-unflag-read-plugged): Ditto.
3258         (elmo-folder-flag-as-read-plugged): Ditto.
3259         (elmo-folder-unflag-answered-plugged): Ditto.
3260         (elmo-folder-flag-as-answered-plugged): Ditto.
3261         (elmo-global-flags-set): Added autoload setting.
3262
3263         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3264         `flag'.
3265         (elmo-folder-unflag-read): Ditto.
3266         (elmo-folder-flag-as-important): Ditto.
3267         (elmo-folder-unflag-important): Ditto.
3268         (elmo-folder-flag-as-answered): Ditto.
3269         (elmo-folder-unflag-answered): Ditto.
3270
3271         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3272         change of `mark'->`flag'.
3273         (elmo-dop-queue-method-name-alist): Ditto.
3274         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3275         (elmo-folder-unflag-read-dop): Ditto.
3276         (elmo-folder-flag-as-important-dop): Ditto.
3277         (elmo-folder-unflag-important-dop): Ditto.
3278         (elmo-folder-flag-as-answered-dop): Ditto.
3279         (elmo-folder-unflag-answered-dop): Ditto.
3280
3281         * elmo-cache.el (elmo-folder-msgdb-create): Call
3282         `elmo-global-flags-set'.
3283
3284         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3285         Call `elmo-global-flags-set'.
3286         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3287         elmo-archive-parse-mmdf with argument `folder'.
3288         (elmo-archive-parse-mmdf): Added argument `folder';
3289         Call `elmo-global-flags-set'.
3290
3291         * elmo-version.el (elmo-version): Up to 2.11.14.
3292
3293 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3294
3295         * modb.el (elmo-msgdb-length): Define.
3296
3297         * elmo.el (elmo-make-folder): Fixed.
3298         (elmo-generic-folder-append-messages): Follow the API change.
3299
3300         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3301         API change.
3302
3303 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3304
3305         * modb.el: New file.
3306
3307         * modb-entity.el: Ditto.
3308
3309         * modb-legacy.el: Ditto.
3310
3311         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3312         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3313         of `elmo-msgdb-overview-get-entity'.
3314         (elmo-msgdb-get-field): Ditto.
3315         (elmo-msgdb-merge): Moved to `elmo.el'.
3316         (elmo-msgdb-length): Removed; redefine as modb method.
3317         (elmo-msgdb-change-mark): Abolish.
3318         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3319         (elmo-msgdb-match-condition): Don't use mark.
3320         (elmo-msgdb-overview-get-entity): Abolish.
3321         Split modb part into `modb*.el'.
3322
3323         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3324
3325         * elmo-shimbun.el (shimbun-mua-search-id): Use
3326         `elmo-msgdb-message-entity' instead of
3327         `elmo-msgdb-overview-get-entity'.
3328         (elmo-shimbun-folder-shimbun-header): Ditto.
3329         (elmo-shimbun-get-headers): Ditto.
3330         (elmo-shimbun-update-overview): Ditto.
3331
3332         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3333
3334         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3335
3336         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3337         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3338
3339         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3340         `elmo-msgdb-mark-to-flags'.
3341
3342         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3343         `elmo-msgdb-set-path'.
3344
3345         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3346  
3347         * elmo-version.el (elmo-version): Up to 2.11.13.
3348
3349         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3350
3351         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3352         of mark.
3353
3354 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3355
3356         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3357         mismatch.
3358
3359 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3360
3361         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3362         instead of `elmo-msgdb-get-cached'.
3363         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3364
3365         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3366         (elmo-msgdb-set-cached): Ditto.
3367         (elmo-msgdb-set-flag): Rewrite.
3368         (elmo-msgdb-unset-flag): Ditto.
3369
3370         * elmo-msgdb.el: Rewrite with luna.
3371
3372         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3373         (elmo-folder-msgdb): Follow the change above.
3374         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3375         (elmo-folder-unmark-important): Follow the API change.
3376         (elmo-folder-mark-as-important): Ditto.
3377         (elmo-folder-unmark-read): Ditto.
3378         (elmo-folder-mark-as-read): Ditto.
3379         (elmo-folder-unmark-answered): Ditto.
3380         (elmo-folder-mark-as-answered): Ditto.
3381         (elmo-folder-clear): Likewise.
3382
3383         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3384         instead of `elmo-msgdb-load' (renamed).
3385
3386         * elmo-version.el (elmo-version): Up to 2.11.12.
3387
3388 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3389
3390         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3391         change.
3392         (elmo-message-mark): Abolish.
3393         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3394         instead of `elmo-msgdb-change-mark'.
3395
3396         * elmo-pipe.el (elmo-message-mark): Abolish.
3397
3398         * elmo-multi.el (elmo-message-mark): Ditto.
3399
3400         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3401         (elmo-msgdb-unread-uncached-mark): Ditto.
3402         (elmo-msgdb-unread-cached-mark): Ditto.
3403         (elmo-msgdb-read-uncached-mark): Ditto.
3404         (elmo-msgdb-answered-cached-mark): Ditto.
3405         (elmo-msgdb-answered-uncached-mark): Ditto.
3406         (elmo-msgdb-important-mark): Ditto.
3407         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3408         `use-cache'.
3409         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3410         `flags'.
3411         (elmo-flag-table-load): Changed flag to list of flag.
3412         (elmo-flag-table-set): If flags is nil, set read flag.
3413         (elmo-flag-table-get): Return derived flags from global mark,
3414         cache status and saved flags.
3415         (elmo-msgdb-flag-table): Follow the change above.
3416         (elmo-msgdb-out-of-date-messages): New function.
3417
3418         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3419
3420         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3421
3422         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3423
3424         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3425         (elmo-nntp-msgdb-create-message): Ditto.
3426
3427         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3428
3429         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3430         independent.
3431         (elmo-folder-msgdb-create): Follow the API change.
3432
3433         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3434         (elmo-folder-append-messages): Ditto.
3435
3436         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3437         (elmo-folder-append-buffer): Ditto.
3438
3439         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3440
3441         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3442
3443         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3444         (elmo-archive-parse-mmdf): Ditto.
3445
3446         * elmo-version.el (elmo-version): Up to 2.11.11.
3447
3448 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3449
3450         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3451         `elmo-msgdb-mark'.
3452
3453         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3454
3455         * elmo-pipe.el (elmo-message-flags): Defined.
3456
3457         * elmo-multi.el (elmo-message-flags): Ditto.
3458
3459 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3460
3461         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3462         `elmo-msgdb-delete-msgs'.
3463
3464         * elmo.el (elmo-folder-count-flags): Don't use
3465         `elmo-msgdb-get-mark-alist'.
3466         (elmo-folder-detach-messages): Follow the API change.
3467
3468         * elmo.el (elmo-folder-list-messages): Append killed messages into
3469         result if `visible-only' is nil.
3470
3471         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3472         canceled messages.
3473         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3474         (elmo-folder-update-number): Likewise.
3475
3476         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3477         (elmo-pop3-sort-msgdb-by-original-number): Use
3478         `elmo-msgdb-sort-entities'.
3479
3480         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3481         (elmo-msgdb-sort-by-date): Use it.
3482         (elmo-msgdb-overview-sort-by-date): Abolish.
3483
3484         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3485
3486         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3487         (elmo-msgdb-flags): New function.
3488         (elmo-msgdb-merge): Use elmo-msgdb-append.
3489
3490         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3491         change.
3492
3493         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3494
3495         * elmo-dop.el (elmo-folder-status-dop): Use
3496         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3497
3498 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3499
3500         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3501
3502         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3503
3504         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3505
3506         * elmo-util.el (elmo-with-progress-display): New macro.
3507
3508         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3509
3510 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3511
3512         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3513         `elmo-folder-list-message-entities' instead of
3514         `elmo-msgdb-get-overview'.
3515         (elmo-map-folder-list-message-locations): Ditto.
3516
3517         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3518         methods instead of treat directly).
3519         (elmo-msgdb-clear): Ditto.
3520         (elmo-msgdb-delete-msgs): Ditto.
3521         (elmo-msgdb-sort-by-date): Ditto.
3522
3523         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3524         local variables.
3525         (elmo-nntp-folder-msgdb-create): Follow the API change.
3526
3527         * elmo-version.el (elmo-version): Up to 2.11.10.
3528
3529 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3530
3531         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3532         (elmo-msgdb-flags-to-mark): Ditto.
3533         (elmo-msgdb-append-entity): Ditto.
3534
3535         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3536         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3537         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3538         (elmo-archive-parse-mmdf): Ditto.
3539
3540         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3541
3542         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3543
3544         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3545
3546         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3547
3548         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3549
3550         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3551
3552         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3553
3554         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3555
3556         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3557         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3558         to empty msgdb.
3559
3560         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3561         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3562         instead of directly construction.
3563         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3564         instead of construct msgdb.
3565
3566         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3567         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3568         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3569         instead of construct msgdb.
3570
3571 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3572
3573         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3574         when field is from or subject.
3575
3576 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3577
3578         * elmo-multi.el (elmo-message-entity-parent): Define.
3579         (elmo-folder-search): Rewrite.
3580
3581 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3582
3583         * elmo-multi.el (elmo-message-cached-p): Define.
3584
3585         * elmo.el (elmo-message-cached-p): New method.
3586         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3587         (elmo-message-flags): New method.
3588         (elmo-message-flagged-p): New function.
3589
3590         * elmo-version.el (elmo-version): Up to 2.11.9.
3591
3592 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3593
3594         * elmo-version.el (elmo-version): Up to 2.11.8.
3595
3596         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3597
3598         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3599
3600 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3601
3602         * elmo.el (elmo-folder-detach-messages): Undo last change.
3603
3604 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3605
3606         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3607
3608         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3609         only when src folder type is pop3.
3610
3611 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3612
3613         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3614         elmo-msgdb-overview-entity-get-number instead of
3615         elmo-message-entity-number.
3616
3617 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3618
3619         * elmo-version.el (elmo-version): Up to 2.11.7.
3620
3621 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3622
3623         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3624         function.
3625
3626         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3627         (elmo-msgdb-merge): New function.
3628         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3629         (elmo-msgdb-make-index): Rewrite.
3630
3631         * elmo-version.el (elmo-version): Up to 2.11.6.
3632
3633         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3634         use it as a the path for loading message entities.
3635
3636         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3637
3638 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3639
3640         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3641         message-modified slot of itself if it does not require target msgdb.
3642
3643         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3644         if folder length is zero.
3645         (elmo-mime-display-as-is): Ditto.
3646
3647         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3648
3649         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3650
3651 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3652
3653         * elmo.el (elmo-folder-set-message-modified): New method.
3654         (elmo-generic-folder-commit): Use it.
3655         (elmo-folder-synchronize): Ditto.
3656
3657         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3658         (elmo-folder-commit): Remove duplicate definition.
3659
3660 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3661
3662         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3663
3664 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3665
3666         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3667         (elmo-strict-folder-diff): Ditto.
3668         (elmo-folder-set-info-max-by-numdb): Simplify.
3669
3670         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3671         elmo-msgdb-list-messages.
3672
3673         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3674         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3675
3676 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3677
3678         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3679         visible-only is non-nil.
3680         (elmo-folder-confirm-appends): Changed message.
3681         (elmo-folder-synchronize): Added argument disable-killed.
3682
3683         * elmo-multi.el (elmo-folder-synchronize): Added argument
3684         disable-killed.
3685
3686         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3687
3688         * elmo-version.el (elmo-version): Up to 2.11.5.
3689
3690         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3691         elmo-list-filter.
3692
3693         * elmo-util.el (elmo-list-filter): Simplify.
3694
3695         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3696         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3697         (elmo-generic-folder-diff): Abolish argument.
3698         (elmo-msgdb-load): Don't use number-alist.
3699
3700         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3701
3702         * elmo-pipe.el (elmo-folder-diff): Ditto.
3703
3704         * elmo-nmz.el (elmo-folder-diff): Ditto.
3705
3706         * elmo-net.el (elmo-folder-diff): Ditto.
3707
3708         * elmo-maildir.el (elmo-folder-diff): Ditto.
3709
3710         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3711
3712         * elmo-multi.el (elmo-folder-diff): Ditto
3713         (elmo-multi-folder-diff): Rewrite.
3714
3715 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3716
3717         * elmo-pipe.el (elmo-folder-msgdb): Define.
3718
3719 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3720
3721         * elmo.el (elmo-message-set-cached): Define as a method.
3722
3723         * elmo-pipe.el (elmo-message-set-cached): Define.
3724         (elmo-find-fetch-strategy): Ditto.
3725
3726         * elmo-multi.el (elmo-message-set-cached): Define.
3727         (elmo-find-fetch-strategy): Rewrite.
3728
3729         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3730
3731         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3732
3733 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3734
3735         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3736         instead of number-alist.
3737
3738         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3739         mark nor message-id when msgdb of source folder is not loaded.
3740
3741         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3742
3743         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3744
3745 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3746
3747         * elmo.el (elmo-folder-length): Don't require msgdb.
3748
3749 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3750
3751         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3752         (elmo-message-field): Ditto.
3753
3754         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3755         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3756         slot.
3757         (elmo-map-folder-list-answereds): Define.
3758         (elmo-maildir-list-location): Treat 'R' info.
3759         (elmo-folder-msgdb-create): Treat flag-table.
3760         (elmo-folder-append-messages): Save flag-table.
3761
3762 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3763
3764         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3765         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3766
3767 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3768
3769         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3770
3771         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3772         'read when mark is null.
3773
3774 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3775
3776         * elmo-version.el (elmo-version): Up to 2.11.4.
3777
3778 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3779
3780         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3781         (elmo-folder-mark-as-answered): Ditto.
3782
3783 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3784
3785         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3786         (elmo-pop3-get-session): Make msgdb directory after session.
3787         (elmo-folder-exists-p): Check exactly at the first time even when the
3788         elmo-pop3-exists-exactly is nil.
3789
3790         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3791         (elmo-folder-list-messages): Define instead of
3792         elmo-folder-list-messages-internal.
3793         (elmo-folder-check): Check destination folder.
3794         (elmo-folder-synchronize): Drain the pipe.
3795
3796         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3797         when msgdb is not loaded.
3798
3799         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3800
3801         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3802         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3803         messages.
3804
3805         * elmo.el (elmo-folder-kill-messages-before): New function.
3806         (elmo-folder-kill-messages): Ditto.
3807         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3808
3809         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3810         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3811         killed not by synchronize (e.g. scoring).
3812
3813 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3814
3815         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3816         treated.
3817         (elmo-folder-search): Follow the change above.
3818
3819         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3820         into the candidates of search field.
3821
3822 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3823
3824         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3825         (elmo-msgdb-unset-flag): Ditto.
3826
3827         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3828
3829 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3830
3831         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3832         (elmo-folder-commit): Define.
3833         (elmo-folder-synchronize): Ditto.
3834         (elmo-folder-list-flagged): Ditto.
3835         (elmo-folder-commit): Ditto.
3836         (elmo-folder-length): Ditto.
3837         (elmo-folder-count-flags): Ditto.
3838         (elmo-message-mark): Ditto.
3839         (elmo-message-field): Ditto.
3840         (elmo-message-entity): Ditto.
3841         (elmo-message-folder): Ditto.
3842
3843 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3844
3845         * elmo.el (elmo-message-field): Define as a method.
3846
3847         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3848         (elmo-message-field): Define.
3849
3850         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3851         (elmo-folder-list-importants): Ditto.
3852         (elmo-folder-list-answereds): Ditto.
3853
3854         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3855         qualifier.
3856         (elmo-folder-mark-as-read): Ditto.
3857         (elmo-folder-unmark-read): Ditto.
3858         (elmo-folder-mark-as-answered): Ditto.
3859         (elmo-folder-unmark-answered): Ditto.
3860         (elmo-folder-list-flagged): Define.
3861         (elmo-folder-commit): Ditto.
3862         (elmo-folder-length): Ditto.
3863         (elmo-folder-count-flags): Ditto.
3864
3865 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3866
3867         * elmo.el (elmo-folder-detach-messages): New method.
3868         (elmo-folder-move-messages): Use it.
3869         (elmo-folder-synchronize): Ditto.
3870
3871         * elmo-multi.el (elmo-folder-detach-messages): Define.
3872
3873         * elmo.el (elmo-message-copy-entity): New function.
3874         (elmo-message-entity-set-number): Ditto.
3875         (elmo-message-mark): Define as method.
3876
3877         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3878         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3879         (elmo-message-entity): Fixed last change.
3880         (elmo-message-mark): Define.
3881         (elmo-folder-msgdb-create): Abolish.
3882         (elmo-multi-folder-append-msgdb): Ditto.
3883         (elmo-multi-folder-diff): Fixed.
3884         (elmo-multi-split-number-alist): Removed.
3885         (elmo-multi-split-mark-alist): Removed.
3886         (elmo-folder-list-messages): Define.
3887         (elmo-folder-list-messages-internal): Removed.
3888
3889         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3890         local file messages.
3891         (elmo-folder-msgdb-create): Fixed read mark.
3892
3893 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3894
3895         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3896         if mark is nil.
3897
3898 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3899
3900         * elmo.el (elmo-folder-list-message-entities): Define as inline
3901         function.
3902         (elmo-folder-messages): Abolish.
3903
3904         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3905         folder.
3906         (elmo-folder-synchronize): Define.
3907         (elmo-message-entity): Define.
3908
3909 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3910
3911         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3912         elmo-imap4-session-select-mailbox.
3913
3914         * elmo.el (elmo-folder-move-messages): Don't display any message.
3915
3916         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3917         parsing.
3918         (elmo-imap4-session-check): Don't wait CHECK response.
3919         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3920
3921 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3922
3923         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3924
3925 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3926
3927         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3928         API.
3929         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3930
3931
3932         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3933         (elmo-folder-list-message-entities): Added argument in-msgdb and
3934         numbers.
3935         (elmo-folder-synchronize): Define as a method.
3936
3937         * elmo-nntp.el (elmo-folder-initialize): Don't use
3938         elmo-nntp-default-user if zero-length username is specified
3939         explicitly.
3940
3941 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3942
3943         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3944         server name in case with username.
3945         (XXX: this is ad-hoc fix against username includes "@", it
3946         should be solved fundamentally)
3947
3948 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3949
3950         * elmo-nntp.el (elmo-nntp-debug): New function.
3951         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3952         (elmo-network-authenticate-session): Hide auth-info from the log.
3953
3954         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3955         user name if it is equal to elmo-nntp-default-user.
3956
3957 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3958
3959         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3960         instead of shimbun-server-internal;
3961         Use shimbun-current-group instead of shimbun-current-group-internal.
3962         (elmo-folder-plugged-p): Use shimbun-server instead of
3963         shimbun-server-internal.
3964         (elmo-folder-set-plugged): Ditto.
3965         (elmo-net-port-info): Ditto.
3966         (elmo-folder-check): Ditto.
3967         (elmo-folder-expand-msgdb-path): Ditto.
3968         (elmo-folder-list-subfolders): Ditto.
3969
3970 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3971
3972         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3973         Convert field-name to lower case.
3974         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3975
3976 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3977
3978         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3979         `message' and `error' take format string.
3980
3981 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3982
3983         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3984
3985 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3986
3987         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3988         recursive call (can't byte compile on emacs 20.7).
3989
3990 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
3991
3992         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3993         (elmo-folder-list-message-entities): New API.
3994         (elmo-message-entity): Ditto.
3995         (elmo-message-entity-parent): Ditto.
3996         (elmo-folder-do-each-message-entity): Ditto.
3997         (elmo-message-entity-number): Ditto.
3998         (elmo-message-entity-field): Ditto.
3999         (elmo-message-entity-set-field): Ditto.
4000         (elmo-folder-count-flags): Ditto.
4001         (elmo-folder-length): Ditto.
4002
4003         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4004         not.
4005
4006         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4007         (elmo-msgdb-count-marks): Abolish.
4008         (elmo-msgdb-make-entity): Ditto.
4009         (elmo-msgdb-do-each-entity): Ditto.
4010         (elmo-msgdb-message-entity): New inline function.
4011         (elmo-msgdb-message-entity-field): Ditto.
4012         (elmo-msgdb-message-entity-set-field): Ditto.
4013         (elmo-msgdb-make-message-entity): New function.
4014
4015 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4016
4017         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4018         to flag. (All other related portions are changed.)
4019         (elmo-folder-msgdb-create): Likewise.
4020         (elmo-generic-folder-append-messages): Use flag-table instead of
4021         seen-list.
4022         (elmo-folder-move-messages): Removed redundant process.
4023         (elmo-folder-synchronize): Likewise.
4024
4025         * elmo-msgdb.el (elmo-flag-table-get): New function.
4026         (elmo-flag-table-save): Fixed.
4027         (elmo-msgdb-length): New inline function.
4028         (elmo-msgdb-flag-table): New function.
4029         (elmo-msgdb-mark): Add optional argument new.
4030         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4031         (elmo-msgdb-seen-list): Ditto.
4032         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4033
4034
4035 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4036
4037         * elmo.el (elmo-message-set-mark): Abolish.
4038         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4039         (All related portions are changed.)
4040
4041         * elmo-msgdb.el (toplevel): Added comment.
4042         (elmo-load-msgdb): Added 4th element `path'.
4043         (elmo-msgdb-append): Follow the change above.
4044         (elmo-msgdb-clear): Ditto.
4045         (elmo-msgdb-delete-msgs): Ditto.
4046         (elmo-msgdb-get-path): New inline function.
4047         (elmo-msgdb-set-path): Ditto.
4048         (elmo-flag-table-filename): New variable.
4049         (elmo-flag-table-load): New function.
4050         (elmo-flag-table-set): Ditto.
4051         (elmo-flag-table-save): Ditto.
4052         (elmo-msgdb-get-field-value): Abolish.
4053         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4054
4055 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4056
4057         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4058         the folder has been deleted successfully.
4059         * elmo-imap4.el (elmo-folder-delete): Ditto.
4060         * elmo-archive.el (elmo-folder-delete): Ditto.
4061         * elmo-localdir.el (elmo-folder-delete): Ditto.
4062         * elmo-maildir.el (elmo-folder-delete): Ditto.
4063
4064 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4065
4066         * elmo-util.el (elmo-string-member-ignore-case): New function.
4067         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4068         (elmo-imap4-fetch-callback-1-subr): Likewise.
4069
4070 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4071
4072         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4073         the case of the name attribute "\Noselect".
4074
4075 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4076
4077         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4078
4079         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4080         flist, is not always a member of onum-alist.
4081
4082 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4083
4084         * elmo-version.el (elmo-version): Up to 2.11.3.
4085
4086 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4087
4088         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4089         copied from localdir's one.
4090
4091         * elmo-pipe.el (elmo-folder-rename): New method, rename
4092         destination folder with leaving source folder as it is.
4093
4094 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4095
4096         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4097         replace-regexp.
4098
4099 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4100
4101         * elmo-version.el (elmo-version): Up to 2.11.2.
4102
4103 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4104
4105         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4106         shimbun-open in case of "@".
4107         (elmo-folder-open-internal): Cope with shimbun = nil case.
4108         (elmo-folder-plugged-p): Ditto.
4109         (elmo-folder-list-subfolders): Make list for "@/" group.
4110
4111 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4112
4113         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4114         mailbox (e.g. for %~/something).
4115
4116 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4117
4118         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4119         Replace nested conditional with guard clauses.
4120
4121 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4122
4123         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4124         error [wl:11327].
4125
4126         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4127         print-depth.
4128
4129 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4130
4131         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4132         Replace nested conditional with guard clauses.
4133
4134 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4135
4136         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4137         (elmo-passwd-alist-save): Ditto.
4138         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4139
4140 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4141
4142         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4143         dir-name only if it is absolute path.
4144         (TODO: distinguish +/something and +something)
4145
4146 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4147
4148         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4149         path for "+~/something".
4150
4151 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4152
4153         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4154         as non-directory, cause error before rename-file.
4155         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4156         apropriately, mimic localdir's one.
4157         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4158
4159 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4160
4161         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4162
4163 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4164
4165         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4166
4167         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4168         
4169         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4170         is included in the global-mark or not.
4171
4172 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4173
4174         * utf7.el (toplevel): Avoid error when the function
4175         find-coding-system does not exist.
4176
4177 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4178
4179         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4180         cache even if the folder is plugged.
4181         (elmo-nntp-search-primitive): Do nothing when body search is
4182         invoked (although it is not used by the change above).
4183         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4184
4185 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4186
4187         * elmo-version.el (elmo-version): Up to 2.11.1.
4188
4189 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4190
4191         * elmo-archive.el: Specify charset.
4192
4193 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4194
4195         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4196         process buffer lives or not.
4197
4198         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4199         while flushing queues (It causes infinite loop).
4200
4201 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4202
4203         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4204
4205 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4206
4207         * utf7.el (toplevel): Check the ucs features dynamically.
4208         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4209
4210         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4211         folder is creatabe or not if it already exists.
4212
4213 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4214
4215         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4216
4217         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4218
4219         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4220         (elmo-imap4-read-response): Take care of garbage response.
4221
4222 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4223
4224         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4225         just return nil instead of error.
4226
4227 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4228
4229         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4230         search-key is "body".
4231
4232 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4233
4234         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4235         of elmo-string-matched-assoc to use match-data.
4236         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4237
4238 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4239
4240         * elmo-split.el (elmo-split->): New function.
4241         (elmo-split-<): Ditto.
4242
4243 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4244
4245         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4246         workaround for invalid message-id.
4247
4248 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4249
4250         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4251         return normal pop3 session or pop3 biff session.
4252
4253 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4254
4255         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4256         info part to the cur files when the new files already have it.
4257         (Adviced by Jared Rhine <jared@wordzoo.com>)
4258
4259 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4260
4261         * elmo-split.el (elmo-split-default-action): New variable.
4262         (elmo-split-subr): Use it if all other conditions are passed.
4263         Extend `fname' and rename it as `action'. (implemented
4264         Teranishi-san's idea in [wl:10800])
4265
4266 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4267
4268         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4269         * elmo-util.el: Ditto.
4270
4271 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4272
4273         * elmo.el (elmo-message-accessible-p): Renamed from
4274         elmo-message-cached-p and rewritten.
4275
4276 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4277
4278         * elmo.el (elmo-folder-list-flagged): New generic function.
4279         (elmo-folder-list-importants): New implementation.
4280         (elmo-folder-list-answereds): Ditto.
4281         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4282         Added 'digest'.
4283         (elmo-message-cached-p): New function.
4284         (elmo-message-set-flag): Ditto (no content).
4285         (elmo-message-unset-flag): Ditto.
4286         (elmo-folder-list-messages-mark-match): Abolish.
4287
4288         * elmo-util.el (elmo-regexp-opt): New function.
4289
4290         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4291         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4292         Added 'digest'.
4293         (elmo-msgdb-list-flagged): New function.
4294
4295         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4296         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4297         Added 'digest'.
4298
4299         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4300
4301 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4302
4303         * elmo-version.el (elmo-version): Up to 2.11.0.
4304
4305 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4306
4307         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4308         `elmo-file-cache-exists-p'; use proper mark that depends on
4309         `use-cache'.
4310         (elmo-msgdb-unset-flag): Ditto.
4311         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4312
4313         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4314         with 4th argument `use-cache'.
4315
4316 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4317
4318         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4319         (elmo-folder-mark-as-important): Ditto.
4320         (elmo-folder-unmark-read): Ditto.
4321         (elmo-folder-mark-as-read): Ditto.
4322         (elmo-folder-unmark-answered): Ditto.
4323         (elmo-folder-mark-as-answered): Ditto.
4324
4325         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4326         message status.
4327         (elmo-msgdb-mark): Likewise.
4328         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4329         (elmo-msgdb-unset-flag): Likewise.
4330
4331         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4332
4333 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4334
4335         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4336         `last:' filter.
4337
4338 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4339
4340         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4341         set spool-length to 0.
4342
4343 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4344
4345         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4346         (elmo-dop-queue-flush): Fixed last change.
4347
4348 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4349
4350         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4351         if require-msgdb slot is nil.
4352         (elmo-folder-list-importants): Likewise.
4353
4354 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4355
4356         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4357         mark is changed.
4358
4359         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4360         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4361         is changed.
4362
4363 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4364
4365         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4366
4367 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4368
4369         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4370
4371         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4372
4373 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4374
4375         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4376         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4377
4378 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4379
4380         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4381         the problem reported by Sean Rima [wl-en:180].
4382
4383 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4384
4385         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4386
4387         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4388
4389         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4390
4391         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4392
4393         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4394
4395         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4396
4397         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4398
4399 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4400
4401         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4402         status number.
4403
4404 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4405
4406         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4407         (elmo-folder-mark-as-read): Follow the API change.
4408         (elmo-message-set-cached): New function.
4409
4410         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4411
4412         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4413
4414         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4415         (elmo-folder-mark-as-important): Ditto.
4416         (elmo-folder-unmark-read): Ditto.
4417         (elmo-folder-mark-as-read): Ditto.
4418         (elmo-folder-unmark-answered): Ditto.
4419         (elmo-folder-mark-as-answered): Ditto.
4420
4421         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4422         (elmo-folder-unmark-important): Ditto.
4423         (elmo-folder-mark-as-read): Ditto.
4424         (elmo-folder-unmark-read): Ditto.
4425         (elmo-folder-mark-as-answered): Ditto.
4426         (elmo-folder-unmark-answered): Ditto.
4427
4428         * elmo-mark.el (toplevel): Removed some mark method definitions.
4429
4430         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4431         (elmo-map-folder-mark-as-answered): Ditto.
4432         (elmo-folder-unmark-important): Add :before qualifier.
4433         (elmo-folder-mark-as-important): Ditto.
4434         (elmo-folder-unmark-read): Ditto.
4435         (elmo-folder-mark-as-read): Ditto.
4436         (elmo-folder-unmark-answered): Define.
4437         (elmo-folder-mark-as-answered): Ditto.
4438
4439         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4440         (elmo-map-folder-unmark-answered): Ditto.
4441
4442         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4443
4444         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4445         (elmo-folder-mark-as-important): Ditto.
4446         (elmo-folder-unmark-read): Ditto.
4447         (elmo-folder-mark-as-read): Ditto.
4448         (elmo-folder-unmark-answered): Ditto.
4449         (elmo-folder-mark-as-answered): Ditto.
4450
4451         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4452         `mark'; evaluate mark condition.
4453         (elmo-msgdb-match-condition-internal): New function.
4454         (elmo-msgdb-match-condition): Call it; changed argument.
4455
4456         * elmo.el (elmo-folder-search): Follow the API change on
4457         `elmo-msgdb-match-condition'.
4458
4459 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4460
4461         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4462         original mark is non-nil.
4463
4464 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4465
4466         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4467         (elmo-map-folder-list-answereds): New method.
4468         (elmo-folder-list-unreads): Add :around qualifier.
4469         (elmo-folder-list-importants): Ditto.
4470         (elmo-folder-list-answereds): Ditto.
4471
4472 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4473
4474         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4475
4476         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4477         method if msgdb is not required.
4478         (elmo-filter-folder-list-importants): Don't treat global-mark.
4479
4480         * elmo.el (elmo-folder-list-importants): Ditto.
4481
4482         * elmo-net.el (elmo-folder-list-importants): Ditto.
4483
4484         * elmo-map.el (elmo-folder-list-importants): Ditto.
4485
4486         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4487
4488         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4489         (elmo-imap4-folder-list-any-plugged): New function.
4490         (elmo-imap4-search-internal-primitive): Use it.
4491
4492         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4493         only when require-msgdb slot is non-nil.
4494         (elmo-folder-close): Clear target folder's msgdb.
4495
4496 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4497
4498         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4499         (elmo-pop3-msgdb-create-by-header): Ditto.
4500         (elmo-pop3-msgdb-create-message): Ditto.
4501
4502         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4503
4504         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4505
4506         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4507
4508         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4509         (elmo-folder-msgdb-create): Ditto.
4510         (elmo-nntp-folder-msgdb-create): Ditto.
4511         (elmo-nntp-msgdb-create-by-header): Ditto.
4512         (elmo-nntp-msgdb-create-message): Ditto.
4513         (elmo-folder-list-unreads): Define.
4514
4515         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4516         (elmo-folder-append-messages): Ditto.
4517         (elmo-folder-list-unreads): Define.
4518         (elmo-folder-list-importants): Ditto.
4519         (elmo-folder-list-answereds): Ditto.
4520
4521         * elmo-net.el (elmo-folder-list-unreads): Define.
4522         (elmo-folder-list-importants): Ditto.
4523         (elmo-folder-list-answereds): Ditto.
4524         (elmo-folder-list-answereds-plugged): Ditto.
4525         (elmo-folder-msgdb-create): Follow the API change.
4526         (elmo-folder-msgdb-create-unplugged): Ditto.
4527         (elmo-folder-unmark-answered): Define.
4528         (elmo-folder-mark-as-answered-unplugged): Ditto.
4529         (elmo-folder-unmark-answered-unplugged): Ditto.
4530
4531         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4532         (elmo-msgdb-unread-uncached-mark): Ditto.
4533         (elmo-msgdb-unread-cached-mark): Ditto.
4534         (elmo-msgdb-read-uncached-mark): Ditto.
4535         (elmo-msgdb-answered-cached-mark): Ditto.
4536         (elmo-msgdb-answered-uncached-mark): Ditto.
4537         (elmo-msgdb-important-mark): Ditto.
4538         (elmo-msgdb-set-mark): Rewrite.
4539         (elmo-msgdb-count-marks): Rewrite.
4540         (elmo-msgdb-mark-alist-set): Abolish.
4541         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4542         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4543
4544         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4545         (elmo-folder-close): Define.
4546         (elmo-folder-msgdb-create): Follow the API change.
4547         (elmo-folder-list-unreads): Rewrite.
4548         (elmo-folder-mark-as-important): Ditto.
4549         (elmo-folder-unmark-important): Ditto.
4550         (elmo-folder-mark-as-read): Ditto.
4551         (elmo-folder-unmark-read): Ditto.
4552         (elmo-folder-mark-as-answered): Define.
4553         (elmo-folder-unmark-answered): Ditto.
4554
4555         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4556         (elmo-folder-append-messages): Ditto.
4557
4558         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4559
4560         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4561         (elmo-folder-list-importants): Ditto.
4562
4563         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4564         (elmo-folder-append-messages): Ditto.
4565
4566         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4567         change.
4568         (elmo-folder-msgdb-create-plugged): Ditto.
4569         (elmo-folder-append-messages): Ditto.
4570         (elmo-folder-list-answereds-plugged): Define.
4571         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4572         (elmo-folder-unmark-answered-plugged): Define.
4573         (elmo-folder-mark-as-answered-plugged): Ditto.
4574         (elmo-folder-search-requires-msgdb-p): Ditto.
4575
4576         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4577         (elmo-folder-initialize): Set it.
4578         (elmo-folder-msgdb): Define.
4579         (elmo-folder-check): Call elmo-folder-synchronize.
4580         (elmo-folder-close): Define.
4581         (elmo-folder-commit): Ditto.
4582         (elmo-folder-msgdb-create): Rewrite.
4583         (elmo-folder-list-unreads): Ditto.
4584         (elmo-folder-list-importants): Ditto.
4585         (elmo-folder-mark-as-read): Ditto.
4586         (elmo-folder-unmark-read): Ditto.
4587         (elmo-folder-mark-as-important): Ditto.
4588         (elmo-folder-unmark-important): Ditto.
4589         (elmo-folder-mark-as-answered): Define.
4590         (elmo-folder-unmark-answered): Ditto.
4591
4592         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4593         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4594         (elmo-dop-queue-method-name-alist): Likewise.
4595         (elmo-folder-mark-as-answered-dop): New inline function.
4596         (elmo-folder-unmark-answered-dop): Ditto.
4597         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4598
4599         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4600         (elmo-folder-msgdb-create): Ditto.
4601         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4602         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4603         (elmo-archive-parse-mmdf): Ditto.
4604
4605         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4606         (elmo-folder-list-unreads-internal): Ditto.
4607
4608         * elmo.el (elmo-folder-msgdb): Define as generic function.
4609         (elmo-folder-list-messages): Added argument `in-msgdb'.
4610         (elmo-folder-list-unreads): Define as generic function.
4611         (elmo-folder-list-importants): Ditto.
4612         (elmo-folder-list-answereds): Ditto.
4613         (elmo-folder-list-messages-with-global-mark): New function.
4614         (elmo-folder-msgdb-create): Removed mark arguments.
4615         (elmo-folder-unmark-answered): New generic function.
4616         (elmo-folder-mark-as-answered): Ditto.
4617         (elmo-folder-append-messages): Removed argunment `unread-marks'
4618         (elmo-folder-list-unreads-internal): Abolish.
4619         (elmo-folder-list-importants-internal): Ditto.
4620         (elmo-folder-search-requires-msgdb-p): New generic function.
4621         (elmo-folder-search-requires-msgdb-p-internal): New function.
4622         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4623         elmo-msgdb-load.
4624         (elmo-folder-search-fast): Added key 'mark'.
4625         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4626         instead of unread-marks argument.
4627         (elmo-folder-move-messages): Removed argunment `unread-marks'
4628         (elmo-folder-unmark-important): Define.
4629         (elmo-folder-mark-as-important): Ditto.
4630         (elmo-folder-unmark-read): Ditto.
4631         (elmo-folder-mark-as-read): Ditto.
4632         (elmo-folder-unmark-answered): Ditto.
4633         (elmo-folder-mark-as-answered): Ditto.
4634         (elmo-folder-replace-marks): Abolish.
4635         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4636         duplicates.
4637         (elmo-folder-synchronize): Removed mark arguments;
4638         return crosspost only number.
4639
4640 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4641
4642         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4643         Remove redundunt connectivity check.
4644
4645 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4646
4647         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4648         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4649
4650 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4651
4652         * pldap.el (ldap-decode-string): Return string as-is if
4653         `ldap-coding-system' is nil.
4654         (ldap-encode-string): Ditto.
4655         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4656         (ldap-default-host): Fixed docstring.
4657
4658 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4659
4660         * elmo-util.el (elmo-warning): Define as a macro which uses
4661         `display-warning' if it is defined as a function.
4662
4663         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4664         (elmo-split-equal): Use it.
4665         (elmo-split-match): Ditto.
4666         (elmo-split-message-entity): New buffer-local variable.
4667         (elmo-split-subr): Set it.
4668
4669         * elmo-version.el (elmo-version): Up to 2.9.15.
4670
4671 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4672
4673         * elmo-imap4.el (elmo-network-initialize-session):
4674         Check capability after starttls.
4675
4676 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4677
4678         * elmo-util.el (elmo-list-delete): Added optional argument
4679         DELETE-FUNCTION.
4680
4681         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4682
4683         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4684
4685         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4686
4687         * elmo-imap4.el (elmo-folder-initialize): Don't use
4688         elmo-imap4-default-mailbox.
4689
4690 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4691
4692         * elmo-split.el (toplevel): Use `product-provide'.
4693         (elmo-split): Checkdoc.
4694
4695 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4696
4697         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4698         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4699         the function `elmo-imap4-debug-1'.
4700
4701 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4702
4703         * elmo-split.el (elmo-split): Moved to run hooks and to show
4704         message from elmo-split-subr.
4705         (elmo-split-subr): Follow the change above.
4706
4707         * elmo-split.el (elmo-split-subr): New function (renamed from
4708         elmo-split-subr).
4709         (elmo-split): Changed to call elmo-split-subr by element of
4710         elmo-split-folder.
4711         (elmo-split-folder): Changed customization type to choice.
4712
4713 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4714
4715         * elmo-split.el (elmo-split-and): Fixed condition.
4716
4717 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4718
4719         * elmo-split.el: New file.
4720         (elmo-split): Fixed logic.
4721         Display "Test:" instead of "Folder:" when reharsal.
4722
4723         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4724         explicitly.
4725
4726         * elmo-version.el (elmo-version): Up to 2.9.14.
4727
4728         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4729         wl-expand-newtext).
4730
4731 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4732
4733         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4734         message with no message-id field.
4735
4736 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4737
4738         * elmo-version.el (elmo-version): Up to 2.9.13.
4739
4740         * elmo-dop.el (elmo-folder-status-dop): Fix.
4741
4742 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4743
4744         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4745
4746         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4747         changing default value of default-mime-charset.
4748         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4749
4750         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4751
4752         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4753         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4754         instead of elmo-dop-queue-method-name-alist to check merging queue.
4755         (elmo-folder-delete-messages-dop): Delete from queue if negative
4756         message number.
4757         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4758         file is already removed.
4759
4760 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4761
4762         * elmo-vars.el: Bind colon keywords for old Emacsen.
4763
4764 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4765
4766         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4767         against non-exsisting charset.
4768
4769 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4770
4771         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4772         Use eword-decode-and-unfold-unstructured-field-body.
4773
4774         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4775         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4776         exists to decode raw subject string.
4777         (toplevel): Require 'mime.
4778
4779         * elmo-version.el (elmo-version): Up to 2.9.12.
4780
4781 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4782
4783         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4784         (elmo-msgdb-set-mark): Ditto.
4785
4786         * elmo-version.el (elmo-version): Up to 2.9.11.
4787
4788 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4789
4790         * elmo-util.el (elmo-delete-match-files): New function.
4791
4792         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4793         instead of elmo-delete-directory.
4794
4795         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4796         elmo-hash-minimun-size as 63.
4797
4798         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4799         elmo-diff-unread is nil.
4800
4801         * elmo-imap4.el (elmo-folder-open): Fix.
4802
4803         * elmo.el (elmo-message-mark): Rewrite.
4804         (elmo-message-field): Ditto.
4805         (elmo-message-set-mark): Ditto.
4806         (elmo-folder-replace-marks): New function.
4807         (elmo-generic-folder-append-msgdb): Removed third argument for
4808         elmo-msgdb-append.
4809         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4810         (elmo-msgdb-load): New implementation.
4811
4812         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4813
4814         * elmo-util.el (elmo-list-insert): New implementation.
4815
4816         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4817         argument for elmo-msgdb-append.
4818         
4819
4820         * elmo-msgdb.el (elmo-load-msgdb): New function.
4821         (elmo-make-msgdb): Ditto.
4822         (elmo-msgdb-get-index): New inline function.
4823         (elmo-msgdb-set-index): Ditto.
4824         (elmo-msgdb-get-entity-hashtb): Ditto.
4825         (elmo-msgdb-get-mark-hashtb): Ditto.
4826         (elmo-msgdb-get-mark): Ditto.
4827         (elmo-msgdb-set-mark): Ditto.
4828         (elmo-msgdb-count-marks): Ditto.
4829         (elmo-msgdb-get-number): Ditto.
4830         (elmo-msgdb-get-field): Ditto.
4831         (elmo-msgdb-seen-list): Ditto.
4832         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4833         (elmo-msgdb-delete-msgs): Follow the changes above.
4834         (elmo-msgdb-overview-get-entity): Ditto.
4835         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4836         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4837         and rewritten.
4838         (elmo-msgdb-make-index): Likewise.
4839         (elmo-msgdb-append): Removed third argument.
4840         (elmo-msgdb-clear): Clear index as nil.
4841         (elmo-folder-set-info-hashtb): Removed.
4842         (elmo-folder-set-info-max-by-numdb): Ditto.
4843         (elmo-folder-info-make-hashtb): Ditto.
4844
4845         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4846
4847         * elmo-map.el (elmo-folder-pack-number): Ditto.
4848
4849 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4850
4851         * elmo-version.el (elmo-version): Up to 2.9.10.
4852
4853         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4854
4855         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4856
4857 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4858
4859         * elmo-utils.el (elmo-make-directory): Add option.
4860         Default file mode is 700.
4861
4862 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4863
4864         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4865
4866 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4867
4868         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4869         mime-charset.
4870
4871         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4872         and "smaller".
4873
4874 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4875
4876         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4877         (elmo-shimbun-folder-entity-hash): New function.
4878         (elmo-shimbun-folder-shimbun-header): Ditto.
4879         (elmo-shimbun-entity-to-header): Ditto.
4880         (elmo-shimbun-msgdb-to-headers): Removed.
4881         (elmo-shimbun-folder-setup): Ditto.
4882         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4883         for hash key.
4884         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4885         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4886         Removed useless local bind.
4887         (elmo-folder-open-internal): Don't call
4888         `elmo-shimbun-folder-setup'.
4889         (elmo-folder-close-internal): Clear entity-hash slot.
4890         (elmo-folder-clear): Ditto.
4891         (elmo-shimbun-msgdb-create-entity): Use
4892         `elmo-shimbun-folder-shimbun-header'.
4893         (elmo-map-message-fetch): Ditto.
4894         (elmo-shimbun-update-overview): Use overview entity instead of
4895         shimbun header to lookup id by references.
4896         (elmo-map-folder-list-message-locations): Use not only headers but
4897         also overviews to list locations.
4898
4899 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4900
4901         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4902         msgdb path.
4903
4904         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4905
4906 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4907
4908         * elmo-util.el (elmo-read-search-condition-internal): Give default
4909         value for date.
4910
4911 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4912
4913         * elmo-util.el (elmo-condition-parse-search-value): Accept
4914         YYYY-MM-DD format to search.
4915         * elmo-date.el (elmo-date-get-datevec): Likewise.
4916
4917 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4918
4919         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4920         debugging code.
4921
4922 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4923
4924         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4925         from t.
4926
4927         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4928
4929         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4930         case from `elmo-folder-exists-p'.
4931         (elmo-folder-exists-p): Removed.
4932         (elmo-folder-creatable-p) Ditto.
4933
4934         * elmo-net.el (elmo-folder-create): Defined.
4935         (elmo-folder-create-unplugged): New function.
4936         (elmo-folder-exists-p): Changed default value to nil from t.
4937
4938         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4939         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4940
4941         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4942         `elmo-create-folder-dop' and append queue
4943         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4944         (elmo-folder-create-dop-delayed): New function.
4945
4946         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4947
4948         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4949
4950         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4951         (elmo-folder-writable-p) : Ditto.
4952
4953         * elmo-version.el (elmo-version): Up to 2.9.9.
4954
4955 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4956
4957         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4958         `elmo-message-use-cache-p' returns nil.
4959         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4960         (ignore cache file and refer the substance in local folders)
4961
4962 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4963
4964         * elmo-version.el (elmo-version): Up to 2.9.8.
4965
4966 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4967
4968         * elmo-version.el (elmo-version): Up to 2.9.7.
4969
4970         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4971
4972 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4973
4974         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4975
4976 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4977
4978         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4979         from --early.
4980         (elmo-map-folder-list-message-locations): Reverse location list.
4981
4982 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4983
4984         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4985
4986 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
4987
4988         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4989         as a key.
4990         (elmo-nntp-folder-list-subfolders): Follow the change above.
4991
4992 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
4993
4994         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4995         name if authentication type is specified.
4996
4997 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
4998
4999         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5000         variable.
5001         (elmo-default-nntp-stream-type): Ditto.
5002         (elmo-default-pop3-stream-type): Ditto.
5003
5004 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5005
5006         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5007
5008 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5009
5010         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5011         elmo-vars.el.
5012         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5013
5014         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5015         (elmo-maildir-folder-path): Ditto.
5016         (elmo-maildir-list): Ditto (abolished).
5017
5018 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5019
5020         * elmo-version.el (elmo-version): Up to 2.9.6.
5021
5022 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5023
5024         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5025         (elmo-maildir-folder-path): Ditto.
5026         (elmo-msgdb-directory): Ditto.
5027         (elmo-passwd-life-time): Ditto.
5028         (elmo-msgdb-extra-fields): Ditto.
5029         (elmo-enable-disconnected-operation): Ditto.
5030
5031 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5032
5033         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5034         other choices.
5035         (elmo-pop3-default-authenticate-type): Ditto.
5036
5037 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5038
5039         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5040         choices for custom.
5041         (elmo-pop3-default-authenticate-type): Ditto.
5042
5043 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5044
5045         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5046         mailbox to new-folder.
5047
5048 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5049
5050         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5051         less than new, set new as unread.
5052
5053         * elmo-util.el (elmo-string): Don't put text-property if nil.
5054
5055 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5056
5057         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5058         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5059
5060 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5061
5062         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5063         is nil on `completing-read'.
5064
5065 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5066
5067         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5068         for namespace part.
5069         (elmo-imap4-parse-namespace-subr): Ditto.
5070         (elmo-folder-list-subfolders): Append a delimiter when the specified
5071         folder path is a root with namespace and does not end with delimiter.
5072
5073 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5074
5075         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5076         was used.
5077
5078 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5079
5080         * elmo-util.el (elmo-save-buffer): The first argument of message
5081         is a format control string.
5082
5083 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5084
5085         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5086         `elmo-folder-diff').
5087         (elmo-diff-unread): Likewise.
5088
5089 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5090
5091         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5092         is t on `completing-read'.
5093
5094 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5095
5096         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5097         method of target folder with self mark-alist if MARK-ALIST is nil.
5098
5099 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5100
5101         * elmo-version.el (elmo-version): Up to 2.9.5.
5102
5103 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5104
5105         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5106         (elmo-dop-merge-funcs): Remove.
5107
5108 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5109
5110         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5111         Return t if PATH is directory, too.
5112         Use `dolist' instead of while loop.
5113
5114 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5115
5116         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5117         is deleted.
5118
5119 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5120
5121         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5122         return value to t.
5123         (elmo-folder-list-messages-unplugged): Return t if
5124         elmo-enable-disconnected-operation is nil.
5125
5126         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5127         `elmo-folder-list-messages-internal'.
5128
5129 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5130
5131         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5132         Change to looking-at `[23][0-9]+'.
5133         (elmo-network-initialize-session): Use 'error-msg'
5134         * elmo-net.el (elmo-network-open-session): Set unplugged
5135         if elmo-network-initialize-session returns 'elmo-open-err.
5136
5137 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5138
5139         * elmo-version.el (elmo-version): Up to 2.9.4.
5140
5141 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5142
5143         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5144         `elmo-folder-list-messages-internal'.
5145
5146 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5147
5148         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5149         (elmo-message-match-condition): New method.
5150         (elmo-folder-search-fast): New inline function.
5151         (elmo-msgdb-search): Removed.
5152
5153         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5154         target folder if it is unplugged.
5155         (elmo-folder-list-messages-internal): Return t if target folder is
5156         unplugged and itself is persistent; In this case, use list be
5157         searched already.
5158
5159         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5160         (elmo-msgdb-search-internal-primitive): Ditto.
5161         (elmo-msgdb-match-condition): New function.
5162         (elmo-msgdb-match-condition-primitive): Ditto.
5163
5164         * elmo-util.el (elmo-filter-condition-p): New macro.
5165
5166         * elmo-cache.el (elmo-folder-search): Removed.
5167
5168         * elmo-localdir.el (elmo-folder-search): Ditto.
5169
5170         * elmo-maildir.el (elmo-folder-search): Ditto.
5171
5172         * elmo-mark.el (elmo-folder-search): Ditto.
5173
5174         * elmo-nmz.el (elmo-folder-search): Ditto.
5175
5176         * elmo-sendlog.el (elmo-folder-search): Ditto.
5177
5178         * elmo-shimbun.el (elmo-folder-search): Ditto.
5179
5180         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5181         if folder is unplugged.
5182
5183         * elmo-nntp.el (elmo-folder-search): Likewise.
5184         (elmo-nntp-search-internal): New function.
5185
5186         * elmo-version.el (elmo-version): Up to 2.9.3.
5187
5188 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5189
5190         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5191
5192 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5193
5194         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5195
5196 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5197
5198         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5199
5200 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5201
5202         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5203         (elmo-map-folder-list-message-locations): Do drive letter conversion
5204         on Windows environment.
5205         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5206         (elmo-map-message-fetch): Ditto.
5207
5208 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5209
5210         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5211         (elmo-network-initialize-session): Ditto.
5212
5213 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5214
5215         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5216
5217         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5218
5219         * elmo-util.el (elmo-progress-clear): Ditto.
5220
5221         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5222         `DD-Mon-YYYY' type date.
5223
5224 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5225
5226         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5227         `elmo-date-make-sortable-string' instead of
5228         `timezone-make-date-sortable'.
5229
5230         * elmo-date.el (elmo-date-make-sortable-string): Use
5231         `timezone-make-time-string'.
5232
5233 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5234
5235         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5236
5237         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5238         `since'; Fix timezone.
5239
5240         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5241
5242         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5243
5244 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5245
5246         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5247
5248 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5249
5250         * elmo.el (elmo-generic-folder-append-messages): Make
5251         fetch-strategy with `use-cache' as 'maybe. Check return value of
5252         `elmo-message-fetch'.
5253         (elmo-message-fetch): Return return value of
5254         `elmo-message-fetch-with-cache-process'.
5255         (elmo-message-fetch-with-cache-process): Return non-nil if
5256         fetching was succeed. Load cache when fetching was failed and
5257         fetch-strategy-use-cache is 'maybe.
5258
5259         * elmo-util.el (elmo-file-cache-load): New function.
5260
5261         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5262         defun.
5263
5264         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5265         non-nil if fetching was succeed.
5266
5267         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5268
5269         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5270
5271         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5272         (elmo-message-fetch-with-cache-process): Likwise.
5273
5274         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5275
5276         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5277
5278         * elmo-version.el (elmo-version): Up to 2.9.2.
5279
5280 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5281
5282         * elmo.el (elmo-folder-delete): Delete msgdb path.
5283
5284         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5285
5286         * elmo-maildir.el (elmo-folder-delete): Ditto.
5287
5288         * elmo-localdir.el (elmo-folder-delete): Ditto.
5289
5290         * elmo-imap4.el (elmo-folder-delete): Ditto.
5291
5292 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5293
5294         * elmo.el (luna-define-class): Added `biff' slot.
5295
5296         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5297         (elmo-pop3-debug-inhibit-logging): Abolished.
5298         (elmo-network-close-session): Eliminated needless let.
5299         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5300         (elmo-pop3-send-command): Added `no-log' argument.
5301         (elmo-pop3-process-filter): Use `with-current-buffer'.
5302         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5303         if login failure.
5304         (elmo-pop3-auth-apop): Likewise.
5305         (elmo-network-authenticate-session): Likewise.
5306
5307         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5308         if biff folder.
5309
5310         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5311         string to determine protocol.
5312         (elmo-network-session-name-prefix): Abolished.
5313         (elmo-network-session-cache-key): Follow the change above.
5314         (elmo-network-open-session): Ditto.
5315
5316         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5317         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5318
5319         * elmo-version.el (elmo-version): Up to 2.9.1.
5320
5321         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5322         unmatch condition checking.
5323
5324         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5325         condition.
5326
5327 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5328
5329         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5330
5331 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5332
5333         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5334         test for while loop to execute at least one SEARCH command.
5335
5336 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5337
5338         * elmo-version.el (elmo-version): Up to 2.9.0.
5339
5340 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5341
5342         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5343         (elmo-archive-folder-path): Define.
5344         (elmo-folder-initialize): Setup `dir-name' slot.
5345         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5346         Use `dir-name' as prefix of each subfolders.
5347         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5348
5349 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5350
5351         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5352         (elmo-pipe-folder-list-target-messages): New internal function.
5353         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5354         `killed-list'.
5355         (elmo-pipe-folder-copied-list-load): New function.
5356         (elmo-pipe-folder-copied-list-save): Ditto.
5357         (elmo-folder-open-internal): Follow the change above.
5358         (elmo-folder-status): Fixed for copy.
5359
5360 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5361
5362         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5363
5364 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5365
5366         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5367         elmo-copy-file instead of elmo-add-name-to-file.
5368
5369         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5370
5371         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5372         "file://..." index.
5373
5374         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5375         of accept-process-output as 1.
5376         (elmo-pop3-read-contents): Ditto.
5377         (elmo-pop3-read-body): Ditto.
5378
5379 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5380
5381         * elmo-version.el (product-version-as-string): Remove define.
5382
5383 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5384
5385         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5386         (elmo-imap4-copy-messages): Chop number set using
5387         `elmo-imap4-number-set-chop-length'.
5388         (elmo-imap4-set-flag): Ditto.
5389         (elmo-imap4-search-internal-primitive): Ditto.
5390
5391 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5392
5393         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5394         `elmo-folder-make-temp-dir'
5395
5396         * elmo-vars.el (elmo-cache-directory): New variable.
5397         (elmo-cache-dir): Abolished.
5398         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5399
5400         * elmo-version.el (elmo-version): Up to 2.7.7.
5401
5402 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5403
5404         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5405         defcustom; Set default value as t.
5406
5407 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5408
5409         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5410         (ldap-search-program-arguments): Changed default value.
5411         (ldap-search-basic): Accept exit status 4.
5412         (ldap/field-body): Parse options.
5413         (ldap/collect-field): Ditto.
5414         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5415
5416         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5417         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5418         (elmo-imap4-accept-ok): Ditto.
5419         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5420         'notify-bye, only BYE error is reported.
5421         (elmo-folder-exists-p-plugged): Set no-error argument of
5422         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5423
5424         * elmo.el (elmo-imap4-bye-error): Changed message.
5425
5426         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5427         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5428         queues (It causes infinite loop).
5429
5430 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5431
5432         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5433         (RECENT UNSEEN MESSAGES) extension.
5434
5435 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5436
5437         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5438         Check number of overview fields.
5439
5440 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5441
5442         * elmo.el (elmo-folder-confirm-appends): Changed message.
5443         (elmo-folder-confirm-appends): Ditto.
5444
5445         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5446         `with-temp-buffer'.
5447         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5448
5449 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5450
5451         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5452         of elmo-folder-update-threshold is nil, which can be set by
5453         wl-summary-update-confirm-threshold.
5454
5455 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5456
5457         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5458         (elmo-nmz-index-alias-alist): Ditto.
5459         (elmo-map-folder-list-message-locations): Follow the change above.
5460
5461 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5462
5463         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5464
5465         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5466
5467         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5468
5469         * elmo-util.el (elmo-read): Ditto.
5470         (elmo-display-error): Ditto.
5471
5472         * elmo-vars.el (elmo-date-match): Ditto.
5473
5474         * pldap.el (ldap-coding-system): Ditto.
5475
5476         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5477         `elmo-inhibit-number-mapping' as nil.
5478
5479 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5480
5481         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5482         space delimiter for list response.
5483
5484 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5485
5486         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5487
5488 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5489
5490         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5491         (elmo-map-message-fetch): Fix.
5492         * elmo-map.el (elmo-folder-status): Fix for killed.
5493
5494 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5495
5496         * elmo-sendlog.el: New file.
5497         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5498
5499 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5500
5501         * acap.el (acap-logging-out): New buffer local variable.
5502         (acap-close): Set it.
5503         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5504         an error.
5505
5506 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5507
5508         * acap.el (acap-response-bye-p): New function.
5509         (acap-response-bye-message): Ditto.
5510         (acap-wait-for-response): If bye response is received, cause an error.
5511         (acap-parse-response): Make bye response when 'Bye' is received.
5512
5513 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5514
5515         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5516
5517 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5518
5519         * elmo-util.el (elmo-copy-file): Added argument
5520         `ok-if-already-exists'.
5521         (elmo-copy-file): Fixed typo.
5522
5523 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5524
5525         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5526
5527 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5528
5529         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5530
5531 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5532
5533         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5534         to killed-list.
5535
5536 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5537
5538         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5539         (elmo-folder-initialize): Fix for `copy'.
5540         (elmo-pipe-drain): Ditto.
5541         (elmo-folder-open-internal): Ditto.
5542         (elmo-folder-newsgroups): Fix.
5543
5544 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5545
5546         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5547         for each message.
5548
5549         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5550         recent value is returned from imap folder.
5551
5552         * elmo.el (elmo-folder-newsgroups): New generic function.
5553
5554         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5555         (elmo-folder-initialize): Set it.
5556         (elmo-folder-expand-msgdb-path): Use it.
5557         (elmo-folder-newsgroups): Define.
5558
5559         * elmo-filter.el (elmo-folder-newsgroups): Define.
5560
5561         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5562
5563         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5564
5565         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5566
5567 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5568
5569         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5570         user option.
5571         (elmo-shimbun-header-extra-field): New inline function.
5572         (elmo-shimbun-header-set-extra-field): Ditto.
5573         (elmo-shimbun-folder-header-hash-setup): Ditto.
5574         (elmo-shimbun-update-overview): Ditto.
5575         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5576         (elmo-shimbun-folder-setup): Use
5577         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5578         (elmo-shimbun-get-headers): Ditto.
5579         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5580         Insert `X-Shimbun-Id:' header if extra field is set.
5581         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5582         field's value instead of `shimbun-header-id'.
5583
5584         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5585         inline function.
5586         (elmo-msgdb-overview-entity-set-date): Ditto.
5587         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5588
5589 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5590
5591         * mmimap.el (mmimap-entity-section): Changed body node number from
5592         "0" to "1".
5593
5594 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5595
5596         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5597         `elmo-folder-delete-messages'.
5598
5599         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5600         (elmo-folder-initialize): Changed to expand alias into index path.
5601
5602         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5603         `elmo-mime-insert-header-from-buffer' with 6th arg
5604         `sorted-fields'.
5605
5606 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5607
5608         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5609
5610         * elmo.el (elmo-diff-new): New inline function.
5611         (elmo-diff-unread): Ditto.
5612         (elmo-diff-all): Ditto.
5613
5614         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5615         value from responseb.
5616         (elmo-imap4-folder-diff-plugged): Ditto.
5617         (elmo-imap4-server-diff-async): Added recent argument.
5618         (elmo-server-diff-async): Ditto.
5619         (elmo-imap4-folder-diff-plugged): Ditto.
5620
5621         * elmo-version.el (elmo-version): Up to 2.7.6.
5622
5623 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5624
5625         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5626         in quoted-stirng.
5627
5628 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5629
5630         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5631
5632         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5633
5634         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5635
5636         * elmo-multi.el (elmo-folder-initialize): Ditto.
5637
5638         * elmo-util.el (elmo-parse-token): New function.
5639         (elmo-parse-prefixed-element): Ditto.
5640
5641 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5642
5643         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5644         delete process.
5645         (elmo-imap4-accept-ok): Ditto.
5646
5647 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5648
5649         * mmimap.el (mime-imap-entity-header-string): Don't check first
5650         element of node-id is `0' (Follow last change).
5651
5652 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5653
5654         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5655         assigned irregular node-id to nested multipart section.
5656         (initialize-instance): Followed above change.
5657
5658 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5659
5660         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5661         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5662         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5663         `elmo-shimbun-get-headers');
5664         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5665         visible article on summary exists in headers).
5666         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5667
5668 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5669
5670         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5671         definition.
5672
5673 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5674
5675         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5676
5677 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5678
5679         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5680         header separator into loop condition.
5681
5682 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5683
5684         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5685         Return duplicate folder if it has subfolder.
5686
5687 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5688
5689         * elmo.el (elmo-make-folder): Add folder name error check.
5690
5691         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5692         (elmo-nntp-encode-group-string): New inline function.
5693         (elmo-nntp-decode-group-string): Ditto.
5694         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5695         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5696         Use `not' instead of `null';
5697         Use elmo-nntp-decode-group-string.
5698
5699         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5700
5701         * elmo-version.el (elmo-version): Up to 2.7.5.
5702
5703 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5704
5705         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5706         Hide progress gauge if `elmo-folder-move-messages' exits
5707         nonlocally.
5708
5709 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5710
5711         * elmo-imap4.el (elmo-folder-initialize): Use
5712         `elmo-imap4-encode-folder-string' for folder name.
5713
5714 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5715
5716         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5717         `done'.
5718
5719 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5720
5721         * elmo-util.el (elmo-progress-counter-alist): New internal
5722         variable.
5723         (elmo-progress-counter-value): New macro.
5724         (elmo-progress-counter-all-value): Ditto.
5725         (elmo-progress-counter-format): Ditto.
5726         (elmo-progress-counter-set-value): Ditto.
5727         (elmo-progress-set): New function.
5728         (elmo-progress-clear): Ditto.
5729         (elmo-progress-notify): Ditto.
5730
5731         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5732         counter.
5733
5734         * elmo.el (elmo-generic-folder-append-messages): Call
5735         `elmo-progress-notify'.
5736         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5737
5738         * elmo-archive.el (elmo-folder-append-messages): Call
5739         `elmo-progress-notify'.
5740
5741         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5742
5743         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5744
5745         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5746
5747 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5748
5749         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5750         'Create'.
5751         (elmo-message-encache-dop): Added argument `read'.
5752
5753         * elmo-shimbun.el (elmo-message-encache): Ditto.
5754
5755         * elmo-net.el (elmo-message-encache): Ditto.
5756
5757         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5758         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5759         elmo-imap4-seen-messages.
5760         (elmo-folder-msgdb-create-plugged): Initialize
5761         elmo-imap4-seen-messages;
5762         Set seen mark on elmo-imap4-seen-messages.
5763
5764         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5765
5766         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5767         elmo-folder-append-buffer.
5768         (elmo-folder-encache): Added optional argument `read'.
5769         (elmo-message-encache): Ditto.
5770
5771         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5772
5773         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5774
5775         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5776         if append buffer content succeds.
5777
5778 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5779
5780         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5781         elmo-display-progress.
5782
5783         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5784         Set 4th argument of mime-display-message.
5785         (elmo-mime-display-as-is): Ditto.
5786
5787 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5788
5789         * elmo-nmz.el (toplevel): Require 'mime-edit.
5790         (elmo-nmz-content-type-alist): Abolished.
5791         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5792         content is not a message.
5793         (elmo-map-message-fetch): Changed behavior exept for message content;
5794         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5795         content-type, Add From: and Subject: field.
5796
5797 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5798
5799         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5800         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5801         not a message.
5802
5803 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5804
5805         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5806         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5807
5808         * elmo-archive.el (elmo-folder-writable-p): Defined.
5809
5810         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5811
5812         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5813
5814         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5815
5816         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5817
5818         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5819
5820         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5821
5822         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5823
5824         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5825
5826 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5827
5828         * elmo-util.el (elmo-address-quote-specials): New function;
5829         Renamed from `wl-address-quote-specials'.
5830
5831 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5832
5833         * elmo-version.el (elmo-version): Up to 2.7.4.
5834
5835 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5836
5837         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5838
5839 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5840
5841         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5842         both compile-time and run-time to avoid byte-compile warning.
5843
5844 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5845
5846         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5847
5848 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5849
5850         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5851         option.
5852         (elmo-mime-display-as-is-internal): Use it.
5853
5854         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5855         if `read-passwd' is not defined.
5856
5857 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5858
5859         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5860         by original number.
5861         (elmo-folder-status): Call `elmo-folder-open-internal';
5862         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5863         (elmo-folder-close-internal): Set location-alist as nil.
5864         (elmo-folder-clear): Define.
5865         (elmo-folder-check): Don't set location-alist as nil.
5866
5867         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5868
5869 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5870
5871         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5872         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5873
5874         * mmimap.el (mime-imap-entity::requested): New slot.
5875         (mime-imap-location-fetch-entity-p): New generic function.
5876         (mime-decode-parameters): Define using `defun-maybe'.
5877         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5878         content-type structure.
5879         (mime-entity-body): Return empty body if
5880         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5881
5882         * elmo.el (elmo-message-displaying): New variable.
5883
5884         * elmo-mime.el (elmo-mime-message-display): Bind
5885         elmo-message-displaying as t.
5886
5887         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5888
5889 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5890
5891         * acap.el (acap-open): erase buffer before starting network process.
5892         (acap-store): Rewrite.
5893
5894 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5895
5896         * elmo-imap4.el (elmo-imap4-default-mailbox,
5897         elmo-imap4-default-server
5898         elmo-imap4-default-authenticate-type,
5899         elmo-imap4-default-user,
5900         elmo-imap4-default-port,
5901         elmo-imap4-default-stream-type,
5902         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5903
5904         * elmo-pop3.el (elmo-pop3-default-user,
5905         elmo-pop3-default-server,
5906         elmo-pop3-default-authenticate-type,
5907         elmo-pop3-default-port,
5908         elmo-pop3-default-stream-type,
5909         elmo-pop3-stream-type-alist): Ditto.
5910
5911         * elmo-nntp.el (elmo-nntp-default-server,
5912         elmo-nntp-default-user,
5913         elmo-nntp-default-port,
5914         elmo-nntp-default-stream-type,
5915         elmo-nntp-stream-type-alist): Ditto.
5916
5917         * elmo-vars.el: Follow changes above.
5918         (elmo-setting): New custom group; added 'elmo-setting group to
5919         above variables.
5920
5921         * elmo-version.el (elmo-version): Up to 2.7.3.
5922
5923         * acap.el (acap-parse-response): Don't delete process when BYE
5924         response (It causes hang-up on slow network environment).
5925         (toplevel): Added comment.
5926
5927 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5928
5929         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5930
5931         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5932         parsing NIL.
5933         (acap-parse-return-metadata): Ditto.
5934
5935         * slp.el: New file.
5936         (toplevel): Fixed typo.
5937
5938         * acap.el: New file.
5939         (acap-network-stream-open): Show "Connecting..." message.
5940         (acap-parse-response): Fixed problem for BYE untagged response.
5941         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5942         (toplevel): Added tiny comments.
5943
5944 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5945
5946         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5947         space delimiter for uidl response.
5948
5949 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5950
5951         * elmo-vars.el (elmo-use-semi): Eliminated.
5952
5953         * elmo-util.el (elmo-string-assoc-all): New function.
5954
5955 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5956
5957         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5958         property 'mime-preview-situation for `mime-preview-quit'.
5959
5960 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5961
5962         * elmo.el (elmo-message-fetch-with-cache-process): Call
5963         elmo-message-fetch-internal instead of causing an error when fetch
5964         strategy is 'entire but only 'section cache is available.
5965
5966 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5967
5968         * elmo-version.el (elmo-version): Up to 2.7.2.
5969
5970         * elmo.el (elmo-generic-folder-append-messages): Make
5971         fetch-strategy with `use-cache'.
5972
5973         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5974         (elmo-dop-queue-method-name): New macro.
5975
5976 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5977
5978         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5979         unbalanced parenthesis.
5980
5981 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5982
5983         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5984
5985 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
5986
5987         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5988         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5989
5990 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
5991
5992         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5993         local variables.
5994
5995 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
5996
5997         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5998         (elmo-message-use-cache-p): Define.
5999         (elmo-folder-msgdb-create): Treat cache.
6000
6001 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6002
6003         * elmo-nntp.el (elmo-network-initialize-session): Call
6004         `elmo-nntp-send-mode-reader'.
6005         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6006
6007 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6008
6009         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6010         alist.
6011         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6012         assoc.
6013
6014         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6015         for `elmo-plugged-p'.
6016         (elmo-open-network-stream): Fixed stream-type argument.
6017
6018 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6019
6020         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6021         unknown archive type is specified.
6022
6023 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6024
6025         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6026
6027         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6028         while loading msgdb.
6029
6030         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6031         (elmo-folder-open-internal): Rewrite.
6032
6033 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6034
6035         * elmo-mime.el (elmo-mime-display-as-is-internal):
6036         Adjust buffer-multibyte status.
6037
6038 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6039
6040         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6041         of elmo-condition-find-key.
6042
6043         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6044         (elmo-condition-in-msgdb-p): Ditto.
6045         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6046         argument.
6047
6048 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6049
6050         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6051
6052 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6053
6054         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6055         label for elmo-display-progress.
6056
6057 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6058
6059         * elmo.el (elmo-folder-clear): New method.
6060         (elmo-folder-clear): Define.
6061         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6062
6063         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6064         (elmo-folder-clear): Define.
6065
6066         * elmo-map.el (elmo-folder-clear): Define.
6067
6068         * elmo-version.el (elmo-version): Up to 2.7.1.
6069
6070 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6071
6072         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6073         updates.
6074
6075 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6076
6077         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6078         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6079
6080 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6081
6082         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6083
6084         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6085         and re-written.
6086
6087         * elmo-imap4.el (elmo-folder-initialize): Use
6088         elmo-get-network-stream-type.
6089
6090         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6091
6092         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6093
6094 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6095
6096         * elmo.el (elmo-message-encache): Set unread argument for
6097         elmo-message-fetch.
6098
6099         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6100
6101         * elmo.el (elmo-net-port-info): New method.
6102
6103         * elmo-shimbun.el (elmo-net-port-info): Define.
6104         (elmo-message-encache): Ditto.
6105
6106         * elmo-net.el (elmo-net-port-info): Define as method.
6107
6108         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6109         unplugged status when elmo-enable-disconnected-operation is t.
6110
6111         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6112         of spool folder before checking new number.
6113
6114 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6115
6116         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6117         (elmo-network-setup-session): Ditto.
6118         (elmo-message-fetch-plugged): Ditto.
6119         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6120         (elmo-network-initialize-session): Ditto.
6121         (elmo-pop3-read-response): Abolish 3rd argument.
6122         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6123         (elmo-pop3-read-contents): Ditto.
6124         (elmo-pop3-read-body): Ditto.
6125         (elmo-folder-status): Call elmo-folder-close.
6126         (elmo-pop3-lock): Abolish.
6127         (elmo-pop3-unlock): Ditto.
6128         (elmo-pop3-locked-p): Ditto.
6129         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6130
6131 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6132
6133         * elmo-version.el (elmo-version): Up to 2.7.0.
6134
6135         * elmo-pop3.el (elmo-pop3-debug): New variable.
6136         (elmo-pop3-debug-inhibit-logging): Ditto.
6137         (elmo-pop3-debug): New function.
6138         (elmo-pop3-send-command): Call elmo-pop3-debug.
6139         (elmo-pop3-read-response): Added keep-lock optional argument;
6140         Don't unlock if keep-lock is non-nil.
6141         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6142         (elmo-network-authenticate-session): Bind
6143         elmo-pop3-debug-inhibit-logging as t.
6144         (elmo-network-setup-session): Call elmo-pop3-read-response with
6145         keep-lock argument.
6146         (elmo-pop3-read-msg): Ditto.
6147         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6148         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6149         (elmo-network-initialize-session): Call elmo-pop3-lock.
6150         (elmo-folder-close-internal): Don't clear location-alist slot.
6151         (elmo-folder-check): Clear location-alist slot.
6152
6153 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6154
6155         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6156         (elmo-pop3-send-command): Call elmo-pop3-lock.
6157         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6158         (elmo-pop3-read-contents): Ditto.
6159         (elmo-pop3-lock): New function.
6160         (elmo-pop3-unlock): Ditto.
6161         (elmo-pop3-locked-p): Ditto.
6162         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6163         returns t.
6164
6165 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6166
6167         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6168
6169         * elmo-util.el (elmo-file-field-primitive-condition-match):
6170         New inline function (Don't fetch file content if "first" or "last").
6171         (elmo-file-field-condition-match): Use
6172         elmo-file-field-primitive-condition-match.
6173
6174         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6175         "first".
6176
6177         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6178         (elmo-message-fetch-plugged): Fixed.
6179
6180         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6181
6182 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6183
6184         * elmo.el (elmo-folder-move-messages): Bind
6185         elmo-inhibit-display-retrieval-progress as t while moving messages.
6186
6187         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6188         New variable.
6189         (elmo-inhibit-display-retrieval-progress): Ditto.
6190
6191         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6192         for retrieval progress;
6193         Don't display progress when total buffer size is smaller than
6194         elmo-display-retrieval-progress-threshold.
6195         (elmo-message-fetch-plugged): Don't display progress when
6196         elmo-inhibit-display-retrieval-progress is non-nil.
6197
6198         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6199         for retrieval progress;
6200         Don't display progress when literal size is smaller than
6201         elmo-display-retrieval-progress-threshold.
6202         (elmo-imap4-message-fetch): Don't display progress when
6203         elmo-inhibit-display-retrieval-progress is non-nil.
6204
6205 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6206
6207         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6208         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6209         (elmo-imap4-message-fetch): Likewise.
6210
6211         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6212         (elmo-shimbun-index-range-alist): Ditto.
6213         (elmo-shimbun-use-entire-index): Abolish.
6214         (shimbun-mua-use-entire-index): Ditto.
6215         (elmo-shimbun-folder): Added new slot `range'.
6216         (elmo-folder-initialize): Setup slot `range'.
6217
6218 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6219
6220         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6221         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6222         (elmo-shimbun-get-headers): Use return value of
6223         `shimbun-article-expiration-days'.
6224         (elmo-folder-close-internal): Clean up last-check slot.
6225
6226         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6227         (elmo-pop3-total-size): New variable.
6228         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6229
6230         * elmo.el (elmo-folder-reserve-status-p): New method.
6231
6232         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6233         (elmo-shimbun-use-entire-index): New user option.
6234         (shimbun-elmo-mua): New class.
6235         (shimbun-mua-search-id): Define.
6236         (shimbun-mua-use-entire-index): Ditto.
6237         (elmo-shimbun-folder:last-check): New slot.
6238         (elmo-shimbun-headers-cache-header-list): Abolish.
6239         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6240         (elmo-shimbun-headers-cache-header-hash): Ditto.
6241         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6242         (elmo-shimbun-headers-cache-last-check): Ditto.
6243         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6244         (elmo-shimbun-headers-check-p): Rewrite.
6245         (elmo-shimbun-msgdb-to-headers): New function.
6246         (elmo-shimbun-get-headers): Rewrite.
6247         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6248         (elmo-folder-open-internal): Get headers only if
6249         `elmo-shimbun-headers-check-p' is non-nil.
6250         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6251         is non-nil.
6252         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6253         (elmo-quit): Removed.
6254
6255         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6256         function.
6257         (elmo-msgdb-overview-entity-set-extra): Ditto.
6258         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6259
6260         * elmo-map.el (elmo-folder-status): Don't call
6261         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6262         is non-nil.
6263
6264 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6265
6266         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6267         of `elmo-msgdb-search-internal-primitive' when condition's car is
6268         `and' or `or'.
6269
6270 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6271
6272         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6273
6274 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6275
6276         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6277         call `elmo-pipe-drain'.
6278
6279 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6280
6281         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6282         typo. (elmo-cache-folder -> elmo-mark-folder)
6283
6284 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6285
6286         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6287         `elmo-message-fetch'.
6288
6289 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6290
6291         * elmo-net.el (elmo-message-encache): Fixed typo.
6292         (elmo-message-fetch-unplugged): Changed call
6293         `elmo-message-fetch-internal' without argument `outbuf'.
6294
6295 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6296
6297         * elmo.el (elmo-message-encache): Define as generic function.
6298         (elmo-message-fetch-field): New generic function.
6299         (elmo-message-fetch-with-cache-process): Cause an error when
6300         fetch strategy is 'entire but only 'section cache is available.
6301         (toplevel): Fixed nmz folder definition.
6302
6303         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6304         (elmo-msgdb-resume-list-filename): Ditto.
6305         (elmo-queue-filename): Ditto.
6306         (elmo-enable-disconnected-operation): Changed default value to t.
6307
6308         * elmo-util.el (elmo-cache-path-section-p): New function.
6309         (elmo-file-cache-get): Use it.
6310         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6311         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6312         (elmo-dop-queue-save): Ditto.
6313
6314         * elmo-net.el (elmo-folder-status-unplugged): Call
6315         elmo-folder-status-dop.
6316         (elmo-folder-list-messages-unplugged): Implemented.
6317         (elmo-folder-delete-messages-unplugged): Define.
6318         (elmo-folder-msgdb-create): Define.
6319         (elmo-folder-msgdb-create-unplugged): Define.
6320         (elmo-folder-mark-as-read-unplugged): Ditto.
6321         (elmo-folder-unmark-read-unplugged): Ditto.
6322         (elmo-folder-mark-as-important-unplugged): Ditto.
6323         (elmo-folder-unmark-important-unplugged): Ditto.
6324         (elmo-message-encache): Ditto.
6325
6326         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6327         (elmo-dop-queue-save): Ditto.
6328
6329         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6330         `elmo-folder-msgdb-create'.
6331         (elmo-folder-append-buffer): Implemented unplugged operation.
6332         (elmo-folder-append-messages): Call parent method in unplugged status.
6333         (elmo-message-fetch-unplugged): Removed definition.
6334         (elmo-message-fetch-field): Implemented.
6335
6336         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6337         (elmo-dop-folder): Removed variable definition.
6338         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6339         (elmo-dop-queue-flush): Implemented.
6340         (elmo-dop-queue-merge): Removed definition (TODO).
6341         (elmo-dop-spool-folder): New function.
6342         (elmo-dop-spool-folder-append-buffer): Ditto.
6343         (elmo-dop-spool-folder-list-messages): Ditto.
6344         (elmo-dop-list-deleting-messages): Ditto.
6345         (elmo-folder-append-buffer-dop): Ditto.
6346         (elmo-folder-delete-messages-dop): Ditto.
6347         (elmo-message-encache-dop): New inline function.
6348         (elmo-create-folder-dop): Ditto.
6349         (elmo-folder-mark-as-read-dop): Ditto.
6350         (elmo-folder-unmark-read-dop): Ditto.
6351         (elmo-folder-mark-as-important-dop): Ditto.
6352         (elmo-folder-unmark-important-dop): Ditto.
6353         (elmo-folder-status-dop): Fixed.
6354         (elmo-folder-append-buffer-dop-delayed): New function.
6355         (elmo-folder-delete-messages-dop-delayed): Ditto.
6356         (elmo-dop-msgdb): Ditto.
6357
6358 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6359
6360         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6361
6362 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6363
6364         * elmo.el (elmo-folder-move-messages): Fixed problem when
6365         `dst-folder' is 'null.
6366
6367 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6368
6369         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6370         instead of current mark.
6371
6372         * elmo-multi.el (elmo-folder-list-importants-internal): No
6373         operation if importants is not list.
6374
6375         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6376         Return t if importants is not list.
6377
6378         * elmo-map.el (elmo-map-folder-list-importants): Define.
6379         (elmo-folder-list-importants-internal): Check return value of
6380         `elmo-map-folder-list-importants-internal'.
6381
6382         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6383
6384         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6385
6386         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6387
6388         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6389
6390 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6391
6392         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6393         (Patch is provided by <kita@coe.nttdata.co.jp>).
6394
6395 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6396
6397         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6398         mark folder.
6399
6400 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6401
6402         * elmo.el (elmo-message-fetch): Define.
6403         (elmo-message-fetch-with-cache-process): New generic method.
6404         (elmo-message-fetch-internal): New generic method.
6405         (elmo-folder-synchronize):
6406
6407         * elmo-archive.el (elmo-message-fetch-internal): Define.
6408         (elmo-message-fetch): Eliminated.
6409
6410         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6411         (elmo-message-fetch): Eliminated.
6412
6413         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6414         argument OUTBUF.
6415         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6416
6417         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6418         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6419
6420         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6421         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6422
6423         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6424
6425         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6426
6427         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6428
6429         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6430         (elmo-message-fetch-unplugged): New generic method.
6431         (elmo-message-fetch-internal): Remove cache process (Renamed from
6432         `elmo-message-fetch').
6433
6434         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6435         (elmo-message-fetch): Eliminated.
6436         (elmo-message-fetch-unplugged): Ditto.
6437
6438         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6439
6440 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6441
6442         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6443         of `to-be-deleted' from number-alist to number-list.
6444
6445 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6446
6447         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6448         (elmo-folder-mark-as-important): Ditto.
6449
6450 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6451
6452         * elmo.el (elmo-folder): Added process-duplicates slot.
6453
6454         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6455         (elmo-folder-unmark-read): Ditto.
6456         (elmo-folder-unmark-important): Ditto.
6457         (elmo-folder-mark-as-important): Ditto.
6458
6459         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6460         duplicated message processing.
6461
6462         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6463
6464 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6465
6466         * elmo-util.el (elmo-list-subdirectories-1): New function.
6467         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6468         (elmo-mapcar-list-of-list): New function.
6469
6470         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6471         `elmo-mapcar-list-of-list' instead of `mapcar'.
6472
6473         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6474
6475         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6476         `elmo-have-link-count'. Return the fully qualified folder name.
6477
6478 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6479
6480         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6481         (elmo-shimbun-headers-cache): New internal variable.
6482         (elmo-shimbun-headers-cache-header-list): New inline function.
6483         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6484         (elmo-shimbun-headers-cache-header-hash): Ditto.
6485         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6486         (elmo-shimbun-headers-cache-last-check): Ditto.
6487         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6488         (elmo-shimbun-lapse-seconds): Ditto.
6489         (elmo-shimbun-headers-cache-check-p): Ditto.
6490         (elmo-shimbun-get-headers): New function.
6491         (elmo-folder-open-internal): Call it.
6492         (elmo-quit): Define (Clear headers-cache).
6493
6494 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6495
6496         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6497
6498         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6499         (elmo-msgdb-flist-save): Ditto.
6500
6501         * elmo-shimbun.el (elmo-folder-list-subfolders):
6502         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6503         (elmo-folder-exists-p): Ditto.
6504
6505         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6506         argument for `shimbun-header-insert'.
6507
6508 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6509
6510         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6511         at first time.
6512
6513         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6514         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6515
6516 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6517
6518         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6519         (elmo-folder-plugged-p): Define.
6520         (elmo-folder-set-plugged): Ditto.
6521         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6522         (elmo-folder-list-messages-internal): Return t if unplugged.
6523         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6524
6525         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6526         when elmo-folder-list-messages-internal method of children returns t.
6527
6528         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6529         pair is nil.
6530         (elmo-folder-open-internal): Don't update if unplugged status.
6531
6532 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6533
6534         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6535         new message.
6536
6537 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6538
6539         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6540
6541         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6542         saving.
6543
6544 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6545
6546         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6547
6548         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6549         (elmo-folder-open-internal): Set up headers slot.
6550         (elmo-folder-check): Call elmo-folder-close-internal and
6551         elmo-folder-open-internal.
6552         (elmo-folder-close-internal): Clean up headers slot.
6553
6554 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6555
6556         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6557         exactly folder list.
6558         (elmo-folder-append-messages): Fixed append archive with prefix.
6559
6560         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6561         make temp files with start-number.
6562
6563         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6564
6565 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6566
6567         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6568         argument `visible-only'.
6569         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6570         instead of `if'.
6571
6572         * elmo-pop3.el (elmo-folder-open-internal): Check
6573         `elmo-inhibit-number-mapping' is non-nil.
6574
6575         * elmo-pipe.el (elmo-folder-status): Fixed.
6576
6577 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6578
6579         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6580
6581         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6582         (elmo-folder-open-internal): Setup `header-hash' slot.
6583         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6584         information.
6585         (elmo-map-message-fetch): Ditto.
6586
6587 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6588
6589         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6590         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6591         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6592         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6593
6594         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6595
6596 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6597
6598         * sb-airs.el: Added footer.
6599
6600         * shimbun.el (shimbun-article): Define as luna-method.
6601
6602         * sb-tcup.el: New file.
6603
6604         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6605         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6606
6607 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6608
6609         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6610         (shimbun-get-headers): Ditto.
6611
6612         * elmo.el: Moved obsolete variable definitions from
6613         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6614
6615         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6616         groups.
6617
6618         * shimbun.el: New file.
6619
6620         * elmo-shimbun.el: New file.
6621
6622         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6623         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6624         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6625         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6626
6627 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6628
6629         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6630         hierarchy is t.
6631
6632 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6633
6634         * elmo.el (elmo-folder-msgdb): Define as macro.
6635         (elmo-folder-open): Added argument `load-msgdb'.
6636         (elmo-generic-folder-open): Ditto.
6637         (elmo-folder-encache): New function.
6638
6639         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6640
6641         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6642
6643         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6644         Eliminated argument FOLDER and added argument MSGDB.
6645         (elmo-dop-queue-load): Moved from elmo-dop.el.
6646         (elmo-dop-queue-save): Ditto.
6647
6648         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6649
6650         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6651
6652         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6653         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6654         (elmo-filter-folder-list-importants-internal): Ditto.
6655
6656         * elmo-map.el (elmo-folder-pack-number): Ditto.
6657
6658         * elmo-mime.el (elmo-mime-message-display): Ditto.
6659
6660         * elmo.el (elmo-generic-folder-commit): Ditto.
6661         (elmo-folder-list-unreads): Ditto.
6662         (elmo-folder-list-importants): Ditto.
6663         (elmo-generic-folder-commit): Ditto.
6664         (elmo-message-set-mark): Ditto.
6665         (elmo-generic-folder-append-msgdb): Ditto.
6666         (elmo-folder-synchronize): Ditto.
6667         (elmo-folder-messages): Ditto.
6668         (elmo-init): Call elmo-dop-queue-load.
6669         (elmo-folder-list-messages): Ditto.
6670
6671         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6672         (elmo-nntp-folder-process-crosspost): Ditto.
6673         (elmo-folder-list-unreads-internal): Ditto.
6674
6675         * elmo-dop.el: Removed old functions.
6676
6677 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6678
6679         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6680         `folder' to `msgdb'.
6681
6682 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6683
6684         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6685         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6686
6687         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6688         case-fold-search.
6689
6690 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6691
6692         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6693         defined.
6694
6695         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6696         (mmimap-parse-parameters-from-list): Define as alias for
6697         `mime-decode-parameter-plist' if it is defined as function.
6698         (mmimap-make-mime-entity): Added argument `number'.
6699         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6700         as 0.
6701         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6702
6703         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6704
6705         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6706
6707         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6708
6709 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6710
6711         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6712
6713         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6714         when elmo-imap4-default-authenticate-type is nil.
6715         (elmo-folder-list-subfolders): Ditto
6716         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6717         (elmo-imap4-fetch-callback-1-subr): Renamed from
6718         `elmo-imap4-fetch-callback-1' and define as inline function.
6719         (elmo-imap4-fetch-callback-1):
6720         Renamed from `elmo-imap4-fetch-callback'.
6721         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6722
6723         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6724         msgdb path (To keep compatibility with main trunk).
6725
6726         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6727
6728         * elmo-util.el (elmo-make-file-cache): Moved position of
6729         some macros.
6730
6731         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6732         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6733         instead of `elmo-pop3-inhibit-uidl'.
6734         (elmo-folder-exists-p): Ditto.
6735         (elmo-pop3-folder-list-messages): Ditto.
6736
6737         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6738         instead of `elmo-pop3-inhibit-uidl'.
6739         (elmo-folder-status): Ditto.
6740
6741         * elmo-dop.el (elmo-dop-folder): New variable.
6742         (elmo-dop-lock-message): Eliminated.
6743         (elmo-dop-unlock-message): Ditto.
6744         (elmo-dop-lock-list-load): Ditto.
6745         (elmo-dop-lock-list-save): Ditto.
6746         (elmo-dop-delete-folder): Ditto.
6747         (elmo-dop-rename-folder): Ditto.
6748
6749         * elmo.el: Removed incomplete commentary.
6750
6751 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6752
6753         * elmo.el (toplevel): Require 'elmo-version first;
6754         for little `recursive-load-depth' settings.
6755         Fix "ends here" comment.
6756
6757 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6758
6759         * elmo-util.el (toplevel): Require 'poem;
6760         Some functions are moved from elmo-cache.el.
6761
6762         * elmo-net.el (toplevel): Require 'elmo-cache.
6763
6764         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6765
6766         * elmo.el (toplevel): Ditto.
6767
6768         * elmo-cache.el: Rewrite with luna;
6769         Some functions are moved to elmo-util.el.
6770
6771         * elmo-internal.el (elmo-internal-folder-list): New variable.
6772         (elmo-internal-folder-initialize): Rewrite.
6773         (elmo-folder-list-subfolders): Ditto.
6774
6775         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6776         (elmo-cache-collect-sub-directories): Ditto.
6777
6778 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6779
6780         * elmo-version.el (elmo-version): Up to 2.5.8.
6781
6782         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6783
6784         * elmo-util.el (elmo-list-insert): New function.
6785
6786 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6787
6788         * elmo.el (elmo-init): New function.
6789         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6790
6791         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6792         (Renamed from `elmo-localdir-header-chop-length').
6793
6794         * elmo-pop3.el (elmo-pop3-use-cache,
6795         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6796
6797         * elmo-nntp.el (elmo-message-fetch): Define.
6798         (elmo-message-fetch-unplugged): Ditto.
6799         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6800         (elmo-nntp-use-cache): Ditto.
6801         (elmo-nntp-max-number-precedes-list-active): Ditto.
6802
6803         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6804
6805         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6806         `elmo-msgdb-insert-file-header'.
6807         Use `elmo-msgdb-file-header-chop-length'.
6808
6809         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6810         `elmo-vars.el'.
6811
6812         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6813         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6814         `elmo-msgdb-insert-file-header'.
6815
6816         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6817         Use new variable;
6818         Define obsolete variables with `elmo-define-obsolete-variable',
6819
6820         * elmo-util.el (elmo-warning-buffer-name): New constant.
6821         (elmo-warning): New function.
6822         (elmo-obsolete-variable-alist): New variable.
6823         (elmo-obsolete-variable-show-warnings): New variable.
6824         (elmo-define-obsolete-variable): New function.
6825         (elmo-resque-obsolete-variable): Ditto.
6826         (elmo-resque-obsolete-variables): Ditto.
6827
6828 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6829
6830         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6831         Eliminated.
6832
6833         * elmo-pop3.el, elmo-nntp.el: Use custom.
6834
6835 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6836
6837         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6838         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6839
6840 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6841
6842         * Luna-fy Kenichi OKADA's following changes.
6843         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6844         `nohide'.
6845         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6846
6847 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6848
6849         * elmo-util.el (elmo-display-progress): Prefer
6850         `progress-feedback-with-label' to `lprogress-display'.
6851
6852 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6853
6854         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6855
6856 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6857
6858         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6859         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6860         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6861         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6862         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6863         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6864         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6865         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6866         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6867         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6868         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6869         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6870         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6871
6872 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6873
6874         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6875         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6876
6877 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6878
6879         * elmo.el (elmo-folder-process-crosspost): New generic method.
6880         (elmo-folder-writable-p): Ditto.
6881         (elmo-folder-message-appendable-p): Eliminated.
6882         (elmo-generic-folder-append-msgdb): Rewrite.
6883         (elmo-newsgroups-hashtb): New internal variable.
6884         (elmo-crosspost-message-set): Eliminated.
6885         (elmo-crosspost-message-delete): Ditto.
6886         (elmo-setup-subscribed-newsgroups): New function.
6887         (elmo-crosspost-message-alist-modified): New internal variable.
6888         (elmo-crosspost-message-alist-load): New function (Renamed from
6889         `wl-crosspost-alist-load').
6890         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6891         `wl-crosspost-alist-save').
6892
6893         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6894
6895         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6896         `unreads'.
6897         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6898         elmo-newsgroups-hashtb).
6899         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6900         `elmo-nntp-folder-update-crosspost-message-alist'.
6901         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6902         `elmo-nntp-groups-hashtb'.
6903         (elmo-nntp-make-groups-hashtb): Eliminated.
6904         (elmo-nntp-parse-newsgroups): New function (Renamed from
6905         `wl-parse-newsgroups').
6906         (elmo-folder-creatable-p, elmo-folder-writable-p,
6907         elmo-folder-close-internal, elmo-folder-mark-as-read,
6908         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6909         Define.
6910         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6911
6912         * elmo-net.el (elmo-message-fetch): Check buffer size.
6913
6914         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6915
6916         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6917
6918         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6919         before `close' command.
6920
6921         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6922         `mark-alist' (All other related portions are changed).
6923
6924 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6925
6926         * elmo-util.el (elmo-create-hash-size): Eliminated.
6927         (elmo-make-hash) Make a hash with `one less than a power of two'
6928         length.
6929
6930         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6931         (elmo-hash-maximum-size): Changed value.
6932
6933 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6934
6935         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6936         (elmo-mime-message-display-as-is): Ditto.
6937
6938 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6939
6940         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6941         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6942
6943 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6944
6945         * elmo-mark.el: New file.
6946
6947         * elmo-internal.el: Rewrite (Almost empty).
6948
6949 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6950
6951         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6952         (mime-imap-entity-header-string): Ditto.
6953         (mmimap-entity-section): Rewrite.
6954
6955 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6956
6957         * elmo-nmz.el: New file.
6958
6959         * elmo-pipe.el: Rewrite with luna.
6960
6961 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6962
6963         * elmo-archive.el: Rewrite with luna.
6964
6965         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6966         (elmo-folder-list-importants-internal): Ditto.
6967
6968 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6969
6970         * elmo-archive.el (elmo-archive-version): Abolish.
6971         (toplevel) Removed `boso' comment.
6972
6973 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6974
6975         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6976         elmo-msgdb-add-msgs-to-seen-list-subr;
6977         Changed argument seen-marks to unread-marks.
6978
6979         * elmo-nntp.el: Rewrite with luna.
6980
6981 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6982
6983         * elmo-filter.el: Rewrite with luna.
6984
6985 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6986
6987         * elmo-pop3.el: Rewrite with luna.
6988
6989 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
6990
6991         * elmo-multi.el: Rewrite with luna.
6992
6993         * elmo-vars.el (elmo-use-killed-list): Abolish.
6994         All other related portions are changed.
6995         (elmo-filename-replace-string-alist): Renamed from
6996         elmo-msgid-replace-string-alist.
6997
6998 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
6999
7000         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7001
7002         * elmo-map.el: New file.
7003         * elmo-maildir.el: Rewrite with luna.
7004
7005 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7006
7007         * elmo.el: Changed meaning of `elmo-folder-commit'.
7008         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7009
7010 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7011
7012         * elmo.el (elmo-folder-append-buffer): New function.
7013         (Renamed from `elmo-append-msg')
7014
7015 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7016
7017         * elmo-mime.el: New file.
7018
7019 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7020
7021         * elmo-cache.el: Rewrite.
7022
7023 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7024
7025         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7026
7027 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7028
7029         * elmo-vars.el (elmo): New group.
7030         (elmo-strict-diff-folder-regexp): New variable.
7031
7032         * elmo-util.el (elmo-call-func): Abolish.
7033         (elmo-folder-get-type): Ditto.
7034         (elmo-*-get-spec): Ditto.
7035         (elmo-*-spec-*): Ditto.
7036         (elmo-imap4-identical-name-space-p): Ditto.
7037         (elmo-folder-identical-system-p): Ditto.
7038         (elmo-folder-direct-copy-alist): Ditto.
7039         (elmo-folder-direct-copy-p): Ditto.
7040
7041         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7042         (elmo-folder-initialize): Define.
7043         (elmo-folder-get-primitive-list): Ditto.
7044
7045         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7046         (elmo-folder-initialize): Define.
7047         Renamed `elmo-network-session-host-internal' to
7048         `elmo-network-session-server-internal'.
7049
7050         * elmo-multi.el (elmo-multi-folder): New luna class.
7051         (elmo-folder-initialize): Define.
7052         (elmo-folder-get-primitive-list): Ditto.
7053         (elmo-folder-contains-type): Ditto.
7054         (elmo-message-use-cache-p): Ditto.
7055
7056         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7057         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7058
7059         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7060         (elmo-folder-initialize): Define.
7061
7062         * elmo-filter.el (elmo-filter-folder): New luna class.
7063         (elmo-folder-initialize): Define.
7064         (elmo-folder-get-primitive-list): Ditto.
7065         (elmo-folder-contains-type): Ditto.
7066
7067 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7068
7069         * elmo-imap4.el: Rewrite with luna.
7070
7071         * mmimap.el: New file.
7072
7073         * mmelmo.el, mmelmo-imap4.el: Removed.
7074
7075         * elmo-net.el: Ditto.
7076
7077         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7078         (elmo-folder-initialize): Define.
7079
7080         * elmo-archive.el (elmo-archive-folder): New luna class.
7081         (elmo-folder-initialize): Define.
7082
7083         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7084         `elmo-folder-msgdb-path'.
7085         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7086         `elmo-make-folder'.
7087
7088 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7089
7090         * elmo.el: New file.
7091
7092         * elmo2.el: Renamed to elmo.el.
7093
7094 \f
7095 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7096
7097         * elmo-cache.el (elmo-cache-expire-by-size): Count
7098         a disk usage for a cache file entry in KB even when
7099         its kind is a directory.
7100
7101 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7102
7103         * elmo-version.el (elmo-version): Up to 2.5.7.
7104
7105 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7106
7107         * elmo-version.el (elmo-version): Up to 2.5.6.
7108
7109 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7110
7111         * elmo-version.el (elmo-version): Up to 2.5.5.
7112
7113 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7114
7115         * elmo-imap4.el (elmo-network-authenticate-session):
7116         Fixed a logic for response checking.
7117
7118 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7119
7120         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7121         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7122         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7123         `sasl-mechanisms'.
7124
7125         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7126         for `starttls-open-stream' and `starttls-negotiate'.
7127
7128         * elmo-nntp.el: Remove autoload settings for
7129         `starttls-open-stream' and `starttls-negotiate'.
7130
7131         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7132         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7133         `luna-define-class' with `eval-and-compile'.
7134
7135 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7136
7137         * elmo-util.el (elmo-read-search-condition-internal):
7138         Require an element of table for searching field.
7139
7140 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7141
7142         * elmo-version.el (elmo-version): Up to 2.5.4.
7143
7144 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7145
7146         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7147
7148 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7149
7150         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7151
7152 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7153
7154         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7155         before greeting.
7156
7157 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7158
7159         * elmo-imap4.el (elmo-imap4-delete-folder):
7160         Send "close" before "delete" (Use commented out line).
7161         (elmo-imap4-rename-folder): Ditto.
7162
7163         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7164         folder string itself.
7165         (elmo-dop-list-deleted): New function.
7166         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7167         killed.
7168
7169         * elmo-util.el (elmo-string-rassoc-all): New function.
7170
7171 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7172
7173         * elmo-version.el (elmo-version): Up to 2.5.3.
7174
7175         * elmo-net.el (elmo-network-get-session): Changed logic for
7176         checking process status.
7177
7178         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7179         process is nil;
7180         Changed logic for checking process status.
7181
7182 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7183
7184         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7185         before greeting.
7186         (elmo-network-setup-session): Set UIDL hash size according to
7187         the length of list response.
7188         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7189         according to the length of list response;
7190         Return the length of list response.
7191         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7192
7193 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7194
7195         * elmo-imap4.el (toplevel): Require 'ssl.
7196         Add autoload 'starttls.
7197         * elmo-pop3.el (toplevel): Ditto.
7198         * elmo-nntp.el (toplevel): Ditto.
7199
7200 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7201
7202         * elmo-imap4.el (toplevel): defun at compile time.
7203         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7204         sasl-next-step, sasl-step-data, sasl-step-set-data.
7205         * elmo-pop3.el (toplevel): Ditto.
7206
7207 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7208
7209         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7210
7211 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7212
7213         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7214         if error.
7215         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7216         and `elmo-pop-auth-apop'.
7217
7218 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7219
7220         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7221
7222 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7223
7224         * elmo-pop3.el (elmo-network-authenticate-session): Split
7225         encoded response value.
7226
7227 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7228
7229         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7230         `elmo-pop3-force-login'.
7231         Redefine `sasl-mechanisms'.
7232         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7233
7234 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7235
7236         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7237         Delete `elmo-imap4-authenticator-alist'.
7238         (elmo-imap4-auth-cram-md5): Delete.
7239         (elmo-imap4-auth-digest-md5): Delete.
7240
7241 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7242
7243         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7244         (elmo-pop3-auth-scram-md5): Ditto.
7245         (elmo-pop3-auth-cram-md5): Ditto.
7246
7247 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7248
7249         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7250         Delete `elmo-pop3-authenticator-alist'.
7251
7252 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7253
7254         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7255         new SASL API.
7256         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7257
7258 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7259
7260         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7261
7262 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7263
7264         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7265         Fixed problem when `elmo-pop3-use-uidl' is nil.
7266         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7267
7268 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7269
7270         * elmo-version.el (elmo-version): Up to 2.5.2.
7271
7272 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7273
7274         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7275         New function.
7276         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7277         (elmo-pop3-msgdb-create-as-numlist): Use it.
7278
7279         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7280         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7281
7282         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7283         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7284
7285 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7286
7287         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7288         when elmo-mark-as-read is called with second argument nil.
7289
7290 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7291
7292         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7293         Moved to elmo-util.el.
7294
7295         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7296         Moved from elmo-pipe.el
7297
7298         * elmo-archive.el (elmo-archive-call-process): Enclose with
7299         static-if.
7300
7301         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7302         "RFC822" (because RFC822.PEEK is obsolete).
7303         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7304
7305 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7306
7307         * elmo-archive.el (elmo-archive-call-process): Don't check for
7308         the exit status when Nemacs is running.
7309
7310 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7311
7312         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7313         'plain.
7314
7315         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7316         (elmo-pop3-get-spec): Set default of auth to 'user.
7317
7318         * elmo-imap4.el (elmo-imap4-session-check):
7319         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7320         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7321         (elmo-imap4-auth-login): New function; Revival.
7322         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7323         `elmo-imap4-auth-login'.
7324
7325 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7326
7327         * elmo2.el (toplevel): Move `product-provide' declare.
7328         * mmelmo.el (toplevel): Ditto.
7329
7330 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7331
7332         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7333
7334 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7335
7336         * elmo-util.el (elmo-folder-get-store-type): New function.
7337         (elmo-folder-direct-copy-p): Use it.
7338
7339 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7340
7341         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7342         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7343         and result of `elmo-imap4-use-flag-p'.
7344         (elmo-imap4-fetch-callback-1): Set mark according to
7345         the result of `elmo-imap4-use-flag-p'.
7346
7347 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7348
7349         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7350         (elmo-generic-list-folder-unread): Ditto.
7351         (elmo-folder-get-info): Ditto.
7352         (elmo-folder-set-info-max-by-numdb): Ditto.
7353         (elmo-folder-get-info-max): Ditto.
7354         (elmo-folder-get-info-length): Ditto.
7355         (elmo-folder-get-info-unread): Ditto.
7356         (elmo-folder-info-make-hashtb): Ditto.
7357
7358         * elmo2.el: Removed above functions.
7359
7360 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7361
7362         * elmo-imap4.el (toplevel): Require 'ssl.
7363         Add autoload 'starttls.
7364         * elmo-pop3.el (toplevel): Ditto.
7365         * elmo-nntp.el (toplevel): Ditto.
7366
7367 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7368
7369         * elmo-imap4.el (toplevel): defun at compile time.
7370         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7371         sasl-next-step, sasl-step-data, sasl-step-set-data.
7372         * elmo-pop3.el (toplevel): Ditto.
7373
7374 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7375
7376         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7377
7378 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7379
7380         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7381         if error.
7382         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7383         and `elmo-pop-auth-apop'.
7384
7385 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7386
7387         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7388
7389 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7390
7391         * elmo-pop3.el (elmo-network-authenticate-session): Split
7392         encoded response value.
7393
7394 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7395
7396         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7397         `elmo-pop3-force-login'.
7398         Redefine `sasl-mechanisms'.
7399         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7400
7401 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7402
7403         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7404         Delete `elmo-imap4-authenticator-alist'.
7405         (elmo-imap4-auth-cram-md5): Delete.
7406         (elmo-imap4-auth-digest-md5): Delete.
7407
7408 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7409
7410         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7411         (elmo-pop3-auth-scram-md5): Ditto.
7412         (elmo-pop3-auth-cram-md5): Ditto.
7413
7414 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7415
7416         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7417         Delete `elmo-pop3-authenticator-alist'.
7418
7419 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7420
7421         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7422         new SASL API.
7423         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7424
7425 \f
7426 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7427
7428         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7429
7430 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7431
7432         * elmo-nntp.el (elmo-nntp-get-folders-info):
7433         Fixed problem when '\' character is contained in user-id.
7434         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7435
7436 \f
7437 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7438
7439         * elmo-imap4.el (elmo-imap4-delete-folder):
7440         Send "close" before "delete" (Use commented out line).
7441         (elmo-imap4-rename-folder): Ditto.
7442
7443         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7444         folder string itself.
7445         (elmo-dop-list-deleted): New function.
7446         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7447         killed.
7448
7449         * elmo-util.el (elmo-string-rassoc-all): New function.
7450
7451         * elmo-version.el (elmo-version): Up to 2.5.1.
7452
7453 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7454
7455         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7456
7457         * elmo-internal.el (elmo-internal-search): Fix last change.
7458
7459 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7460
7461         * elmo-internal.el (elmo-internal-search): Rewrite.
7462         (Fixed problem which is pointed out by Akihiro MOTOKI
7463         <motoki@da.jp.nec.com>)
7464
7465         * elmo-version.el (elmo-version): Up to 2.5.0.
7466
7467 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7468
7469         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7470
7471 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7472
7473         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7474         non-nil, make hierarchy.
7475
7476 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7477
7478         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7479         `elmo-pop3-use-uidl' must be bound to nil.
7480         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7481
7482 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7483
7484         * elmo-util.el (elmo-copy-file): Don't cause an error after
7485         `add-name-to-file' failed.
7486
7487         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7488         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7489
7490 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7491
7492         * elmo-version.el (elmo-version): Up to 2.3.93.
7493
7494 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7495
7496         * elmo-util.el (elmo-flatten): New function.
7497
7498 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7499
7500         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7501         sync Author header.
7502         * elmo-cache.el (toplevel): Ditto.
7503         * elmo-database.el (toplevel): Ditto.
7504         * elmo-date.el (toplevel): Ditto.
7505         * elmo-dop.el (toplevel): Ditto.
7506         * elmo-filter.el (toplevel): Ditto.
7507         * elmo-imap4.el (toplevel): Ditto.
7508         * elmo-internal.el (toplevel): Ditto.
7509         * elmo-localdir.el (toplevel): Ditto.
7510         * elmo-localnews.el (toplevel): Ditto.
7511         * elmo-maildir.el (toplevel): Ditto.
7512         * elmo-msgdb.el (toplevel): Ditto.
7513         * elmo-multi.el (toplevel): Ditto.
7514         * elmo-net.el (toplevel): Ditto.
7515         * elmo-nntp.el (toplevel): Ditto.
7516         * elmo-pipe.el (toplevel): Ditto.
7517         * elmo-pop3.el (toplevel): Ditto.
7518         * elmo-util.el (toplevel): Ditto.
7519         * elmo-vars.el (toplevel): Ditto.
7520         * elmo2.el (toplevel): Ditto.
7521         * mmelmo-imap4.el (toplevel): Ditto.
7522         * mmelmo.el (toplevel): Ditto.
7523
7524         * elmo-version.el (elmo-version): Move to top.
7525
7526         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7527         * elmo-imap4.el (toplevel): Ditto.
7528         * elmo-localdir.el (toplevel): Ditto.
7529         * elmo-msgdb.el (toplevel): Ditto.
7530         * elmo-nntp.el (toplevel): Ditto.
7531         * elmo-pop3.el (toplevel): Ditto.
7532         * elmo-version.el (toplevel): Ditto.
7533
7534         * elmo-localnews.el (toplevel): Added Keyword header.
7535
7536 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7537
7538         * elmo-version.el (product-version-as-string): Defined using
7539         `defun-maybe'.
7540         (toplevel): Use it.
7541
7542         * elmo-localdir.el (toplevel): Updated copyright notice.
7543         * elmo-version.el (toplevel): Ditto.
7544         * elmo-msgdb.el (toplevel): Ditto.
7545         * elmo-imap4.el (toplevel): Ditto.
7546         * elmo-nntp.el (toplevel): Ditto.
7547         * elmo-pop3.el (toplevel): Ditto.
7548
7549 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7550
7551         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7552         messages.
7553
7554         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7555         parameter value (It sometimes contains raw kanji).
7556
7557 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7558
7559         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7560         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7561
7562 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7563
7564         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7565
7566 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7567
7568         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7569         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7570
7571 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7572
7573         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7574         value if selecting folder succceeded.
7575         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7576
7577 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7578
7579         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7580         representation.
7581
7582         * elmo-util.el (elmo-string-matched-member): New function.
7583
7584 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7585
7586         * elmo-util.el (elmo-unintern): New macro.
7587         (elmo-number-set-member): Fixed docstring.
7588
7589         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7590         tag token.
7591
7592 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7593
7594         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7595         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7596
7597 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7598
7599         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7600         `no-error'.
7601         Added docstring.
7602         Return non-nil if selecting folder succeeded.
7603         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7604
7605 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7606
7607         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7608         `file-name-completion' returns t.
7609         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7610         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7611         directory if it does not exist.
7612         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7613         for iteration.
7614
7615 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7616
7617         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7618         enclosure (It's harmful in unplugged status).
7619
7620         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7621
7622         * mmelmo-1.el: Removed.
7623
7624         * mmelmo-2.el: Ditto.
7625
7626         * mmelmo-imap4-1.el: Ditto.
7627
7628         * mmelmo-imap4-2.el: Ditto.
7629
7630         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7631
7632         * mmelmo.el: Merged mmelmo-2.el.
7633
7634         * elmo-version.el (elmo-version): Up to 2.3.92.
7635
7636 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7637
7638         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7639         elmo-update-number): Remove last period in "...done." message.
7640         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7641         Ditto.
7642         * elmo-cache.el (elmo-cache-expire-by-size,
7643         elmo-cache-get-sorted-cache-file-list,
7644         elmo-cache-msgdb-create-as-numlist): Ditto.
7645         * elmo-dop.el (elmo-dop-save-pending-messages,
7646         (elmo-dop-flush-pending-append-operations): Ditto.
7647         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7648         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7649         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7650         (elmo-localdir-pack-number): Ditto.
7651         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7652         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7653         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7654         mime-write-entity-content): Ditto.
7655         * pldap.el (ldap-search-basic): Ditto.
7656
7657 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7658
7659         * elmo-version.el (elmo-version): Up to 2.3.91.
7660
7661         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7662         Only when filter is 'last'.
7663
7664         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7665         (elmo-condition-parse-search-value): Use it.
7666         (elmo-read-search-condition-internal): Quote value only when
7667         it is not an atom.
7668
7669 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7670
7671         * elmo2.el (elmo-generic-folder-diff): Fix.
7672
7673 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7674
7675         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7676         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7677         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7678         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7679         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7680         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7681
7682 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7683
7684         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7685         extra-fields.
7686
7687 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7688
7689         * elmo-version.el (elmo-version): Up to 2.3.90.
7690
7691         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7692         (elmo-imap4-list-folder-important): Ditto.
7693
7694 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7695
7696         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7697
7698 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7699
7700         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7701
7702 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7703
7704         * elmo-nntp.el (elmo-network-initialize-session):
7705         Add starttls negotiation.
7706
7707 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7708
7709         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7710         response.
7711         (elmo-network-setup-session): Define.
7712         Call `elmo-nntp-send-mode-reader' when session opened.
7713
7714 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7715
7716         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7717
7718 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7719
7720         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7721         an invalid SPACE character ahead of `SEARCH' command.  Move
7722         a valid SPACE character following `SEARCH' from conditional
7723         `format' arguments to control-strings.
7724
7725 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7726
7727         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7728         was succeeded.
7729
7730         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7731
7732 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7733
7734         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7735         `w32-get-true-file-link-count' as t.
7736
7737         * elmo-imap4.el (elmo-imap4-read): Abolished.
7738         (Renamed to `elmo-read' and moved to elmo-util.el)
7739         All other related portions are changed.
7740
7741         * elmo-util.el (elmo-read): New function.
7742         (elmo-condition-parse-search-value): Use it.
7743
7744 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7745
7746         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7747
7748         * elmo-nntp.el (elmo-nntp-session): Define.
7749         (elmo-nntp-setting): Abolished.
7750         All other related portions are changed.
7751         (elmo-nntp-get-server-command): Changed argument.
7752         (elmo-nntp-set-server-command): Ditto.
7753         (elmo-nntp-xover-p): Ditto.
7754         (elmo-nntp-set-xover): Ditto.
7755         (elmo-nntp-listgroup-p): Ditto.
7756         (elmo-nntp-set-listgroup): Ditto.
7757         (elmo-nntp-list-active-p): Ditto.
7758         (elmo-nntp-set-list-active): Ditto.
7759         (elmo-nntp-xhdr-p): Ditto.
7760         (elmo-nntp-set-xhdr): Ditto.
7761         (elmo-nntp-flush-connection): Abolished.
7762         (elmo-nntp-get-connection): Abolished.
7763         (elmo-nntp-get-session): New function.
7764         (elmo-network-initialize-session): Defined.
7765         (elmo-network-authenticate-session): Ditto.
7766         (elmo-nntp-send-mode-reader): Changed argument.
7767         (elmo-nntp-send-command): Changed argument.
7768         All other related portions are changed.
7769         (elmo-nntp-read-response): Ditto.
7770         (elmo-nntp-read-raw-response): Ditto.
7771         (elmo-nntp-read-contents): Ditto.
7772         (elmo-nntp-read-body): Ditto.
7773         (elmo-nntp-goto-folder): Abolished.
7774         (elmo-nntp-select-group): New function.
7775         All other related portions are changed.
7776         (This function substitutes `elmo-nntp-goto-folder')
7777         (elmo-nntp-msgdb-create-by-header): Rewrite.
7778         (elmo-nntp-get-overview): Eliminated.
7779         (elmo-nntp-get-message): Ditto.
7780         (elmo-nntp-open-connection) Abolished.
7781         (elmo-nntp-read-msg): Rewrite.
7782         (elmo-nntp-post): Ditto.
7783         (elmo-nntp-send-data): Abolished.
7784         (elmo-nntp-send-buffer): New function.
7785         (elmo-nntp-send-data-line): Define as inline function.
7786         (elmo-nntp-get-folders-info-prepare): Use session as key.
7787         (elmo-nntp-groups-read-response): Changed argument.
7788         (elmo-nntp-retrieve-headers): Ditto.
7789         (elmo-nntp-msgdb-create-message): Ditto.
7790
7791         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7792         when searching by 'since' or 'before'.
7793
7794 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7795
7796         * elmo-version.el (toplevel): Use product-version-as-string for set
7797         verstion-string, if defined.
7798
7799 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7800
7801         * elmo-util.el: Doc fixes.
7802
7803 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7804
7805         * elmo-archive.el (toplevel): Use product-provide.
7806         * elmo-cache.el (toplevel): Ditto.
7807         * elmo-database.el (toplevel): Ditto.
7808         * elmo-date.el (toplevel): Ditto.
7809         * elmo-dop.el (toplevel): Ditto.
7810         * elmo-filter.el (toplevel): Ditto.
7811         * elmo-imap4.el (toplevel): Ditto.
7812         * elmo-internal.el (toplevel): Ditto.
7813         * elmo-localdir.el (toplevel): Ditto.
7814         * elmo-localnews.el (toplevel): Ditto.
7815         * elmo-maildir.el (toplevel): Ditto.
7816         * elmo-msgdb.el (toplevel): Ditto.
7817         * elmo-multi.el (toplevel): Ditto.
7818         * elmo-net.el (toplevel): Ditto.
7819         * elmo-nntp.el (toplevel): Ditto.
7820         * elmo-pipe.el (toplevel): Ditto.
7821         * elmo-pop3.el (toplevel): Ditto.
7822         * elmo-util.el (toplevel): Ditto.
7823         * elmo-vars.el (toplevel): Ditto.
7824         * elmo2.el (toplevel): Ditto.
7825         * mmelmo-1.el (toplevel): Ditto.
7826         * mmelmo-2.el (toplevel): Ditto.
7827         * mmelmo-imap4-1.el (toplevel): Ditto.
7828         * mmelmo-imap4-2.el (toplevel): Ditto.
7829         * mmelmo-imap4.el (toplevel): Ditto.
7830         * mmelmo.el (toplevel): Ditto.
7831
7832 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7833
7834         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7835         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7836
7837 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7838
7839         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7840         before splitting.
7841         (elmo-multi-split-number-alist): Ditto.
7842
7843 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7844
7845         * elmo-version.el: New file.  Use product.el.
7846         * elmo2.el: Add (require 'elmo-version).
7847         * elmo-vars.el (elmo-appname, elmo-version): Move to
7848         elmo-version.el
7849
7850 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7851
7852         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7853         `elmo-msgdb-expand-path'.
7854         (elmo-msgdb-load): Ditto.
7855         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7856         (elmo-generic-list-folder-unread): Rewrite.
7857         (elmo-generic-list-folder-important): Changed argument.
7858         (elmo-list-folder-unread): Ditto.
7859         (elmo-list-folder-important): Ditto.
7860         (elmo-folder-diff): Rewrite.
7861         (elmo-generic-folder-diff): New function.
7862         (elmo-multi-get-number-alist-list): Abolished
7863         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7864         (elmo-multi-folder-diff): Moved to elmo-multi.el
7865         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7866
7867         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7868         `elmo-msgdb-expand-path'.
7869         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7870         (elmo-pop3-read-msg): Ditto.
7871         (elmo-pop3-delete-msgs): Ditto.
7872         (elmo-pop3-folder-diff): New alias.
7873
7874         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7875         `elmo-msgdb-expand-path'.
7876         (elmo-pipe-list-folder-unread): Changed arguments.
7877         (elmo-pipe-list-folder-important): Ditto.
7878         (elmo-pipe-folder-diff): New alias.
7879
7880         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7881         `elmo-msgdb-expand-path'.
7882         (elmo-nntp-max-of-folder): Ditto.
7883         (elmo-nntp-msgdb-create): Ditto.
7884         (elmo-nntp-delete-msgs): Ditto.
7885         (elmo-nntp-folder-diff): New alias.
7886
7887         * elmo-multi.el (elmo-multi-folder-diff): New function.
7888         (elmo-multi-split-mark-alist): Ditto.
7889         (elmo-multi-split-number-alist): Ditto.
7890         (elmo-multi-mark-alist-list): Abolished (Renamed to
7891         elmo-multi-split-mark-alist).
7892         (elmo-multi-list-folder-unread): Rewrite.
7893         (elmo-multi-list-folder-important): Ditto.
7894         (elmo-multi-list-folder): Set `spec' as 1st argument for
7895         `elmo-msgdb-expand-path'.
7896         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7897         instead of `elmo-multi-get-number-alist-list'.
7898
7899         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7900         If 1st argument is not string, treat as spec.
7901         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7902         `elmo-msgdb-expand-path'.
7903         (elmo-msgdb-flist-load): Ditto.
7904         (elmo-msgdb-flist-save): Ditto.
7905         (elmo-msgdb-delete-path): Ditto.
7906         (elmo-msgdb-rename-path): Ditto.
7907
7908         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7909         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7910         (elmo-maildir-delete-mark-msgs): Ditto.
7911         (elmo-maildir-msgdb-create): Ditto.
7912         (elmo-maildir-read-msg): Ditto.
7913         (elmo-maildir-delete-msgs): Ditto.
7914         (elmo-maildir-list-folder-subr): Ditto.
7915         (elmo-maildir-search): Ditto.
7916         (elmo-maildir-get-msg-filename): Ditto.
7917         (elmo-maildir-pack-number): Ditto.
7918         (elmo-maildir-folder-diff): New alias.
7919
7920         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7921
7922         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7923         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7924         (elmo-localdir-folder-diff): New alias.
7925
7926         * elmo-internal.el (elmo-internal-list-folder-subr):
7927         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7928         (elmo-internal-list-folder-by-location): Ditto.
7929         (elmo-internal-msgdb-create): Ditto.
7930         (elmo-internal-delete-msgs): Ditto.
7931         (elmo-internal-read-msg): Ditto.
7932         (elmo-internal-folder-diff): New alias.
7933
7934         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7935         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7936         `elmo-msgdb-expand-path'.
7937         (elmo-imap4-list-folder-unread): Changed arguments.
7938         (elmo-imap4-list-folder-important): Ditto.
7939
7940         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7941         (elmo-filter-list-folder-important): Ditto.
7942         (elmo-filter-folder-diff): New function.
7943
7944         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7945
7946         * elmo-cache.el (elmo-cache-list-folder):
7947         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7948         (elmo-cache-copy-msgs): Ditto.
7949         (elmo-cache-folder-diff): New alias.
7950
7951         * elmo-archive.el (elmo-archive-list-folder-subr):
7952         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7953         (elmo-archive-get-archive-name): Ditto.
7954         (elmo-archive-create-file): Ditto.
7955         (elmo-archive-append-msg): Ditto.
7956         (elmo-archive-copy-msgs): Ditto.
7957         (elmo-archive-copy-msgs-froms): Ditto.
7958         (elmo-archive-get-msg-filename): Ditto.
7959         (elmo-archive-folder-diff): New alias.
7960
7961 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7962
7963         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7964         (elmo-pop3-stream-type-alist): New variable.
7965         (elmo-nntp-stream-type-alist): New variable.
7966
7967         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7968         (elmo-kill-buffer): Ditto.
7969         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7970         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7971         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7972         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7973         (elmo-imap4-get-spec): Take into account
7974         `elmo-imap4-stream-type-alist'.
7975
7976 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7977
7978         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7979         (elmo-nntp-list-folders-get-cache): Ditto.
7980
7981 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7982
7983         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7984         character before 'uid'.
7985
7986 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
7987
7988         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7989
7990         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7991
7992         * elmo-util.el (elmo-number-set-member): New function.
7993         (elmo-number-set-append-list): Ditto.
7994         (elmo-number-set-append): Ditto.
7995
7996         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7997         Use `elmo-number-set-member'.
7998         (elmo-living-messages): Ditto.
7999         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8000         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8001
8002         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8003         (elmo-imap4-add-to-cont-list): Abolished.
8004         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8005         instead of elmo-imap4-add-to-cont-list.
8006
8007         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8008         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8009
8010         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8011
8012 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8013
8014         * elmo-util.el (elmo-condition-parse-search-value):
8015         Fixed date parsing.
8016
8017 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8018
8019         * elmo-util.el (elmo-condition-find-key-internal): New function.
8020         (elmo-condition-find-key): Ditto.
8021
8022         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8023         (elmo-msgdb-search-internal): Ditto.
8024         (elmo-msgdb-search): Ditto.
8025
8026 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8027
8028         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8029         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8030
8031         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8032         (elmo-nntp-search-primitive): Fixed problem when condition is
8033         'unmatch'.
8034
8035         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8036
8037         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8038         (elmo-nntp-xhdr-p): New macro.
8039         (elmo-nntp-set-xhdr): Ditto.
8040         (elmo-nntp-parse-xhdr-response): New function.
8041         (elmo-nntp-retrieve-field): Ditto.
8042         (elmo-nntp-search-primitive): Ditto.
8043         (elmo-nntp-search): Implemented.
8044
8045         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8046
8047         * elmo-archive.el (elmo-archive-search): Set all number list to
8048         `elmo-archive-field-condition-match'
8049
8050         * elmo-localdir.el (elmo-localdir-search): Likewise.
8051
8052         * elmo-maildir.el (elmo-maildir-search): Likewise.
8053
8054 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8055
8056         * elmo-msgdb.el (elmo-living-messages): New function.
8057         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8058         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8059         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8060         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8061         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8062         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8063         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8064         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8065         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8066         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8067         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8068
8069 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8070
8071         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8072
8073         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8074
8075         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8076
8077         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8078         arguments for `SEARCH' command.
8079         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8080         All other related portions are changed.
8081
8082         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8083
8084         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8085         (elmo-list-folder-unread): Rewrite.
8086         (elmo-list-folder-important): Ditto.
8087
8088         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8089         (elmo-condition-parse-error): New inline function.
8090         (elmo-read-search-condition): New function.
8091         (elmo-read-search-condition-internal): Ditto.
8092         (elmo-parse-search-condition): Rewrite.
8093         (elmo-condition-parse): New function.
8094         (elmo-condition-parse-or-expr): Ditto.
8095         (elmo-condition-parse-and-expr): Ditto.
8096         (elmo-condition-parse-primitive): Ditto.
8097         (elmo-condition-parse-search-value): Ditto.
8098         (elmo-buffer-field-primitive-condition-match): Ditto.
8099         (elmo-buffer-field-condition-match): Rewrite.
8100         (elmo-file-field-condition-match): Ditto.
8101
8102         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8103         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8104
8105         * elmo-internal.el (elmo-internal-search): Set `number' and
8106         `number-list' argument of `elmo-file-field-condition-match'.
8107
8108         * elmo-maildir.el (elmo-maildir-search): Ditto.
8109
8110         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8111         `msgdb' as argument instead of `mark-alist'.
8112         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8113         `overview'.
8114
8115         * elmo-multi.el: Likewise.
8116
8117         * elmo-pipe.el: Likewise.
8118
8119         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8120         (elmo-imap4-search-internal): Rewrite.
8121         (elmo-imap4-search): Ditto.
8122
8123         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8124         (elmo-filter-list-folder-unread): Ditto.
8125         (elmo-filter-list-folder-important): Ditto.
8126         (elmo-filter-search): Rewrite.
8127
8128         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8129         `number-list' argument of `elmo-file-field-condition-match'.
8130         (elmo-cache-search): Ditto.
8131
8132         * elmo-localdir.el: Likewise.
8133
8134         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8135         number-list and pass it to `elmo-buffer-field-condition-match'.
8136         (elmo-archive-field-condition-match): Pass `number-list' to
8137         `elmo-archive-field-condition-match'
8138
8139 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8140
8141         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8142         `listgroup'.
8143
8144         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8145         (elmo-folder-diff-async-callback-data): Ditto.
8146         (elmo-folder-diff-async): New function.
8147
8148         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8149         (elmo-network-session-cache-key): Use it as a prefix of the session
8150         name.
8151         (elmo-network-open-session): Ditto.
8152
8153         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8154         (elmo-imap4-status-callback-data): Ditto.
8155         (elmo-imap4-server-diff-async-callback): New variable.
8156         (elmo-imap4-server-diff-async-callback-data): Ditto.
8157         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8158         `elmo-imap4-status-callback-data'.
8159         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8160         `elmo-imap4-status-callback-data' as nil.
8161         (elmo-imap4-server-diff): Ditto.
8162         (elmo-imap4-server-diff-async-callback-1): New function.
8163         (elmo-imap4-server-diff-async): Ditto.
8164         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8165
8166 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8167
8168         * elmo-util.el (elmo-list-delete): Doc fix.
8169         (elmo-delete-lists): Abolish.
8170         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8171         instead of `elmo-delete-lists'.
8172
8173 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8174
8175         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8176         before `sort'.
8177
8178 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8179
8180         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8181         `elmo-imap4-literal-subr'.
8182         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8183         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8184
8185 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8186
8187         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8188         (elmo-archive-list-folder): Fix.
8189         (elmo-archive-max-of-folder): Fix.
8190
8191 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8192
8193         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8194          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8195         (elmo-localdir-append-msg): Ditto.
8196         (elmo-localdir-list-folder): Fix for `nonsort'.
8197         (elmo-localdir-list-folder-subr): Fix for `killed'.
8198         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8199         (elmo-maildir-list-folder-subr): Ditto.
8200         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8201         (elmo-archive-list-folder-subr): Ditto.
8202         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8203         (elmo-internal-list-folder-subr): Ditto.
8204
8205 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8206
8207         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8208
8209 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8210
8211         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8212
8213 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8214
8215         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8216         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8217
8218         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8219         before greeting.
8220         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8221         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8222
8223 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8224
8225         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8226
8227         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8228         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8229         before STORE command.
8230
8231 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8232
8233         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8234
8235         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8236         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8237         of `response'.
8238         (elmo-imap4-list-folders): Removed unused local variable.
8239         (elmo-network-initialize-session): Ditto.
8240         (elmo-imap4-delete-msg-by-id): Ditto.
8241         (elmo-imap4-parse-fetch): Ditto.
8242         (elmo-imap4-copy-msgs): Ditto.
8243         Use `dst-spec' instead of `dst-folder'.
8244         (elmo-network-authenticate-session): Check authenticate type `plain'.
8245
8246 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8247
8248         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8249         garbage checking.
8250         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8251         `elmo-imap4-response-value'.
8252         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8253
8254 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8255
8256         * elmo-imap4.el (elmo-imap4-send-command):
8257         Cause elmo-imap4-bye-error when current response is BYE.
8258         (elmo-imap4-arrival-filter): Changed greeting response value.
8259
8260         * elmo2.el (elmo-imap4-bye-error): Define.
8261
8262         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8263         (elmo-imap4-server-diff): Ditto.
8264         (elmo-imap4-response-bye-p): New macro.
8265         (elmo-imap4-response-error-text): Get text from BYE response.
8266         (elmo-imap4-read-response): Return if BYE response.
8267         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8268         (elmo-imap4-folder-exists-p): Ditto.
8269         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8270         (elmo-imap4-parse-bye): New function.
8271         (elmo-imap4-parse-response): Remove needless let.
8272         Call `elmo-imap4-parse-bye'.
8273
8274 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8275
8276         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8277         the mailbox does not exist.
8278         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8279
8280 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8281
8282         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8283
8284 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8285
8286         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8287
8288         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8289         (elmo-network-initialize-session-buffer): Defined.
8290
8291         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8292         Abolished.
8293         (mmelmo-imap4-get-mime-entity): Rewrite.
8294
8295         * elmo2.el (elmo-error): Capitalize error message.
8296
8297         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8298         (elmo-network-session-buffer): New macro.
8299         (elmo-network-open-session): Use it.
8300
8301         * elmo-imap4.el: Rewrite.
8302
8303 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8304
8305         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8306
8307 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8308
8309         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8310         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8311         (elmo-imap4-create-msgdb-from-overview-string): Use
8312         `elmo-msgdb-create-overview-from-buffer'.
8313
8314 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8315
8316         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8317         (elmo-imap4-default-hierarchy-delimiter): New variable.
8318         (elmo-imap4-list-folders): Use it.
8319
8320 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8321
8322         * elmo-net.el (elmo-network-open-session): Add user and
8323         stream-type for process-buffer name.
8324
8325         * elmo-pop3.el (elmo-network-initialize-session): Call
8326         buffer-disable-undo.
8327
8328         * elmo-imap4.el (elmo-network-initialize-session):
8329         Set current-buffer as an argument for `buffer-disable-undo'.
8330
8331         * elmo-pop3.el (elmo-network-close-session): Don't use
8332         `process-live-p'.
8333
8334         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8335         Set default as 'user.
8336
8337         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8338
8339         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8340         and `elmo-imap4-flush-connection'.
8341
8342         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8343         (elmo-pop3-get-spec): Assume auth as symbol.
8344         (elmo-open-network-stream): Moved to `elmo-net'.
8345
8346         * elmo-pop3.el (toplevel): Require 'elmo-net.
8347         Define `sasl-cram-md5' to silence byte compilier.
8348         (elmo-pop3-connection-cache) Abolished.
8349         (elmo-pop3-authenticator-alist) New variable.
8350         (elmo-pop3-session): Define.
8351         (elmo-pop3-connection-get-process): Abolished.
8352         (elmo-pop3-connection-get-buffer): Ditto.
8353         (elmo-pop3-close-connection): Ditto.
8354         (elmo-pop3-flush-connection): Ditto.
8355         (elmo-pop3-get-connection): Ditto.
8356         (elmo-pop3-get-session): New function.
8357         (Replacement for `elmo-pop3-get-connection').
8358         All other related modules are changed.
8359         (elmo-network-close-session): Define.
8360         (elmo-pop3-send-command): Abolished argument `buffer'.
8361         All other related modules are changed.
8362         (elmo-pop3-read-response): Likewise.
8363         (elmo-pop3-open-connection): Abolished.
8364         (elmo-pop3-auth-user): New function.
8365         (elmo-pop3-auth-apop): Ditto.
8366         (elmo-pop3-auth-cram-md5): Ditto.
8367         (elmo-pop3-auth-scram-md5): Ditto.
8368         (elmo-pop3-auth-digest-md5): Ditto.
8369         (elmo-network-initialize-session): Define.
8370         (elmo-network-authenticate-session): Ditto.
8371         (elmo-network-setup-session): Ditto.
8372
8373         * elmo-imap4.el (toplevel): Require 'elmo-net.
8374         (elmo-imap4-session): Define.
8375         (elmo-imap4-connection-cache): Abolished.
8376         (elmo-imap4-password-key): Ditto.
8377         (elmo-imap4-flush-connection): Ditto.
8378         (elmo-imap4-get-connection): Ditto.
8379         All other related modules are changed.
8380         (elmo-imap4-get-session): New function
8381         (Replacement for `elmo-imap4-get-connection').
8382         (elmo-imap4-read-response): Abolished argument `buffer'.
8383         All other related modules are changed.
8384         (elmo-imap4-send-command): Likewise.
8385         (elmo-imap4-select-folder): Abolished.
8386         All other related modules are changed.
8387         (elmo-imap4-select-mailbox): New function.
8388         (Replacement for `elmo-imap4-select-folder').
8389         (elmo-imap4-auth-login): Simplify.
8390         (Assume current buffer as process buffer)
8391         (elmo-imap4-auth-cram-md5): Ditto.
8392         (elmo-imap4-auth-digest-md5): Ditto.
8393         (elmo-imap4-login): Ditto.
8394         (elmo-imap4-open-connection): Abolished.
8395         (elmo-imap4-open-connection-1): Abolished.
8396         (elmo-network-initialize-sessoin): Define.
8397         (elmo-network-authenticate-session): Ditto.
8398         (elmo-network-setup-session): Ditto.
8399
8400         * elmo-net.el: New module.
8401
8402 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8403
8404         * elmo-util.el (elmo-define-error): New function.
8405
8406         * elmo2.el (elmo-error): Define.
8407         (elmo-open-error): Define.
8408         (elmo-authenticate-error): Define.
8409
8410         * elmo-imap4.el (elmo-imap4-error): Abolish.
8411         (elmo-imap4-error-type): Abolish.
8412         (elmo-imap4-error-process): Abolish.
8413         (elmo-imap4-error-message): Abolish
8414         (elmo-imap4-list-folders): Don't quote lambda.
8415         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8416         (elmo-imap4-parse-namespace): Ditto.
8417         (elmo-imap4-open-connection): Rewrite.
8418         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8419         (elmo-imap4-get-connection): Abolish local variable `result'.
8420
8421 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8422
8423         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8424         wrong-type-argument error when auth is nil.
8425
8426 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8427
8428         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8429         (elmo-default-nntp-stream-type): Ditto.
8430         (elmo-default-pop3-stream-type): Ditto.
8431         (elmo-network-stream-type-alist): Ditto.
8432         (elmo-default-imap4-ssl): Abolished.
8433         (elmo-default-nntp-ssl): Ditto.
8434         (elmo-default-pop3-ssl): Ditto.
8435
8436         * elmo-util.el: (toplevel): Removed needless requires.
8437         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8438         (elmo-open-network-stream): Open network stream according to
8439         the value of `elmo-network-stream-type-alist'.
8440         (elmo-get-network-stream-type): New function.
8441         (elmo-network-stream-type-spec-string): New macro.
8442         (elmo-network-stream-type-symbol): Ditto.
8443         (elmo-network-stream-type-function): Ditto.
8444
8445         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8446         network-stream-type. All other related portions are changed.
8447         (elmo-pop3-open-connection): Ditto.
8448
8449         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8450         network-stream-type. All other related portions are changed.
8451
8452         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8453         network-stream-type.All other related portions are changed.
8454         (elmo-imap4-error): New macro.
8455         (elmo-imap4-error-type): Ditto.
8456         (elmo-imap4-error-process): Ditto.
8457         (elmo-imap4-error-message): Ditto.
8458         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8459         (elmo-imap4-auth-cram-md5): Ditto.
8460         (elmo-imap4-auth-digest-md5): Ditto.
8461         (elmo-imap4-login): Ditto.
8462         (elmo-imap4-open-connection): Remove password entry if authentication
8463         was in vain.
8464         (elmo-imap4-user-at-host): Abolished.
8465         (elmo-imap4-password-key): New buffer local variable.
8466         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8467         using protocol, port, auth and stream-type.
8468
8469         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8470
8471 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8472
8473         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8474
8475         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8476
8477         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8478         (elmo-imap4-authenticator-alist): New variable.
8479         (elmo-imap4-open-connection-1): Rename from
8480         elmo-imap4-open-connection.
8481         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8482         only wraps elmo-imap4-open-connection-1.
8483         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8484         user-at-host.
8485         (elmo-imap4-auth-login): New function.
8486         (elmo-imap4-auth-cram-md5): New function.
8487         (elmo-imap4-auth-digest-md5): New function.
8488         (elmo-imap4-login): New function.
8489
8490 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8491
8492         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8493         function `error'.
8494
8495 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8496
8497         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8498
8499 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8500
8501         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8502
8503 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8504
8505         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8506         for server responses, quote `*' regardless of where it appears.
8507
8508 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8509
8510         * elmo-maildir.el (elmo-maildir-commit): New alias.
8511
8512 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8513
8514         * elmo-util.el (elmo-display-progress):
8515                 Use `progress-feedback-with-label'.
8516
8517 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8518
8519         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8520         (elmo-imap4-non-atom-char-regex): Ditto.
8521         (elmo-imap4-non-text-char-regex): Ditto.
8522         (elmo-imap4-literal-threshold): Ditto.
8523         (elmo-imap4-atom-p): New function.
8524         (elmo-imap4-quotable-p): Ditto.
8525         (elmo-imap4-nil): Ditto.
8526         (elmo-imap4-atom): Ditto.
8527         (elmo-imap4-quoted): Ditto.
8528         (elmo-imap4-literal-subr): Ditto.
8529         (elmo-imap4-literal): Ditto.
8530         (elmo-imap4-buffer-literal): Ditto.
8531         (elmo-imap4-string-subr): Ditto.
8532         (elmo-imap4-string): Ditto.
8533         (elmo-imap4-buffer-string): Ditto.
8534         (elmo-imap4-astring-subr): Ditto.
8535         (elmo-imap4-astring): Ditto.
8536         (elmo-imap4-buffer-astring): Ditto.
8537         (elmo-imap4-nstring): Ditto.
8538         (elmo-imap4-buffer-nstring): Ditto.
8539         (elmo-imap4-mailbox): New alias.
8540         (elmo-imap4-field-body): Ditto.
8541         (elmo-imap4-userid): Ditto.
8542         (elmo-imap4-password): Ditto.
8543         (elmo-imap4-format-quoted): New function.
8544         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8545         arguments and handle "atom", "quoted" and "literal" string here.
8546         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8547         `elmo-imap4-send-command'.
8548         (elmo-imap4-folder-exists-p): Likewise.
8549         (elmo-imap4-create-folder): Likewise.
8550         (elmo-imap4-delete-folder): Likewise.
8551         (elmo-imap4-rename-folder): Likewise.
8552         (elmo-imap4-max-of-folder): Likewise.
8553         (elmo-imap4-check-validity): Likewise.
8554         (elmo-imap4-sync-validity): Likewise.
8555         (elmo-imap4-server-diff): Likewise.
8556         (elmo-imap4-select-folder): Likewise.
8557         (elmo-imap4-copy-msgs): Likewise.
8558         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8559         (elmo-imap4-mark-set-on-msgs): Likewise.
8560         (elmo-imap4-read-part): Likewise.
8561         (elmo-imap4-read-msg): Likewise.
8562         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8563         `elmo-imap4-password' for `elmo-imap4-send-command'.
8564         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8565         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8566         `elmo-imap4-buffer-literal'.
8567         (elmo-imap4-append-msg): Likewise.
8568
8569         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8570         `delete' for removing dead connection from the connection cache.
8571         Move deletion of the process buffer after that.
8572         (elmo-imap4-list): Change `defsubst' to `defun'.
8573         (elmo-imap4-commit): Make error message verbose.
8574         (elmo-imap4-search): Ditto.
8575         (elmo-imap4-list): Ditto.
8576         (elmo-imap4-select-folder): Ditto.
8577         (elmo-imap4-copy-msgs): Ditto.
8578         (elmo-imap4-delete-msg-by-id): Ditto.
8579         (elmo-imap4-append-msg-by-id): Ditto.
8580         (elmo-imap4-append-msg): Ditto.
8581
8582 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8583
8584         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8585         when dired is used on XEmacs.
8586
8587 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8588
8589         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8590         instead of `append'.
8591         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8592         `elmo-plugged-p' directly.
8593         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8594         of `elmo-plugged-p' directly.
8595
8596         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8597         Eliminate unused variable.  Use `memq' for checking a process status.
8598         Use `cons' instead of `append' for updating the connection cache.
8599         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8600         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8601
8602 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8603
8604         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8605         `elmo-imap4-read-point' exactly.
8606
8607         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8608         the local variable `folder' to `mailbox'.
8609         Rename the argument `fld' to `folder'.
8610
8611 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8612
8613         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8614         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8615
8616 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8617
8618         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8619         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8620         (elmo-pop3-uidl-number-hash): Ditto.
8621         (elmo-pop3-size-hash): Ditto.
8622         (elmo-pop3-uidl-done): Ditto.
8623         (elmo-pop3-list-done): Ditto.
8624         (elmo-pop3-connection-get-process): New defmacro.
8625         (elmo-pop3-connection-get-buffer): Ditto.
8626         (elmo-pop3-close-connection): Delete buffer and process.
8627         (elmo-pop3-flush-connection): Don't delete buffer and process.
8628         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8629         Setup UIDL and size hash.
8630         (elmo-pop3-send-command-no-erase): Deleted
8631         (elmo-pop3-send-command): Added optional argument `no-erase'.
8632         (elmo-pop3-parse-uidl-response): New function.
8633         (elmo-pop3-parse-list-response): Set size hash.
8634         (elmo-pop3-list-location): New function.
8635         (elmo-pop3-list-by-uidl-subr): Ditto.
8636         (elmo-pop3-list-by-list): Ditto.
8637         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8638         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8639         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8640         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8641         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8642         Use uidl.
8643         (elmo-pop3-uidl-to-number): New function.
8644         (elmo-pop3-number-to-uidl): Ditto.
8645         (elmo-pop3-number-to-size): Ditto.
8646         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8647         Set number by use of uidl.
8648         (elmo-pop3-msgdb-create-message): Likewise.
8649         Set size, loc-alist in msgdb.
8650         (elmo-pop3-read-msg): Set number by use of uidl.
8651         Added optional argument `msgdb'.
8652         (elmo-pop3-delete-msg): Ditto.
8653         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8654         (elmo-pop3-commit): Close connection.
8655
8656         * elmo-pipe.el (elmo-pipe-max-of-folder):
8657         Bind `elmo-pop3-use-uidl' as nil.
8658         (elmo-pipe-drain): Ditto.
8659         Call `elmo-commit'.
8660
8661         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8662         (elmo-msgdb-overview-entity-set-size): New defsubst.
8663
8664 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8665
8666         * elmo-vars.el (elmo-use-killed-list): New variable
8667         (Renamed from `elmo-nntp-use-killed-list').
8668         (elmo-nntp-use-killed-list): Eliminated.
8669
8670         * elmo-msgdb.el (elmo-msgdb-expand-path):
8671         Changed expanding msgdb path for elmo-multi.
8672
8673         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8674         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8675         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8676         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8677         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8678         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8679         (toplevel): Deleted time-stamp line.
8680
8681         * elmo2.el (elmo-clear-killed ): Defined as function
8682         (Abolished defining as a backend function).
8683         All other related modules are changed.
8684
8685 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8686
8687         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8688
8689 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8690
8691         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8692
8693 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8694
8695         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8696
8697 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8698
8699         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8700         asynchronous folder check.
8701
8702         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8703
8704         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8705         `elmo-nntp-use-killed-list'.
8706         (elmo-nntp-list-folder): Use killed list.
8707         (elmo-nntp-max-of-folder): Ditto.
8708         (elmo-nntp-msgdb-create): Set killed list.
8709
8710         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8711
8712         * elmo2.el (elmo-clear-killed): New backend function.
8713         All other related modules are changed.
8714
8715 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8716
8717         * elmo-util.el (elmo-imap4-spec-folder): Use
8718         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8719         All callers changed.
8720
8721 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8722
8723         * mmelmo-2.el (initialize-instance):
8724         Use `mime-buffer-entity-buffer-internal' instead of
8725         `mime-entity-buffer'.
8726
8727         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8728         (mime-entity-body): Implemented.
8729         (mime-goto-header-start-point): Deleted.
8730         (mime-goto-body-end-point): Ditto.
8731         (mime-entity-point-min): Ditto.
8732         (mime-entity-point-max): Ditto.
8733         (mime-entity-children): Ditto.
8734         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8735         instead of `mime-entity-buffer'.
8736         (mime-entity-header-buffer): Ditto.
8737         (mime-entity-body-buffer): Ditto.
8738         (mime-write-entity-content): Ditto.
8739
8740         * pldap.el (ldap-static-if): New macro.
8741         (toplevel): Use it instead of `static-if'.
8742
8743 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8744
8745         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8746         included in `attrs' argument.
8747
8748 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8749
8750         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8751
8752         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8753         (ldap-ldif-safe-init-char-regexp): Ditto.
8754         (ldap-ldif-safe-string-regexp): Ditto.
8755         (ldap/ldif-safe-string-p): New macro.
8756         (ldap/ldif-insert-field): Ditto.
8757         (ldap-modify): Use it.
8758         (ldap-add): Ditto.
8759         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8760         (ldap-decode-attribute): Decode only when `attr' is consp.
8761         (ldap-delete): Bind `ret'.
8762         (toplevel): Require 'cl at compile time.
8763         Removed (require 'poe) and (require 'std11).
8764         (pldap-version): Eliminated.
8765         (ldap-search-basic): Removed auth and dn binding.
8766         (ldap-ldif-field-name-regexp): New constant.
8767         (ldap-ldif-field-head-regexp): Ditto.
8768         (ldap-ldif-next-field-head-regexp): Ditto.
8769         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8770         (ldap/field-end): New function.
8771         (ldap/field-body): Use it.
8772         (ldap/collect-field): Ditto.
8773         (ldap-search-basic): Use `ldap/field-body'.
8774
8775 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8776
8777         * pldap.el (ldap-default-attribute-encoder): New user option.
8778         (ldap/field-body): Decode base64 string.
8779         (ldap/collect-field): Ditto.
8780         (ldap-encode-attribute): New function.
8781         (ldap-add-entries): Use it.
8782         (ldap-modify-entries): Ditto.
8783         (ldap-search-entries): Enclosed decoding function with
8784         `with-temp-buffer' and set as unibyte.
8785         (ldap-search-basic): Set process buffer as unibyte.
8786
8787         * elmo-util.el (elmo-folder-identical-system-p):
8788         Eliminated name space checking.
8789
8790         * pldap.el: New module.
8791         toplevel: Changed condition to detect built-in ldap feature.
8792         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8793         (ldap-add): Added error handling.
8794         (ldap-modify): Ditto.
8795         (ldap-delete): Ditto.
8796
8797 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8798
8799         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8800         Initialize local variables with `let'.  Inline a temporary
8801         variable for the progress percentage.  Sort `setq' to reduce
8802         function call in the while-loop.
8803
8804         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8805         into the conditional branch.
8806
8807 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8808
8809         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8810         Move a conditional out of the while-loop.
8811
8812 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8813
8814         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8815         elmo-msgdb-overview-get-entity-by-number.
8816         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8817         throw.
8818
8819 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8820
8821         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8822         the local variable for a packed number self descriptively.
8823
8824 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8825
8826         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8827         * elmo-localdir.el (elmo-localdir-pack-number): Use
8828         `elmo-msgdb-overview-get-entity' instead of
8829         `elmo-msgdb-overview-get-entity-by-number'.
8830         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8831         (elmo-msgdb-search-overview-entity): Removed.
8832         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8833         by message-id or number.
8834         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8835         instead of `elmo-msgdb-overview-get-entity-by-number'.
8836
8837 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8838
8839         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8840         non-nil, use hash table for overview.
8841         (elmo-hash-maximum-size): New variable.
8842         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8843         (elmo-msgdb-make-overview-hashtb): New function.
8844         (elmo-msgdb-clear-overview-hashtb): New function.
8845         (elmo-clear-hash-val): New macro.
8846         All other related modules are changed.
8847
8848 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8849
8850         * elmo2.el (elmo-move-msgs): If there's other message with
8851         same message-id, don't use cache.
8852
8853 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8854
8855         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8856         number is already packed.
8857
8858 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8859
8860         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8861
8862 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8863
8864         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8865         All other related modules are changed.
8866
8867 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8868
8869         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8870         of refiling failure on Maildir.
8871
8872 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8873
8874         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8875         decoded mime-charset with cache.
8876         (elmo-msgdb-overview-entity-get-from): Ditto.
8877         (elmo-msgdb-overview-entity-get-subject): Ditto.
8878         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8879
8880 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8881
8882         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8883         (elmo-remove-passwd): Fill password with 0 before erase.
8884         * elmo-vars.el (elmo-passwd-life-time): New variable.
8885
8886 \f
8887 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8888
8889         * elmo-cache.el (elmo-buffer-cache-add):
8890         Set message cache buffer as unibyte.
8891
8892 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8893
8894         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8895         become nil.
8896
8897 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8898
8899         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8900         when display is finished.
8901         (elmo-nntp-msgdb-create): Ditto.
8902         (elmo-nntp-groups-read-response): Ditto.
8903         (elmo-nntp-retrieve-headers): Ditto.
8904         (elmo-nntp-msgdb-create-message): Ditto.
8905         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8906         (elmo-pop3-msgdb-create-message): Ditto.
8907
8908 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8909
8910         * elmo-maildir.el (elmo-maildir-msgdb-create):
8911         Use `elmo-msgdb-sort-by-date'.
8912
8913 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8914
8915         * elmo2.el (elmo-read-msg-no-cache):
8916         Eliminated arguments after `outbuf'.
8917         Don't use cache even if it exists.
8918         (elmo-read-msg): Don't pass arguments after `outbuf' to
8919         `elmo-read-msg-no-cache'.
8920
8921 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8922
8923         * elmo-archive.el (elmo-archive-list-folders):
8924         Use `file-name-directory' if base folder does not exist.
8925
8926 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8927
8928         * elmo-archive.el (elmo-archive-list-folders): Don't use
8929         `file-name-directory'.
8930
8931 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8932
8933         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8934         If `force' is non-nil, try flushing all operation queues.
8935
8936 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8937
8938         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8939         as-binary-process.
8940
8941 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8942
8943         * elmo-util.el (elmo-display-progress): Fixed.
8944
8945 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8946
8947         * elmo-util.el (elmo-display-progress): New function.
8948         All other related modules are changed.