42bd39c8df2f7c659745989c0c0cf86ddffad391
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
2
3         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
4         cleanup-forms [wl:14027].
5
6 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7
8         * elmo-flag.el (elmo-global-flag-set-internal): Use
9         `elmo-copy-file' by priority when the message is a file.
10
11 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
12
13         * elmo.el: Fix typo: disptch -> dispatch.
14
15 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
16
17         * elmo.el (elmo-file-tag): New class.
18         (elmo-append-messages-disptch-table): New constant.
19         (elmo-folder-type-p): New function.
20         (elmo-folder-append-messages): Redefine as function.
21
22         * elmo-null.el (elmo-folder-append-messages): Renamed from
23         `elmo-folder-append-messages'.
24
25         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
26         (elmo-folder-append-messages-*-maildir): Renamed from
27         `elmo-folder-append-messages'.
28
29         * elmo-localdir.el (elmo-localdir-folder): Inherit
30         `elmo-file-tag'.
31         (elmo-folder-append-messages-*-localdir): Renamed from
32         `elmo-folder-append-messages'.
33
34         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
35         from `elmo-folder-append-messages'.
36
37         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
38         `elmo-folder-append-messages'.
39
40         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
41         function.
42         (elmo-folder-append-messages-*-filter): Ditto.
43
44         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
45
46         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
47         (elmo-folder-append-messages-*-pipe): Renamed from
48         `elmo-folder-append-messages'.
49
50         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
51
52         * elmo-file.el (elmo-file-folder): Ditto.
53
54         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
55
56         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
57         from `elmo-folder-append-messages'
58
59 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
60
61         * elmo-map.el (elmo-location-map-setup): Change an argument
62         `locations' to optional.
63         (elmo-location-map-clear): Abolish.
64         (elmo-folder-clear): Follow the API change.
65
66         * elmo-pop3.el (elmo-folder-clear): Ditto.
67
68         * elmo-pop3.el (toplevel): Require elmo-map.
69         (elmo-pop3-folder): Inherit elmo-location-map and abolish
70         location-alist slot (All other related portions are changed).
71         (elmo-pop3-folder-use-uidl): New function.
72         (elmo-folder-msgdb-create): Don't sort message entities.
73         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
74         (elmo-pop3-number-to-size): Convert return value to number.
75         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
76         working buffer.
77
78         * elmo-map.el: Use `location-map' as a variable name for instance
79         instead of `mapper'.
80         (elmo-location-map-setup): Return location alist.
81         (elmo-location-map-update): Ditto.
82
83 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
84
85         * elmo-map.el (elmo-location-map): New class; split location and
86         number mapping from elmo-map-folder (All other related portions
87         are changed).
88
89         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
90         change.
91
92         * elmo-version.el (elmo-version): Up to 2.15.4.
93
94 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
95
96         * elmo-vars.el (elmo-use-hardlink): New user option.
97
98         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
99         `elmo-use-hardlink'.
100
101         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
102         killed-list.
103         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
104         instead of `*-internal'. Use `elmo-with-progress-display'.
105
106 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
107
108         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
109         `elmo-spam-process-messages-as-mbox'.
110
111         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
112
113 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
114
115         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
116         argument BUFFER of `call-process'.
117
118 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
119
120         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
121         args.
122         (elsp-bsfilter-list-spam-files): Ditto.
123
124 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
125
126         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
127         (elmo-spam-bsfilter-max-messages-per-process): New use option.
128         (elmo-spam-bsfilter-debug): Fix a group.
129         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
130         `--homedir'.
131         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
132         (elsp-bsfilter-list-spam-files): New function.
133         (elmo-spam-list-spam-messages): Define.
134         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
135         (elmo-spam-bsfilter-register-messages): New function.
136         (elmo-spam-register-spam-messages): Define.
137         (elmo-spam-register-good-messages): Ditto.
138
139         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
140
141         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
142         `nconc' and `consp'.
143
144 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
145
146         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
147         hash table to test whether a location is exists.
148
149 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
150
151         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
152         even if some error occurred.
153
154         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
155         meaningless unwind-protect.
156
157         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
158         start-number correctly.
159         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
160         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
161
162 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
163
164         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
165         (elmo-folder-initialize): Use it.
166         (elmo-global-flag-replace-referrer): New function.
167
168         * elmo.el (toplevel): Added autoload setting for
169         `elmo-global-flag-replace-referrer'.
170         (elmo-folder-rename): Rewrite the last change use
171         `elmo-global-flag-replace-referrer'.
172
173         * elmo-pipe.el (elmo-folder-rename): Call
174         `elmo-global-flag-replace-referrer'.
175
176 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
177
178         * elmo.el (elmo-folder-rename): Set meta data for global flags
179         follow the rename.
180
181 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
182
183         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
184         as 'not-loaded.
185         (elmo-folder-close): Ditto.
186         (elmo-filter-folder-number-list-loaded-p): New function.
187         (elmo-filter-folder-number-list): Check whether loaded or not.
188         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
189         of `elmo-filter-folder-number-list-internal'.
190         (elmo-folder-delete-messages): Ditto.
191         (elmo-folder-length): Check whether number-list is loaded or not.
192
193 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
194
195         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
196         field `real field' into each element of list.
197         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
198         (elmo-msgdb-message-entity-field): Ditto.
199         (modb-entity-ml-info-real-fields): New function.
200
201         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
202
203         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
204         `elmo-msgdb-extra-fields'.
205
206 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
207
208         * elmo-util.el (elmo-passwd-alist-load): Move point to min
209         position before read.
210
211 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
212
213         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
214         (elmo-global-flags-initialize): Ditto.
215
216 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
217
218         * elmo-archive.el (toplevel): Don't require emu, std11
219         and elmo-localdir.
220
221         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
222         definition.
223
224 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
225
226         * elmo.el (elmo-folder-confirm-appends): Display folder name.
227
228 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
229
230         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
231         literals.
232
233 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
234
235         * elmo-maildir.el (elmo-maildir-list-location): Reduce
236         `elmo-get-last-modification-time' call.
237
238 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
239
240         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
241         expression.
242         (elmo-maildir-set-mark): Ditto.
243         (elmo-maildir-delete-mark): Ditto.
244
245 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
246
247         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
248         optional argument `separators'.
249
250 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
251
252         * elmo.el (cache-changed): Abolish.
253         (status-changed): New signal.
254         (elmo-message-killed-p): New generic function and define for
255         elmo-folder.
256         (elmo-folder-recover-messages): Ditto.
257         (elmo-message-set-cached): Emit signal `status-changed' instead of
258         `cache-changed'.
259         (elmo-message-status): New macro.
260         (elmo-message-status-folder): Ditto.
261         (elmo-message-status-number): Ditto.
262         (elmo-message-status-set-flags): Ditto.
263         (elmo-message-status-set-killed): Ditto.
264         (elmo-message-status-flags): New function.
265         (elmo-message-status-cached-p): Ditto.
266         (elmo-message-status-killed-p): Ditto.
267
268         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
269         `status-changed' instead of `cache-changed'.
270         (elmo-folder-recover-messages): Define.
271         (elmo-message-killed-p): Ditto.
272
273         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
274         `status-changed' instead of `cache-changed'.
275
276         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
277         (elmo-message-killed-p): Define.
278         (elmo-folder-recover-messages): Ditto.
279
280         * elmo-version.el (elmo-version): Up to 2.15.3.
281
282 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
283
284         * elmo-signal.el (elmo-signal-bindings): Use cons to append
285         element into list.
286         (elmo-define-signal-handler): Add docstring.
287         (elmo-define-signal-filter): Ditto.
288
289         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
290
291 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
292
293         * elmo-util.el (elmo-flatten): Don't use recursive call.
294
295         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
296         assignment.
297         (elmo-folder-message-make-temp-files): Use `number-to-string'
298         instead of `int-to-string'.
299
300 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
301
302         * elmo-search.el (elmo-folder-delete-messages): Define.
303
304 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
305
306         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
307         customization type.
308         (elmo-mailing-list-count-spec-list): Ditto.
309
310         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
311         for `list-id'.
312
313 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
314
315         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
316         handling.
317
318 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
319
320         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
321         (elmo-mailing-list-count-spec-list): Ditto.
322
323         * elmo-util.el (elmo-map-until-success): New function.
324         (elmo-string-match-substring): Ditto.
325         (elmo-find-list-match-value): Ditto.
326
327         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
328         Removed.
329         (modb-entity-extract-ml-info-from-subject): Ditto.
330         (modb-entity-extract-ml-info-from-return-path): Ditto.
331         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
332         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
333         (modb-entity-extract-ml-info-from-mailman): Ditto.
334         (modb-entity-extract-mailing-list-info-functions): Ditto.
335         (modb-entity-extract-mailing-list-info): Rewrite with
336         `elmo-find-list-match-value'.
337
338 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
339
340         * elmo-net.el (elmo-network-session-retry-count): New user option.
341         (elmo-network-session-buffer-name): New internal function.
342         (elmo-network-session-buffer-create): Ditto.
343         (elmo-network-open-session): Retry open network session
344         `elmo-network-session-retry-count' times.
345
346 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
347
348         * elmo-util.el (elmo-list-filter): Rewritten.
349
350 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
351
352         * elmo-util.el (elmo-string-member): Allow symbol element in list.
353
354 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
355
356         * elmo-search.el (elmo-make-search-engine): Use prefix
357         `elmo-search-' for require symbol instead of `else-'.
358         (elmo-search-engine-extprog): New class.
359         (elmo-search-engine-do-search): Remove nil from argument
360         list. Added argument pattern to evaluate element as function.
361         (elmo-search-engine-local-file): Derived from
362         `elmo-search-engine-extprog'.
363         (elmo-search-engine-create-message-entity): Check existance of file.
364         (elmo-search-engine-fetch-message): Ditto.
365         (elmo-search-namazu-index): Follow the API change.
366         (elmo-search-grep-target): Ditto.
367
368 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
369
370         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
371         characters of working buffer.
372
373         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
374         Does not bind `default-mime-charset'.
375         (elmo-msgdb-create-message-entity-from-buffer): Removed
376         unnecessary local bind.
377
378         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
379         function.
380         (modb-entity-extract-mailing-list-info-functions): Added it.
381
382 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
383
384         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
385         when number and message-id are non-nil.
386
387         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
388
389         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
390         conditional steatment.
391         (elmo-pop3-auth-apop): Likewise.
392         (elmo-network-authenticate-session): Likewise.
393
394 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
395
396         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
397         symbol `fill-column'.
398         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
399         decode field value.
400
401         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
402         (elmo-decoded-field-body): Ditto.
403
404 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
405
406         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
407         `tokens' to `params'.
408
409 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
410
411         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
412         working buffer.
413
414 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
415
416         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
417         decide index.
418
419 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
420
421         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
422         Set default value as nil.
423         (toplevel): Register search engines by
424         `elmo-search-register-engine' if there are not defined.
425
426         * elmo.el (autoload): Added autoload setting for
427         `elmo-search-register-engine'.
428
429 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
430
431         * elmo.el (toplevel): `[' is redefined as the prefix of the search
432         folder instead of nmz folder.
433         (elmo-nmz-default-index-path): Added obsolete variable setting.
434         (elmo-nmz-index-alias-alist): Ditto.
435         (elmo-nmz-use-drive-letter): Ditto.
436
437         * elmo-search.el (elmo-search-register-engine): New function.
438
439         * elmo-nmz.el: Removed.
440
441         * elmo-version.el (elmo-version): Up to 2.15.2.
442
443 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
444
445         * elmo-search.el: New file.
446
447 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
448
449         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
450         condition `larger' and `smaller'.
451
452 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
453
454         * elmo-util.el (elmo-safe-filename): Rewrite to replace
455         `"' (double quote) into "_Q_".
456
457 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
458
459         * elmo-net.el (elmo-net-quote-chars): Abolish.
460         (elmo-net-format-quoted): Ditto.
461
462 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
463
464         * elmo.el (elmo-get-folder-function): New variable.
465         (elmo-get-folder): New function.
466         (elmo-folder-rename): Call `elmo-make-folder' with specified
467         mime-charset.
468
469         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
470         `elmo-make-folder'.
471         (elmo-split-subr): Ditto.
472
473         * elmo-multi.el (elmo-folder-initialize): Ditto.
474
475         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
476
477         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
478         (elmo-flag-get-folder): Ditto.
479
480         * elmo-filter.el (elmo-folder-initialize): Ditto.
481
482         * elmo-access.el (elmo-folder-initialize): Ditto.
483         (elmo-access-folder-update-children): Ditto.
484
485         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
486         (elmo-dop-queue-flush): Ditto.
487         (elmo-folder-append-buffer-dop-delayed): Ditto.
488         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
489         mime-charset.
490
491         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
492         instead of `elmo-make-folder'.
493         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
494         destination folder instead of send `elmo-folder-rename-internal'.
495
496         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
497         slot of subfolder instead of create it.
498
499 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
500
501         * elmo-util.el (elmo-collect-separators): New function.
502         (elmo-collect-separators-internal): Ditto.
503         (elmo-collect-trail-separators): Ditto.
504         (elmo-parse-separated-tokens): Ditto.
505         (elmo-parse-separated-tokens-internal): Ditto.
506         (elmo-quote-syntactical-element): Ditto.
507
508         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
509         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
510
511         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
512         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
513         (elmo-nntp-folder-list-subfolders): Quote a user name.
514
515         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
516         (elmo-net-parse-network): Abolish.
517         (elmo-net-folder-set-parameters): New function.
518         (elmo-folder-initialize): Follow the above change.
519
520         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
521         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
522         (elmo-folder-list-subfolders): Use
523         `elmo-quote-syntactical-element' instead of
524         `elmo-net-format-quoted' to quote mailbox and user name.
525
526 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
527
528         * elmo-util.el (elmo-token-valid-p): New function.
529         (elmo-parse-token): Add optional argument `requirement'.
530         (elmo-parse-prefixed-element): Likewise.
531
532         * elmo-net.el (elmo-net-quote-chars): Renamed from
533         `elmo-net-quote-chars-regexp'.
534         (elmo-net-format-quoted): Add optional argument `extra-chars'.
535
536         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
537         by info document. Check token `uidl' is started an alphabet.
538
539         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
540         by info document. Check token `user' is started an alphabet.
541
542         * elmo-imap4.el (elmo-folder-initialize): Ditto.
543         (elmo-folder-list-subfolders): Quote user.
544
545 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
546
547         * elmo-util.el (elmo-quoted-specials-list): New constant.
548         (elmo-quoted-token): New function.
549
550         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
551         (elmo-net-format-quoted): New function.
552         (elmo-net-parse-network): Ditto.
553         (elmo-folder-initialize): Use it.
554
555         * elmo-nntp.el (elmo-folder-initialize): Use
556         `elmo-net-parse-network' to parse network specification instead of
557         `elmo-folder-initialize#elmo-net'.
558
559         * elmo-pop3.el (elmo-folder-initialize): Ditto.
560
561         * elmo-imap4.el (elmo-folder-initialize): Ditto.
562         (elmo-folder-list-subfolders): Quote folder name by
563         `elmo-net-format-quoted'.
564
565 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
566
567         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
568         (elmo-folder-search): Use it.
569
570 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
571
572         * modb-standard.el (modb-standard-loaded-message-id): Use
573         `elmo-msgdb-message-entity-field'.
574
575 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
576
577         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
578         without filename.
579
580 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
581
582         * elmo-util.el (elmo-set-auto-coding): New function.
583         (elmo-object-load): Use it.
584
585 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
586
587         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
588         (elmo-time<): Define as alias of `elmo-time-less-p'.
589         (elmo-time-to-datevec): New function.
590
591         * elmo-date.el (elmo-time-to-days): New function.
592
593 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
594
595         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
596         is not cons cell.
597
598 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
599
600         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
601         parenthesis.
602
603         * elmo-util.el (elmo-map-recursive): New function.
604
605         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
606         (modb-entity-encode-string-recursive): Ditto.
607
608 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
609
610         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
611         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
612         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
613         compare sequence number when last modified time is nil.
614
615 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
616
617         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
618
619         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
620
621 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
622
623         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
624         modification time of the file.
625
626 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
627
628         * elmo-util.el (elmo-condition-optimize): Discriminated against
629         preserved fields, extra fields and the other weight.
630
631 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
632
633         * modb-entity.el (initialize-instance): Define.
634         (modb-entity-handler-mime-charset): New internal function.
635         (modb-standard-entity-set-field): Use it.
636         (elmo-msgdb-message-entity-field): Ditto.
637         (elmo-msgdb-message-entity-field): Ditto.
638
639         * modb.el (elmo-msgdb-match-condition): Rewrite with
640         `elmo-condition-match'.
641         (elmo-msgdb-match-condition-primitive): New function.
642
643         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
644         arguments `flags' and `numbers'.
645         (elmo-msgdb-match-condition-primitive): Abolished (merged to
646         `elmo-msgdb-message-match-condition').
647         (modb-buffer-entity-handler): New class.
648
649         * elmo.el (elmo-folder-search): Optimize condition to use
650         `elmo-condition-optimize'.
651         (elmo-message-buffer-match-condition): New function.
652         (elmo-message-match-condition): Use
653         `elmo-message-buffer-match-condition' instead of
654         `elmo-buffer-field-condition-match'.
655
656         * elmo-util.el (elmo-condition-match): New function.
657         (elmo-condition-optimize): Ditto.
658         (elmo-buffer-field-primitive-condition-match): Abolish.
659         (elmo-buffer-field-condition-match): Ditto.
660
661         * elmo-archive.el (elmo-archive-field-condition-match): Use
662         `elmo-message-buffer-match-condition' instead of
663         `elmo-buffer-field-condition-match'.
664
665 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
666
667         * elmo-flag.el (elmo-global-flags-initialize): Check the
668         existence of the flag directory.
669
670 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
671
672         * elmo-access.el (elmo-folder-initialize): Call
673         `elmo-multi-connect-signals'.
674
675         * elmo-pipe.el (elmo-folder-close): Define.
676
677         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
678         children folders.
679
680         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
681         with target folder.
682
683         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
684         `number'.
685
686         * elmo-multi.el (elmo-message-entity): Don't use return value of
687         `elmo-message-entity-set-number'.
688
689 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
690
691         * modb.el (modb-generic): Added slot `mime-charset'.
692
693         * modb-standard.el (modb-standard): Added slot `overview-handler'.
694         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
695         and `modb-entity-handler-dump-parameters'.
696         (modb-standard-default-entity-handler): Abolish.
697         (elmo-msgdb-message-entity-handler): Save created handler by
698         instance slot.
699
700         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
701         (modb-entity-handler-list-parameters): New method.
702         (modb-entity-handler-equal-p): New function.
703         (modb-entity-handler-dump-parameters): Ditto.
704         (modb-entity-parse-address-string): Encode return value.
705         (modb-entity-make-address-string): Decode argument value.
706         (modb-entity-decode-string-recursive): New function.
707         (modb-entity-encode-string-recursive): Ditto.
708         (modb-standard-entity-normalizer): Set to encode field value.
709         (modb-standard-entity-specializer): Follow the above change.
710         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
711         mime-charset of handler.
712         (elmo-msgdb-message-entity-field): Ditto.
713         (elmo-msgdb-copy-message-entity): Fixed reference to internal
714         structure.
715         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
716
717         * elmo.el (elmo-folder): Added slot `mime-charset'.
718         (elmo-make-folder): Added argument `mime-charset'.
719         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
720         `mime-charest'.
721
722         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
723         (elmo-make-msgdb): Likewise.
724
725         * elmo-internal.el (elmo-internal-folder-initialize): Call
726         `luna-make-entity' with :mime-charset parameter.
727
728 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
729
730         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
731         encoded words in `from' and `subject' field.
732
733 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
734
735         * modb.el (elmo-msgdb-message-field): Add argument `type'.
736         (elmo-msgdb-match-condition): Get handler from entity instead of
737         msgdb.
738
739         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
740         (modb-standard-load-entity): Treat new file format.
741         (modb-standard-save-entity-1): Save as new file format.
742         (modb-standard-save-entity): Split messages into section here.
743         (elmo-msgdb-message-field): Follow the API change.
744         (modb-standard-default-entity-handler): New internal variable.
745         (elmo-msgdb-message-entity-handler): Define.
746
747         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
748         to `elmo-vars.el'.
749         (modb-entity-field-extractor-alist): New user option.
750         (elmo-msgdb-message-entity-field): Removed argument `decode' and
751         added argument `type'.
752         (elmo-msgdb-copy-message-entity): Add optional argument
753         `make-handler'.
754         (modb-set-field-converter): New function.
755         (modb-convert-field-value): Ditto.
756         (modb-entity-string-decoder): Ditto.
757         (modb-entity-string-encoder): Ditto.
758         (modb-entity-parse-date-string): Ditto.
759         (modb-entity-make-date-string): Ditto.
760         (modb-entity-mime-decoder): Ditto.
761         (modb-entity-mime-encoder): Ditto.
762         (modb-entity-address-list-decoder): Ditto.
763         (modb-entity-address-list-encoder): Ditto.
764         (modb-entity-parse-address-string): Ditto.
765         (modb-entity-make-address-string): Ditto.
766         (modb-entity-create-field-indices): Ditto.
767         (modb-legacy-entity-field-slots): New constant.
768         (modb-legacy-entity-field-indices): Ditto.
769         (modb-legacy-entity-normalizer): New variable.
770         (modb-legacy-entity-specializer): Ditto.
771         (modb-legacy-entity-field-index): New macro.
772         (modb-legacy-entity-set-field): New function.
773         (modb-legacy-make-message-entity): Rewrite.
774         (elmo-msgdb-create-message-entity-from-buffer): Use
775         `elmo-msgdb-get-references-from-buffer'. Use
776         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
777         Use `modb-legacy-entity-set-field' instead of
778         `elmo-msgdb-message-entity-set-field'.
779         (elmo-msgdb-message-entity-field): Rewrite.
780         (elmo-msgdb-message-entity-set-field): Ditto.
781         (elmo-msgdb-copy-message-entity): Make new entity by
782         `make-handler' if it specified.
783         (elmo-msgdb-message-match-condition): Define a method of
784         `modb-entity-handler' and follow the API change.
785         (modb-standard-entity-handler): New class.
786         (modb-entity-extract-ml-info-from-x-sequence): New function.
787         (modb-entity-extract-ml-info-from-subject): Ditto.
788         (modb-entity-extract-ml-info-from-return-path): Ditto.
789         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
790         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
791         (modb-entity-extract-mailing-list-info): Ditto.
792         (modb-entity-extract-mailing-list-info-functions): New variable.
793
794         * elmo.el (elmo-message-field): Add optional argument `type'.
795
796         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
797         from `modb-entity.el'.
798
799         * elmo-util.el (elmo-object-load): Decode by coding-system from
800         `set-auto-coding-function'.
801         (elmo-object-save): Use `detect-mime-charset-region' and add
802         coding cookie if encode.
803         (elmo-msgdb-get-references-from-buffer): New function.
804         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
805
806         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
807
808         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
809         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
810         instead of `shimbun-make-header' and follow the API change.
811         (elmo-shimbun-update-overview): Follow the API change.
812         (elmo-map-folder-list-message-locations): Ditto.
813
814         * elmo-pipe.el (elmo-message-field): Ditto.
815
816         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
817         Ditto.
818
819         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
820
821         * elmo-multi.el (elmo-message-field): Ditto.
822
823         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
824         (elmo-msgdb-sort-by-date): Ditto.
825         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
826         `elmo-message-entity-field'.
827         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
828         change.
829         (elmo-msgdb-overview-entity-get-from): Ditto.
830         (elmo-msgdb-overview-entity-get-subject): Ditto.
831         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
832         (elmo-msgdb-overview-entity-get-date): Ditto.
833         (elmo-msgdb-overview-entity-get-to): Ditto.
834         (elmo-msgdb-overview-entity-get-cc): Ditto.
835
836         * elmo-mime.el (elmo-message-mime-entity): Ditto.
837         (elmo-mime-collect-message/partial-pieces): Ditto.
838
839         * elmo-filter.el (elmo-message-field): Ditto.
840
841         * elmo-date.el (elmo-datevec-to-time): New function.
842         (elmo-time-parse-date-string): Ditto.
843         (elmo-time-make-date-string): Ditto.
844         (elmo-time<): Ditto.
845
846         * elmo-version.el (elmo-version): Up to 2.15.1.
847
848 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
849
850         * elmo-flag.el (elmo-global-flags-initialize): Don't include
851         member of elmo-local-flags.
852
853 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
854
855         * elmo-version.el (elmo-version): Up to 2.15.0.
856
857 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
858
859         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
860         `ignore-msgdb' is non-nil.
861
862 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
863
864         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
865         (elmo-condition-in-msgdb-p): Ditto.
866         (elmo-file-field-primitive-condition-match): Ditto.
867         (elmo-file-field-condition-match): Ditto.
868
869         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
870
871 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
872
873         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
874         subdirectories here.
875         (elmo-global-flags-initialize): New function.
876
877         * elmo.el (toplevel): Added autoload setting for
878         `elmo-global-flags-initialize'.
879
880 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
881
882         * elmo.el (message-number-changed): Define new signal.
883         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
884         message-number-changed signal.
885         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
886         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
887         Respect `elmo-pack-number-check-strict'.
888
889 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
890
891         * elmo-signal.el (elmo-connect-signal): Document.
892         (elmo-emit-signal): Ditto.
893         (elmo-emit-signal): It should pass source argument to filter and
894         handler, not slot-source.
895
896 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
897
898         * modb.el (elmo-msgdb-update-entity): New API and define generic
899         implement.
900
901         * modb-standard.el (elmo-msgdb-update-entity): Define.
902
903         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
904         API and define generic implement.
905
906         * elmo.el (update-overview): New singnal.
907
908         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
909         `elmo-msgdb-update-entity' and emit signal `update-overview'.
910         (elmo-message-entity-parent): Define.
911
912         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
913         `update-overview'.
914
915         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
916
917         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
918
919 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
920
921         * elmo.el (elmo-folder-synchronize): Sort the return value of
922         `elmo-list-diff'.
923
924         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
925         list.
926
927 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
928
929         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
930         `default-enable-multibyte-characters'.
931         (elmo-object-load): Use `with-temp-buffer' instead of
932         `elmo-set-work-buf'.
933         (elmo-object-save): Ditto.
934         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
935         `elmo-set-work-buf'.
936         (elmo-decoded-field-body): Ditto.
937
938         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
939
940         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
941         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
942
943         * elmo-version.el (elmo-version): Up to 2.13.3.
944
945 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
946
947         * elmo-util.el (elmo-list-diff): Fix the last change.
948         Reverse order of result lists.
949
950 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
951
952         * modb-standard.el (elmo-msgdb-set-flag): Use
953         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
954         (elmo-msgdb-unset-flag): Ditto.
955
956         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
957         `elmo-list-diff'.
958
959         * elmo-util.el (elmo-list-diff): Rewrite.
960         (elmo-list-diff-nonsortable): New function.
961
962 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
963
964         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
965         `elmo-multibypte-buffer-name'.  All referers are updated.
966
967 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
968
969         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
970         (elmo-mime-entity-fragment-p): New function.
971         (mime-elmo-buffer-entity): Added slot `reassembled'.
972         (elmo-message-mime-entity): Added 4th argument `reassemble'.
973         (elmo-message-mime-entity-internal): New function (renamed from
974         `elmo-message-mime-entity').
975         (elmo-mime-inherit-field-list-from-enclosed): New constant.
976         (elmo-mime-make-reassembled-mime-entity): New function.
977         (elmo-message-reassembled-mime-entity): Ditto.
978         (elmo-mime-collect-message/partial-pieces): Ditto.
979
980 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
981
982         * elmo.el (elmo-message-fetch-string): Disable multibyte.
983
984         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
985         (elmo-with-enable-multibyte): New macro.
986
987         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
988
989 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
990
991         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
992         argument `number'.
993         (elmo-filter-connect-signals): Follow the above change.
994
995 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
996
997         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
998
999         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1000         that only the first flag is used.
1001
1002 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1003
1004         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1005         if available.
1006
1007 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1008
1009         * elmo-signal.el: New file.
1010
1011         * elmo.el (toplevel): Require elmo-signal.
1012         (flag-changing, flag-changed, cache-changed): New signal.
1013         (elmo-folder): Remove slog `handlers'.
1014         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1015         `elmo-folder-notify-event'.
1016         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1017         (elmo-folder-unset-flag): Ditto.
1018         (elmo-event-handler): Abolish.
1019         (elmo-event-handler-flag-changed): Ditto.
1020         (elmo-event-handler-cache-changed): Ditto.
1021         (elmo-folder-add-handler): Ditto.
1022         (elmo-folder-remove-handler): Ditto.
1023         (elmo-folder-notify-event): Ditto.
1024
1025         * elmo-pipe.el (toplevel): Require elmo-signal.
1026         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1027         (elmo-pipe-connect-signals): New function.
1028         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1029         (elmo-folder-set-flag): Ditto.
1030         (elmo-folder-unset-flag): Ditto.
1031         (elmo-message-set-cached): Ditto.
1032
1033         * elmo-multi.el (toplevel): Require elmo-signal.
1034         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1035         (elmo-multi-connect-signals): New function.
1036         (elmo-multi-map-numbers): Ditto.
1037         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1038         (elmo-message-fetch): Ditto.
1039         (elmo-folder-set-flag): Ditto.
1040         (elmo-folder-unset-flag): Ditto.
1041
1042         * elmo-filter.el (toplevel): Require elmo-signal.
1043         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1044         (elmo-filter-connect-signals): New function.
1045         (elmo-filter-add-flag-count): Ditto.
1046         (elmo-message-fetch): Does not call
1047         `elmo-filter-folder-countup-message-flags' and
1048         `elmo-folder-notify-event'.
1049         (elmo-message-set-cached): Ditto.
1050         (elmo-folder-set-flag): Ditto.
1051         (elmo-folder-unset-flag): Ditto.
1052
1053         * elmo-version.el (elmo-version): Up to 2.13.2.
1054
1055 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1056
1057         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1058         `flags'.
1059
1060 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1061
1062         * elmo-filter.el (elmo-message-set-cached): Call
1063         `elmo-folder-notify-event' with event `cache-changed'.
1064
1065         * elmo-multi.el (elmo-message-set-cached): Ditto.
1066
1067         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1068
1069 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1070
1071         * elmo.el (elmo-folder-encache): Abolish.
1072
1073 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1074
1075         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1076         (elmo-folder-next-message-number-dop): Return appropriate negative
1077         integer.
1078
1079 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1080
1081         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1082         clearing pending operations.
1083         (elmo-folder-next-message-number-dop): Return appropriate negative
1084         integer.
1085
1086 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1087
1088         * elmo.el (toplevel): Added autoload setting for `md5'.
1089         (elmo-msgdb-path-encode-threshold): New user option.
1090         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1091         longer than `elmo-msgdb-path-encode-threshold'.
1092
1093         * elmo-flag.el (elmo-global-mark-migrate): Use
1094         `elmo-folder-expand-msgdb-path' instead of
1095         `elmo-folder-msgdb-path'.
1096
1097 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1098
1099         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1100         element of the difference is nil.
1101
1102 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1103
1104         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1105         to the check logic of file systems which are weak in colon character.
1106
1107 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1108
1109         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1110
1111 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1112
1113         * elmo-maildir.el (elmo-maildir-move-file): New function.
1114         (elmo-folder-append-buffer): Use it.
1115         (elmo-folder-append-messages): Ditto.
1116         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1117
1118         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1119         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1120
1121         * elmo-maildir.el (elmo-maildir-separator): New user option.
1122         (elmo-maildir-adjust-separator): New macro.
1123         (elmo-maildir-list-location): Use it.
1124         (elmo-maildir-update-current): Ditto.
1125         (elmo-maildir-set-mark): Ditto.
1126         (elmo-maildir-delete-mark): Ditto.
1127         (These changes are based on Hiroya Murata's patch [wl: 13437])
1128
1129 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1130
1131         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1132
1133 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1134
1135         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1136         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1137         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1138
1139 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1140
1141         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1142         Use `with-temp-buffer'.
1143
1144 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1145
1146         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1147
1148         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1149         `wl-read-search-condition').
1150         (elmo-read-search-condition-internal): Likewise.
1151
1152         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1153         (elmo-flag-valid-p): New function.
1154         (elmo-folder-initialize): Check flag name is valid.
1155
1156 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1157
1158         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1159         delimiter to obtain root mailbox itself.
1160
1161 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1162
1163         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1164         type mismatch.
1165
1166 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1167
1168         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1169         as t.
1170
1171 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1172
1173         * elmo-shimbun.el (toplevel): Require cl at compile.
1174
1175         * elmo-nntp.el (toplevel): Ditto.
1176
1177         * elmo-nmz.el (toplevel): Ditto.
1178
1179         * elmo-multi.el (toplevel): Ditto.
1180
1181         * elmo-file.el (toplevel): Ditto.
1182
1183         * elmo-dop.el (toplevel): Ditto.
1184
1185         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1186
1187 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1188
1189         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1190         as nil.
1191
1192         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1193         size of elmo-message-fetch-internal is 0 byte.
1194
1195 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1196
1197         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1198
1199 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1200
1201         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1202         always plugged.
1203
1204 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1205
1206         * elmo-maildir.el (elmo-map-message-fetch): Call
1207         `elmo-map-folder-set-flag'.
1208
1209         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1210         (elmo-message-fetch): Merge from
1211         `elmo-message-fetch-with-cache-process'.
1212
1213         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1214         (elmo-message-fetch): Define.
1215
1216         * elmo-nntp.el (elmo-message-fetch): Renamed from
1217         `elmo-message-fetch-with-cache-process'.
1218
1219         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1220         (elmo-message-fetch): Define.
1221
1222         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1223         search-key.
1224
1225         * elmo-shimbun.el (shimbun-mua-search-id): Use
1226         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1227         (elmo-shimbun-folder-shimbun-header): Ditto.
1228         (elmo-shimbun-get-headers): Ditto.
1229         (elmo-shimbun-update-overview): Ditto.
1230
1231         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1232
1233         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1234         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1235
1236 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1237
1238         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1239         message is cached.
1240         (elmo-message-fetch-string): Fixed argument.
1241
1242 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1243
1244         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1245         exchange order of arguments `section' and `unread'.
1246         (elmo-message-encache): Follow the API change.
1247         (elmo-message-match-condition): Ditto.
1248         (elmo-generic-folder-append-messages): Ditto.
1249         (elmo-message-fetch-string): New function.
1250
1251         * elmo-split.el (elmo-split-subr): Ditto.
1252
1253         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1254
1255         * elmo-pipe.el (elmo-message-fetch): Ditto.
1256
1257         * elmo-multi.el (elmo-message-fetch): Ditto.
1258
1259         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1260
1261         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1262
1263         * elmo-filter.el (elmo-message-fetch): Ditto.
1264
1265         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1266
1267         * elmo-imap4.el (mime-imap-location-section-body): Use
1268         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1269         follow the API change.
1270
1271 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1272
1273         * elmo-access.el: New file.
1274
1275         * elmo-null.el: Ditto.
1276
1277         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1278
1279 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1280
1281         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1282         (elmo-network-session): New attribute `last-accessed'.
1283         (elmo-network-get-session): Discard network cache if elapsed time
1284         since last-accessed is larger than elmo-network-session-idle-timeout.
1285
1286 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1287
1288         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1289         and added `number', `require-entireness'.
1290         (elmo-find-fetch-strategy): Rewrite.
1291         (elmo-message-fetch): Unset `unread' flag when argument unread is
1292         non-nil.
1293
1294         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1295
1296         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1297         (elmo-message-fetch): Notify event `flag-changed'.
1298
1299         * elmo-pipe.el: Likewise.
1300
1301         * elmo-mime.el (elmo-mime-entity): New class.
1302         (elmo-mime-entity-display-p): New generic function.
1303         (elmo-mime-entity-display): Ditto.
1304         (elmo-mime-entity-display-as-is): Ditto.
1305         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1306         elmo-mime-entity.
1307         (elmo-make-mime-message-location): Removed.
1308         (elmo-mime-message-display): Ditto.
1309         (elmo-mime-display-as-is): Ditto.
1310         (elmo-message-mime-entity): New function.
1311
1312         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1313
1314         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1315         change.
1316         (elmo-message-fetch): Re-count flagged message number and notify
1317         event `flag-changed'.
1318
1319         * elmo-version.el (elmo-version): Up to 2.13.1.
1320
1321 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1322
1323         * elmo-filter.el (elmo-message-field): Define.
1324         (elmo-message-set-field): Ditto.
1325
1326 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1327
1328         * elmo.el (elmo-message-set-cached): Call
1329         `elmo-folder-notify-event' with cache-changed.
1330         (elmo-event-handler-cache-changed): New generic function.
1331
1332 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1333
1334         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1335         instead of elmo-add-name-to-file.
1336         (elmo-folder-append-messages): Ditto.
1337
1338 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1339
1340         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1341
1342 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1343
1344         * elmo-version.el (elmo-version): Up to 2.13.0.
1345
1346         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1347         `auto'.
1348
1349         * modb-standard.el (modb-standard-economize-entity-size): Changed
1350         default value to `t'.
1351
1352         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1353         `standard'.
1354
1355         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1356         after parsing greeting string.
1357
1358 2004-11-23  Daishi Kato <daishi@axlight.com>
1359
1360         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1361         New user option.
1362         (elmo-spam-spamoracle-call): Use it.
1363
1364 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1365
1366         * elmo.el (elmo-message-accessible-p): Message in dop spool
1367         is accessible.
1368
1369 2004-11-23  Daishi Kato <daishi@axlight.com>
1370
1371         * elsp-spamoracle.el: New file.
1372
1373 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1374
1375         * elmo.el (elmo-message-flags-for-append): New function.
1376         (elmo-generic-folder-append-messages): Use it.
1377
1378         * elmo-split.el (elmo-split-subr): Ditto.
1379
1380         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1381         `flags' and use elmo-folder-append-buffer instead of
1382         write-region-as-binary.
1383         (elmo-dop-filter-pending-messages): New function.
1384         (elmo-folder-append-buffer-dop): Call
1385         elmo-dop-spool-folder-append-buffer with `flag'.
1386         (elmo-folder-set-flag-dop): Filter messages by
1387         elmo-dop-filter-pending-messages.
1388         (elmo-folder-unset-flag-dop): Ditto.
1389         (elmo-folder-append-buffer-dop-delayed): Use
1390         elmo-message-flags-for-append to get flags of the message and
1391         simplify.
1392
1393 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1394
1395         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1396
1397 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1398
1399         * elmo.el (elmo-folder): Added handlers slot.
1400         (elmo-event-handler): New class.
1401         (elmo-event-handler-flag-changed): New API.
1402         (elmo-folder-add-handler): New function.
1403         (elmo-folder-remove-handler): Ditto.
1404         (elmo-folder-notify-event): Ditto.
1405         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1406         `flag-changed'.
1407         (elmo-folder-unset-flag): Ditto.
1408
1409         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1410         (elmo-folder-unset-flag): Ditto.
1411
1412         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1413         (elmo-folder-unset-flag): Ditto.
1414
1415         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1416         (elmo-folder-unset-flag): Ditto.
1417
1418         * elmo-version.el (elmo-version): Up to 2.11.33.
1419
1420 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1421
1422         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1423
1424 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1425
1426         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1427
1428         * elmo-flag.el (elmo-folder-unset-flag): Define.
1429         (elmo-global-flag-detach): Do process when the flag is not target
1430         flag.
1431
1432 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1433
1434         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1435         variable.
1436         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1437
1438 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1439
1440         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1441         function.
1442         (elmo-folder-delete-messages): Detach messages before delete
1443         messages from target folder.
1444         (elmo-folder-detach-messages): Set updated number-list to slot.
1445
1446 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1447
1448         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1449
1450 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1451
1452         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1453
1454 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1455
1456         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1457         internal use only).
1458         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1459         not modified.
1460         (elmo-folder-delete-messages): Define.
1461         (elmo-folder-move-messages): Don't call
1462         `elmo-folder-detach-messages'.
1463         (elmo-folder-synchronize): Rewrite.
1464         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1465
1466         * elmo-util.el (elmo-last): New function.
1467         (elmo-set-list): Ditto.
1468         (elmo-number-set-delete-list): Ditto.
1469         (elmo-number-set-delete): Ditto.
1470
1471         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1472
1473         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1474         `elmo-folder-delete-messages' and don't delete location map.
1475         (elmo-folder-detach-messages): Define.
1476
1477         * elmo-imap4.el (elmo-folder-delete): Use
1478         `elmo-folder-delete-messages-internal' instead of
1479         `elmo-folder-delete-messages'.
1480
1481         * elmo-filter.el (elmo-folder-delete-messages): Call
1482         `elmo-folder-detach-messages'.
1483         (elmo-folder-detach-messages): Don't call
1484         `elmo-folder-detach-messages' for target folder.
1485
1486         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1487         message deletion is succeeded.
1488
1489         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1490
1491         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1492         from `elmo-folder-delete-messages'.
1493
1494         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1495
1496         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1497
1498         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1499
1500         * elmo-version.el (elmo-version): Up to 2.11.32.
1501
1502 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1503
1504         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1505         (elmo-global-flag-list): Added obsolete variable setting.
1506
1507         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1508
1509         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1510         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1511         `elmo-mime-display-header-analysis' is nil.
1512
1513         * elmo-flag.el (elmo-global-flags): Renamed from
1514         `elmo-global-flag-list' (All other related portions are changed).
1515         (elmo-local-flags): New variable.
1516         (elmo-local-flag-p): New function.
1517         (elmo-global-flag-set-internal): Cause an error when flag is not
1518         global.
1519
1520 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1521
1522         * elmo-util.el (elmo-concat-path): Treat empty path.
1523
1524 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1525
1526         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1527         field-or-fields).
1528         (elmo-split-address-match): Ditto.
1529         (elmo-split-equal): Ditto.
1530         (elmo-split-match): Ditto.
1531
1532 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1533
1534         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1535         (elmo-generic-folder-append-messages): If src message exists but
1536         has no flag, pass (read) for the FLAG argument of
1537         `elmo-folder-append-buffer'. Otherwise, pass nil.
1538
1539         * elmo-split.el (elmo-split-subr): Likewise.
1540
1541         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1542
1543         * elmo-multi.el (elmo-message-flags): Ditto.
1544
1545         * elmo-filter.el (elmo-message-flags): Ditto.
1546
1547         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1548         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1549         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1550         
1551 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1552
1553         * elmo-split.el (elmo-split-rule): Update comment.
1554         (elmo-split-address-equal): Allow 2nd argument to be a list.
1555         (elmo-split-address-match): Ditto.
1556         (elmo-split-equal): Ditto.
1557         (elmo-split-match): Ditto.
1558
1559 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1560
1561         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1562         (elmo-folder-append-msgdb): Don't treat `read'.
1563         (elmo-message-flags): Don't return `read'.
1564
1565         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1566         (elmo-folder-unset-read-delayed): Ditto.
1567
1568         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1569
1570 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1571
1572         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1573         deletion.
1574
1575 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1576
1577         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1578         header.
1579
1580 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1581
1582         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1583         here.
1584         (elmo-msgdb-save): Bind inhibit-quit.
1585         (modb-standard-message-entity): Ditto.
1586
1587 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1588
1589         * elmo-database.el: No need to require elmo-msgdb.
1590
1591 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1592
1593         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1594         instead of `elmo-list-subdirectories'.
1595
1596 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1597
1598         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1599         group entry.
1600         (elmo-folder-exists-p): "[" is empty.
1601         (elmo-folder-list-subfolders): Define.
1602         (elmo-folder-have-subfolder-p): Ditto.
1603
1604 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1605
1606         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1607
1608 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1609
1610         * elmo-filter.el (elmo-folder-local-p): Define.
1611
1612 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1613
1614         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1615         when entity is garbaged.
1616         (modb-standard-save-entity-1): Don't modify the original entity.
1617
1618 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1619
1620         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1621
1622 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1623
1624         * elmo.el (elmo-strict-folder-diff): Use
1625         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1626
1627 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1628
1629         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1630         (elmo-msgdb-message-number): Ditto.
1631         (elmo-msgdb-message-field): Ditto.
1632
1633         * modb-standard.el (modb-standard-economize-entity-size): New user
1634         option.
1635         (modb-standard-loaded-message-id): New inline function.
1636         (modb-standard-load-entity): Use it.
1637         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1638         throw message-id string away.
1639         (elmo-msgdb-flag-available-p): Define.
1640         (elmo-msgdb-message-number): Ditto.
1641         (elmo-msgdb-message-field): Ditto.
1642
1643         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1644         (suppoted -> supported).
1645         (modb-legacy-supported-flag-p): Ditto.
1646         (elmo-msgdb-set-flag): Ditto.
1647         (elmo-msgdb-unset-flag): Ditto.
1648         (elmo-msgdb-flag-available-p): Define.
1649
1650         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1651         is `t', treat it as legacy entity.
1652         
1653         * elmo.el (elmo-message-flag-available-p): New generic function.
1654         (elmo-message-number): Ditto.
1655         (elmo-message-field): Use `elmo-msgdb-message-field'.
1656
1657         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1658
1659         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1660         (elmo-message-number): Ditto.
1661
1662         * elmo-multi.el (elmo-message-number): Define.
1663         (elmo-message-flag-available-p): Ditto.
1664
1665         * elmo-filter.el (elmo-message-flag-available-p): Define.
1666         (elmo-message-number): Ditto.
1667
1668         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1669         (elmo-folder-initialize): Load `max-number'.
1670         (elmo-folder-commit): Save it.
1671         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1672         (elmo-global-flag-set-internal): Set up max-number slot.
1673
1674 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1675
1676         * elmo-version.el (elmo-version): Up to 2.11.31.
1677
1678 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1679
1680         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1681         unibyte string of the current buffer for the argument of `md5'
1682         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1683
1684 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1685
1686         * modb-legacy.el (modb-legacy-flag-list): New constant.
1687         (modb-legacy-suppoted-flag-p): New internal function.
1688         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1689         (elmo-msgdb-unset-flag): Ditto.
1690
1691 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1692
1693         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1694
1695         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1696         from msgdb.
1697
1698 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1699
1700         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1701         (follow the API change).
1702
1703         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1704
1705 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1706
1707         * modb-standard.el (modb-standard-digest-flags): Abolish.
1708         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1709
1710         * elmo-vars.el (elmo-digest-flags): New variable.
1711         (elmo-preserved-flags): Moved from elmo-flag.el.
1712
1713         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1714         (elmo-imap4-flag-to-imap-criteria): Ditto.
1715         (elmo-imap4-folder-list-flagged): Use it.
1716
1717         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1718
1719         * elmo.el (elmo-folder-count-flags): Changed return value.
1720
1721         * elmo-flag.el (elmo-preserved-flags): New variable.
1722         (elmo-get-global-flags): Use it.
1723
1724         * modb-standard.el (modb-standard-digest-flags): New variable.
1725         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1726         Changed behavior of `any'.
1727
1728         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1729         which are defined the Internet draft
1730         (draft-melnikov-imap-keywords-03.txt).
1731         (elmo-imap4-flags-to-imap): New function.
1732         (elmo-folder-append-buffer): Use it.
1733
1734         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1735         in the docstring.
1736
1737         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1738         avoid the bug of Emacs 21.3.
1739
1740 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1741
1742         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1743         function find-coding-system does not exist.
1744
1745 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1746
1747         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1748         parsing.
1749
1750 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1751
1752         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1753         response codes.
1754
1755 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1756
1757         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1758         (elmo-network-close-session): Follow the changes in
1759         `elmo-pop3-read-response'.
1760         (elmo-pop3-auth-user): Ditto.
1761         (elmo-pop3-auth-apop): Ditto.
1762         (elmo-network-initialize-session): Ditto.
1763         (elmo-network-authenticate-session): Ditto.
1764         (elmo-network-setup-session): Ditto.
1765         (elmo-folder-status): Ditto.
1766         (elmo-message-fetch-plugged): Ditto.
1767         (elmo-pop3-delete-msg): Ditto.
1768
1769 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1770
1771         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1772         on failure.
1773
1774 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1775
1776         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1777         style.
1778         (elmo-bind-directory): Ditto.
1779
1780 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1781
1782         * elmo.el (elmo-folder-append-messages): Note on return value.
1783         * elmo-archive.el (elmo-folder-append-messages): Don't return
1784         message numbers which could not be appended.
1785
1786 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1787
1788         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1789
1790 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1791
1792         * elmo-version.el (elmo-version): Up to 2.11.30.
1793
1794 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1795
1796         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1797         `mask'.
1798
1799         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1800
1801         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1802         (elmo-multi-split-numbers): Add elmo-folder object into each
1803         element of return value at first.
1804         (elmo-folder-delete-messages): Follow the above change.
1805         (elmo-folder-detach-messages): Ditto.
1806
1807         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1808         number which is synchronized in target folder.
1809
1810 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1811
1812         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1813         Change default value to symbol `all'.
1814         (elmo-map-message-fetch): Change condition to update overview
1815         follow the above.
1816
1817 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1818
1819         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1820         behavior to update overview.
1821         (elmo-shimbun-update-overview-folder-list): Note it.
1822
1823 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1824
1825         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1826         recursive call.
1827
1828 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1829
1830         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1831         buffer-disable-undo, it is unnecessary.
1832         (elmo-spam-register-good-messages): Ditto.
1833
1834         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1835         Ditto.
1836
1837         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1838
1839 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1840
1841         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1842         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1843         elmo-set-buffer-multibyte.
1844         (elmo-object-load): Ditto.
1845         (elmo-save-buffer): Ditto.
1846         (elmo-delete-char): Ditto.
1847         (elmo-file-field-primitive-condition-match): Ditto.
1848         (elmo-mime-string): Ditto.
1849
1850         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1851         (elmo-archive-field-condition-match): Ditto.
1852
1853         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1854
1855         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1856
1857         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1858         (elmo-nntp-msgdb-create-message): Ditto.
1859
1860         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1861
1862         * elmo.el (elmo-message-match-condition): Ditto.
1863         (elmo-message-match-condition): Ditto.
1864
1865         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1866         Ditto.
1867
1868         * elmo-version.el (elmo-version): Up to 2.11.29.
1869
1870         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1871         (elsp-header): New backend.
1872
1873         * elmo-util.el (elmo-decoded-field-body): New function.
1874
1875 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1876
1877         * elmo-version.el (elmo-version): Up to 2.11.28.
1878
1879 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1880
1881         * elmo-filter.el: Rewrite.
1882
1883         * elmo-version.el (elmo-version): Up to 2.11.27.
1884
1885 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1886
1887         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1888         msgdb path for the localdir folder with absolute path.
1889
1890         * utf7.el: Synch up with latest gnus/utf7.el;
1891         Modified for latest Emacs.
1892
1893 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1894
1895         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1896         shimbun backend couldn't open.
1897
1898 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1899
1900         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1901         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1902         when a destination folder is a filter folder.
1903
1904 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1905
1906         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1907         (elmo-generic-folder-append-messages): Call elmo-message-flags
1908         with argument `msgid'.
1909
1910         * elmo-split.el (elmo-split-subr): Ditto.
1911
1912         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1913
1914         * elmo-multi.el (elmo-message-flags): Ditto.
1915
1916 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1917
1918         * elmo.el (elmo-folder): Add new slot `flag-table'.
1919         (elmo-folder-flag-table): New API.
1920         (elmo-folder-close-flag-table): Ditto.
1921         (elmo-folder-preserve-flags): New function.
1922         (elmo-generic-folder-append-messages): Use
1923         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1924         Flag of a non-registered message, it sets to nil.
1925         Does not set flag to flag-table.
1926
1927         * elmo-maildir.el (elmo-folder-append-buffer): Use
1928         `elmo-folder-preserve-flags'.
1929         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1930         `elmo-folder-close-flag-table'.
1931
1932         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1933         (elmo-archive-folder-append-buffer): Use
1934         `elmo-folder-preserve-flags'.
1935
1936         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1937
1938         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1939
1940         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1941         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1942         `elmo-folder-close-flag-table'.
1943
1944         * elmo-version.el (elmo-version): Up to 2.11.26.
1945
1946 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1947
1948         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1949
1950         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1951         md5's 4th and 5th argument (non-existent in flim one).
1952
1953 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1954
1955         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1956         message, It sets to nil.
1957
1958 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1959
1960         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1961         list is non-nil.
1962
1963 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1964
1965         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1966
1967         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1968
1969         * elmo-util.el (elmo-uniq-sorted-list): New function.
1970         (elmo-make-number-list): Ditto.
1971         (elmo-number-set-to-number-list): Use elmo-make-number-list
1972         and don't use nreverse.
1973
1974 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1975
1976         * elmo-version.el (elmo-version): Up to 2.11.25.
1977
1978 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1979
1980         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1981         field not exists in message, Use md5 message digest of header.
1982
1983 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1984
1985         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1986         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1987         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1988         * elmo-split.el (elmo-split-subr): Check return value of
1989         elmo-folder-append-buffer.
1990
1991         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1992         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1993
1994         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1995         message-id.
1996
1997 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1998
1999         * elmo-split.el (elmo-split-subr): Append message with flag.
2000
2001         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2002         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2003         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2004
2005 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2006
2007         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2008         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2009         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2010
2011 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2012
2013         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2014         with a function call of `process-buffer'.  All callers are updated.
2015         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2016         Remove redundant `set-buffer' in a while loop.
2017
2018 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2019
2020         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2021         calls.
2022
2023 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2024
2025         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2026         elsp-spamfilter-register-buffer-internal with current buffer.
2027         (elmo-spam-register-spam-buffer): Ditto.
2028         (elmo-spam-register-good-buffer): Ditto.
2029
2030 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2031
2032         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2033         if it is not contained in the response(A workaround for courier-imap).
2034
2035 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2036
2037         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2038         parenthesis.
2039
2040 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2041
2042         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2043         range.
2044
2045 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2046
2047         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2048         of nconc.
2049
2050         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2051         argument handler.
2052         (elmo-msgdb-message-match-condition): Follow the change above.
2053
2054 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2055
2056         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2057         folder name.
2058
2059 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2060
2061         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2062
2063 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2064
2065         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2066
2067 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2068
2069         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2070         not found.
2071
2072 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2073
2074         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2075         value.
2076         (elmo-file-command-argument): Undo last change for cygwin.
2077         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2078         Don't return nil.
2079         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2080
2081 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2082
2083         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2084         value returned from elmo-file-find is nil.
2085
2086 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2087
2088         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2089         to elmo-vars.el.
2090
2091         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2092         instead of insert-file-contents-as-binary.
2093         (elmo-message-set-field): New generic function.
2094
2095         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2096         behavior change on `split-string'.
2097
2098         * elmo-file.el (elmo-file-find): New function.
2099         (elmo-file-command): New user option.
2100         (elmo-file-command-argument): Ditto.
2101         (elmo-file-fetch-max-size): Ditto.
2102         (elmo-file-detect-format): New function.
2103         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2104         Use elmo-file-detect-format.
2105         (elmo-map-folder-list-message-locations): Don't treat directories.
2106
2107 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2108
2109         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2110         (elmo-passwd-alist-clear): Shred password before clear.
2111         (elmo-remove-passwd): Remove all mached pair.
2112
2113 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2114
2115         * elmo.el (elmo-folder-synchronize): Fix description of the return
2116         value.
2117
2118 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2119
2120         * elmo.el (elmo-message-fetch-bodystructure): New method.
2121         (elmo-message-fetch-bodystructure): Define default.
2122
2123         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2124         elmo-message-fetch-bodystructure.
2125         (elmo-message-fetch-bodystructure): Define.
2126
2127         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2128
2129 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2130
2131         * elmo-filter.el (elmo-message-folder): Define.
2132
2133 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2134
2135         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2136         elmo-delete-cr-buffer.
2137
2138         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2139
2140         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2141
2142         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2143
2144         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2145         type seems to be a text.
2146
2147 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2148
2149         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2150         (elmo-spam-register-good-buffer): Ditto.
2151         (elmo-spam-spamassassin-register-messages): Ditto.
2152
2153         * elmo-util.el (elmo-string-member-ignore-case): Define with
2154         static-cond.
2155
2156 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2157
2158         * elmo.el (elmo-folder-type): Undo last change.
2159
2160         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2161
2162         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2163         warnings.
2164
2165         * elmo-file.el: New file.
2166         
2167         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2168
2169         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2170         variable.
2171         (elmo-spam-spamassassin-register-messages): New inline function.
2172         (elmo-spam-register-spam-messages): Define.
2173         (elmo-spam-register-good-messages): Ditto.
2174
2175         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2176         Fixed typo.
2177
2178         * elmo.el (toplevel): Added autoload setting for
2179         `elmo-get-global-flags'.
2180         (elmo-message-has-global-flag-p): New function.
2181         (elmo-message-set-global-flags): Ditto.
2182         (elmo-folder-type): Improvement for name: format.
2183
2184         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2185         availability of keyword flags.
2186         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2187         (elmo-folder-list-flagged-plugged): Renamed from
2188         elmo-folder-list-flagged-unplugged.
2189         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2190         accept any flag as keyword flag.
2191         (elmo-folder-set-flag-plugged): Accept keyword flags.
2192         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2193
2194         * elmo-flag.el (elmo-get-global-flags): New function.
2195
2196         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2197         folders.
2198
2199         * elmo-version.el (elmo-version): Up to 2.11.24.
2200
2201 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2202
2203         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2204         elmo-multiple-field-body instead of std11-field-body to check all
2205         headers.
2206
2207 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2208
2209         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2210         or "size".
2211
2212 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2213
2214         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2215         unintern is unbound.
2216
2217 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2218
2219         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2220         Protect from infinite loop.
2221
2222 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2223
2224         * elsp-bogofilter.el
2225         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2226         (elmo-spam-bogofilter-register-messages): New internal function.
2227         (elmo-spam-register-spam-messages): Define.
2228         (elmo-spam-register-good-messages): Ditto.
2229
2230 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2231
2232         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2233         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2234         (elmo-spam-bogofilter-call): Fixed the last change.
2235         (elmo-spam-bogofilter-arguments): Ditto.
2236
2237         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2238         Follow the options change of latest bogofilter.
2239
2240         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2241         (elmo-spam-bogofilter-good-switch): Ditto.
2242         (elmo-spam-bogofilter-arguments-alist): New user option.
2243         (elmo-spam-bogofilter-debug): Ditto.
2244         (elmo-spam-bogofilter-call): Renamed from
2245         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2246         is non-nil, insert output in buffer for debug.
2247         (elmo-spam-bogofilter-arguments): New macro.
2248         (elmo-spam-buffer-spam-p): Use it.
2249         (elsp-bogofilter-register-buffer): Ditto.
2250
2251 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2252
2253         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2254         regexp.
2255
2256 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2257
2258         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2259         value as "ruby".
2260         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2261         (elmo-spam-bsfilter-program): Set default value as full path for
2262         `bsfilter'.
2263         (elmo-spam-bsfilter-debug): New user option.
2264         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2265         non-nil, insert output in buffer for debug. Fix treating of
2266         argument.
2267
2268 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2269
2270         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2271         `elmo-maildir-flag-specs' element instead of one.
2272         (elmo-map-folder-unset-flag): Ditto.
2273         (Reported by Ken Makimura <macky@astem.or.jp>)
2274
2275         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2276         (elmo-folder-unset-flag-plugged): Ditto.
2277
2278 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2279
2280         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2281         to `reads' slot only if `in-msgdb' is nil.
2282
2283 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2284
2285         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2286         and complement argument list.
2287
2288 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2289
2290         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2291         instead of elmo-folder-list-flagged.
2292
2293 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2294
2295         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2296
2297         * elsp-bsfilter.el: New file.
2298
2299         * elmo-pipe.el (elmo-folder-list-unreads,
2300         elmo-folder-list-answereds,
2301         elmo-folder-list-importants,
2302         elmo-folder-flag-as-important,
2303         elmo-folder-unflag-important,
2304         elmo-folder-flag-as-read,
2305         elmo-folder-unflag-read,
2306         elmo-folder-flag-as-answered,
2307         elmo-folder-unflag-answered): Remove.
2308         (elmo-folder-set-flag): Define.
2309         (elmo-folder-unset-flag): Ditto.
2310
2311         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2312         (elmo-folder-set-flag): Define.
2313         (elmo-folder-unset-flag): Ditto.
2314         (elmo-folder-list-unreads): Remove.
2315         (elmo-folder-list-flagged): Define.
2316
2317         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2318         (elmo-folder-list-unreads,
2319         elmo-folder-list-importants,
2320         elmo-folder-list-answereds,
2321         elmo-folder-list-unreads-plugged,
2322         elmo-folder-list-importants-plugged,
2323         elmo-folder-list-answereds-plugged): Remove.
2324         (elmo-folder-list-flagged-plugged): New method.
2325         (elmo-folder-unflag-important,
2326         elmo-folder-flag-as-important,
2327         elmo-folder-unflag-read,
2328         elmo-folder-flag-as-read,
2329         elmo-folder-unflag-answered,
2330         elmo-folder-flag-as-answered,
2331         elmo-folder-flag-as-read-unplugged,
2332         elmo-folder-unflag-read-unplugged,
2333         elmo-folder-flag-as-important-unplugged,
2334         elmo-folder-unflag-important-unplugged,
2335         elmo-folder-flag-as-answered-unplugged,
2336         elmo-folder-unflag-answered-unplugged): Remove.
2337         (elmo-folder-set-flag): Define.
2338         (elmo-folder-unset-flag): Ditto.
2339         (elmo-folder-set-flag-unplugged): Ditto.
2340         (elmo-folder-unset-flag-unplugged): Ditto.
2341
2342         * elmo-multi.el (elmo-folder-list-unreads,
2343         elmo-folder-list-answereds,
2344         elmo-folder-list-importants,
2345         elmo-folder-flag-as-important,
2346         elmo-folder-unflag-important,
2347         elmo-folder-flag-as-read,
2348         elmo-folder-unflag-read,
2349         elmo-folder-flag-as-answered,
2350         elmo-folder-unflag-answered): Remove.
2351         (elmo-folder-set-flag): Define.
2352         (elmo-folder-unset-flag): Ditto.
2353
2354         * elmo-map.el (elmo-map-folder-unflag-important,
2355         elmo-map-folder-flag-as-important,
2356         elmo-map-folder-unflag-read,
2357         elmo-map-folder-flag-as-read,
2358         elmo-map-folder-unflag-answered,
2359         elmo-map-folder-flag-as-answered): Remove.
2360         (elmo-map-folder-set-flag): New method.
2361         (elmo-map-folder-unset-flag): Ditto.
2362         (elmo-map-folder-list-unreads,
2363         elmo-map-folder-list-importants,
2364         elmo-map-folder-list-answereds): Remove.
2365         (elmo-folder-list-flagged-internal): Define.
2366         (elmo-map-folder-list-flagged): New method.
2367
2368         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2369         (elmo-map-folder-list-unreads,
2370         elmo-map-folder-list-importants,
2371         elmo-map-folder-list-flagged): Remove.
2372         (elmo-map-folder-list-flagged): Define.
2373         (elmo-map-folder-flag-as-important,
2374         elmo-map-folder-unflag-important,
2375         elmo-map-folder-flag-as-read,
2376         elmo-map-folder-unflag-read,
2377         elmo-map-folder-flag-as-answered,
2378         elmo-map-folder-unflag-answered): Remove.
2379         (elmo-maildir-set-mark-messages): New internal function.
2380         (elmo-map-folder-set-flag): Define.
2381         (elmo-map-folder-unset-flag): Ditto.
2382
2383         * elmo.el (toplevel): Added autoload setting for
2384         `elmo-folder-list-global-flag-messages'.
2385         (elmo-folder-list-unreads,
2386         elmo-folder-list-importants,
2387         elmo-folder-list-answereds): Remove.
2388         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2389         Return a list whitch merged with messages have global flag.
2390         (elmo-folder-list-flagged-internal): New method.
2391         (elmo-folder-unflag-important,
2392         elmo-folder-flag-as-important,
2393         elmo-folder-unflag-read,
2394         elmo-folder-flag-as-read,
2395         elmo-folder-unflag-answered,
2396         elmo-folder-flag-as-answered): Remove.
2397         (elmo-folder-set-flag): New method.
2398         (elmo-folder-unset-flag): Ditto.
2399         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2400         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2401
2402         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2403         (elmo-folder-list-unreads-plugged,
2404         elmo-folder-list-importants-plugged,
2405         elmo-folder-list-answereds-plugged,
2406         elmo-folder-list-flagged-unplugged,
2407         elmo-folder-unflag-important-plugged,
2408         elmo-folder-flag-as-important-plugged,
2409         elmo-folder-unflag-read-plugged,
2410         elmo-folder-flag-as-read-plugged,
2411         elmo-folder-unflag-answered-plugged,
2412         elmo-folder-flag-as-answered-plugged): Remove.
2413         (elmo-folder-set-flag-plugged,
2414         elmo-folder-unset-flag-plugged): Define.
2415
2416         * elmo-flag.el (elmo-folder-initialize): Register to
2417         `elmo-global-flag-list' if flag is not global.
2418         (elmo-folder-append-messages): Set flag to source messages.
2419
2420         * elmo-filter.el (elmo-filter-folder-list-unreads,
2421         elmo-folder-list-unreads,
2422         elmo-filter-folder-list-importants,
2423         elmo-folder-list-importants,
2424         elmo-folder-flag-as-read,
2425         elmo-folder-unflag-read,
2426         elmo-folder-flag-as-important,
2427         elmo-folder-unflag-important,
2428         elmo-folder-flag-as-answered,
2429         elmo-folder-unflag-answered): Remove.
2430         (elmo-folder-set-flag): Define.
2431         (elmo-folder-unset-flag): Ditto.
2432
2433         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2434         elmo-folder-unflag-read-dop,
2435         elmo-folder-flag-as-important-dop,
2436         elmo-folder-unflag-important-dop,
2437         elmo-folder-flag-as-answered-dop,
2438         elmo-folder-unflag-answered-dop): Remove.
2439         (elmo-folder-set-flag-dop,
2440         elmo-folder-unset-flag-dop,
2441         elmo-folder-set-important-delayed,
2442         elmo-folder-unset-important-delayed,
2443         elmo-folder-set-read-delayed,
2444         elmo-folder-unset-read-delayed,
2445         elmo-folder-set-answered-delayed,
2446         elmo-folder-unset-answered-delayed): New function.
2447         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2448         (elmo-dop-queue-method-name-alist): Ditto.
2449
2450         * elmo-version.el (elmo-version): Up to 2.11.23.
2451
2452 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2453
2454         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2455
2456         * elsp-sa.el: New file.
2457
2458 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2459
2460         * modb-standard.el (modb-standard-message-entity): New function.
2461         (elmo-msgdb-message-entity): Use it.
2462
2463 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2464
2465         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2466         behavior when one-level is nil.
2467
2468         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2469
2470         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2471
2472 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2473
2474         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2475         get max number.
2476         (elmo-generic-folder-diff): Ditto.
2477
2478         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2479         (elmo-folder-update-number): Ditto.
2480
2481         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2482         (elmo-folder-next-message-number-dop): Ditto.
2483
2484 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2485
2486         * elmo-filter.el (elmo-folder-msgdb-create): Use
2487         `elmo-message-entity' and `elmo-message-flags' instead of
2488         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2489
2490 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2491
2492         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2493         `if-exists'.
2494
2495 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2496
2497         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2498
2499         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2500
2501         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2502
2503 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2504
2505         * elmo-version.el (elmo-version): Up to 2.11.22.
2506
2507 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2508
2509         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2510
2511 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2512
2513         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2514         if the message dose not exist.
2515
2516 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2517
2518         * elmo-version.el (elmo-version): Up to 2.11.21.
2519
2520 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2521
2522         * modb-standard.el (toplevel): Don't require mime.
2523
2524 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2525
2526         * elsp-bogofilter.el (toplevel): Don't require path-util.
2527         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2528         (elmo-spam-bogofilter-header): Abolish.
2529         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2530         (elmo-spam-bogofilter-args): New user option.
2531         (elsp-bogofilter-call-bogofilter): New internal function.
2532         (elmo-spam-buffer-spam-p): Use it.
2533         (elsp-bogofilter-register-buffer): Renamed from
2534         `elmo-spam-bogofilter-register-buffer';
2535         Use `elsp-bogofilter-call-bogofilter'.
2536         (elmo-spam-register-spam-buffer): Follow the change above.
2537         (elmo-spam-register-good-buffer): Ditto.
2538
2539 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2540
2541         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2542         message-id is nil do nothing.
2543
2544 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2545
2546         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2547         Revival.
2548         (elmo-imap4-session): Removed use-flag slot.
2549         (elmo-imap4-session-select-mailbox): Undo last change.
2550         (elmo-folder-use-flag-p): Use
2551         elmo-imap4-disuse-server-flag-mailbox-regexp.
2552
2553 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2554
2555         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2556         (elmo-imap4-session-select-mailbox): Set it up.
2557         (elmo-folder-use-flag-p): Return value of use-flag slot.
2558
2559 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2560
2561         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2562         message-id is nil.
2563         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2564
2565         * modb-entity.el (elmo-message-entity-handler): Likewise.
2566
2567 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2568
2569         * elmo.el (toplevel): Remove setting of autoloding for
2570         elmo-global-flag-initialize.
2571         (elmo-init): Don't call elmo-global-flag-initialize.
2572         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2573
2574         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2575         (elmo-global-mark-migrate): Don't call it.
2576         (elmo-global-mark-upgrade): Ditto.
2577
2578 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2579
2580         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2581         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2582
2583         * elmo-vars.el (elmo-init-hook): New user option.
2584
2585         * elmo.el (elmo-init): Run the elmo-init-hook.
2586
2587         * elmo-flag.el (elmo-global-mark-migrate): New function.
2588
2589 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2590
2591         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2592         Undo last change (move to elmo-msgdb-unset-flag).
2593         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2594         flag is unset.
2595
2596 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2597
2598         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2599         read flag is set.
2600         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2601         (elmo-msgdb-unset-flag): Ditto.
2602
2603 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2604
2605         * elmo-split.el (elmo-split): Return split message count.
2606
2607 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2608
2609         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2610         is nil.
2611
2612 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2613
2614         * elmo.el (elmo-folder-unflag-important): Call
2615         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2616         a symbol `always'.
2617
2618         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2619         before unset flag.
2620         (elmo-global-flag-detach): Delete the message from flag folder, if
2621         `delete-if-none' is a symbol `always'.
2622
2623 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2624
2625         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2626         `elmo-spam-spamfilter-decode-buffer'.
2627         (elsp-spamfilter-register-buffer-internal): New internal function.
2628         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2629         (elmo-spam-register-spam-buffer): Ditto.
2630         (elmo-spam-register-good-buffer): Ditto.
2631
2632         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2633         change.
2634         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2635         (elmo-spam-register-spam-buffer): Follow the API change.
2636         (elmo-spam-register-good-buffer): Ditto.
2637
2638         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2639         (elmo-split-spam-p): Added argument plist; Call
2640         `elmo-spam-buffer-spam-p' with new argument register.
2641
2642         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2643         `register'.
2644         (elmo-spam-message-spam-p): Ditto.
2645         (elmo-spam-register-spam-buffer): Added optional argument
2646         `restore'.
2647         (elmo-spam-register-good-buffer): Ditto.
2648         (elmo-spam-register-spam-messages): Ditto.
2649         (elmo-spam-register-good-messages): Ditto.
2650
2651 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2652
2653         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2654         register into good corpus.
2655         (elmo-spam-register-good-buffer): Fixed to register into bad
2656         corpus.
2657
2658 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2659
2660         * elmo-version.el (elmo-version): Up to 2.11.20.
2661
2662         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2663         change.
2664
2665         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2666         flag without depending on \Recent flag.
2667
2668 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2669
2670         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2671         (elmo-spam-modified-p): Defined.
2672         (elmo-spam-save-status): Set `modified' slot to nil.
2673         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2674         (elmo-spam-register-good-buffer): Ditto.
2675
2676         * elmo-spam.el (elmo-spam-modified-p): New API.
2677
2678 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2679
2680         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2681         duplicate definition.
2682
2683         * elmo-util.el (elmo-unfold-field-body): New function.
2684         (elmo-msgdb-get-message-id-from-buffer): Use it.
2685
2686         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2687         Fixed the last change; Use elmo-unfold-field-body.
2688
2689 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2690
2691         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2692         Unfold date value.
2693
2694 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2695
2696         * elmo-spam.el (elmo-spam-save-status): New API.
2697
2698         * elsp-spamfilter.el: New file.
2699
2700 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2701
2702         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2703
2704 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2705
2706         * elmo-split.el (elmo-split-spam-p): New function.
2707
2708         * elmo-spam.el: New file.
2709
2710         * elsp-bogofilter.el: Ditto.
2711
2712 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2713
2714         * elmo.el (elmo-folder-next-message-number): New API.
2715         (elmo-folder-next-message-number): Define.
2716         (elmo-message-field): Don't check folder length.
2717
2718         * elmo-net.el (elmo-folder-next-message-number): Define.
2719         (elmo-folder-next-message-number-unplugged): Define.
2720
2721         * elmo-map.el (elmo-folder-next-message-number): Define.
2722         (elmo-folder-delete-messages): Clear hash value.
2723
2724         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2725
2726         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2727         (elmo-folder-delete-messages-dop-delayed): Always return t.
2728
2729         * elmo-version.el (elmo-version): Up to 2.11.19.
2730
2731 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2732
2733         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2734         change.
2735
2736         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2737         identical cons cell into the mark-alist and the hash table.
2738
2739 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2740
2741         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2742         elmo-folder-list-messages with argument `visible-only' as t.
2743
2744         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2745         (elmo-folder-msgdb-create): Check the target folder.
2746
2747 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2748
2749         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2750         `permanentflag' instead of `flags'.
2751         (elmo-folder-open): Ditto.
2752         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2753         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2754         (elmo-folder-use-flag-p): Always return t.
2755         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2756         `permanentflags' does not exist.
2757         (elmo-folder-open): Ditto.
2758
2759 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2760
2761         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2762         is nil.
2763         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2764
2765         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2766         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2767         response.
2768         (elmo-folder-open): Ditto.
2769         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2770         slot of the session includes the flag.
2771         (elmo-imap4-session-flag-available-p): New function.
2772         (elmo-imap4-folder-list-flagged): Ditto.
2773         (elmo-folder-list-unreads-plugged): Use it.
2774         (elmo-folder-list-importants-plugged): Ditto.
2775         (elmo-folder-list-answereds-plugged): Ditto.
2776         (elmo-imap4-search-internal-primitive): Ditto.
2777         (elmo-imap4-folder-list-any-plugged,
2778         elmo-imap4-folder-list-digest-plugged): Abolish.
2779
2780         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2781         if numbers is nil.
2782
2783 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2784
2785         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2786
2787 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2788
2789         * elmo-util.el (elmo-get-hash-val): Simplify.
2790         (elmo-set-hash-val): Rewrite.
2791
2792 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2793
2794         * elmo.el (elmo-folder-list-messages): Append killed messages into
2795         result if `visible-only' is nil and `in-msgdb' is non-nil.
2796
2797         * elmo-util.el (elmo-uniq-list): Added optional argument
2798         `delete-function'.
2799
2800         * modb.el (elmo-msgdb-flag-count): New API.
2801
2802         * modb-standard.el (modb-standard): Added slot flag-count.
2803         (modb-standard-countup-flags): New function.
2804         (modb-standard-load-flag): Call it.
2805         (elmo-msgdb-append): Ditto.
2806         (elmo-msgdb-clear): Clear slot flag-count.
2807         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2808         (elmo-msgdb-unset-flag): Treat `all' flag and call
2809         modb-standard-countup-flags.
2810         (elmo-msgdb-flag-count): Define.
2811         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2812         (elmo-msgdb-delete-messages): Ditto.
2813
2814         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2815         (elmo-msgdb-flag-count): Define.
2816
2817         * elmo.el (elmo-folder-list-messages): Undo last change.
2818         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2819         (elmo-folder-kill-messages): Unset all flags to numbers.
2820
2821         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2822         elmo-folder-kill-messages.
2823
2824         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2825         (elmo-nntp-folder-delete-messages): Abolish.
2826
2827         * elmo-version.el (elmo-version): Up to 2.11.18.
2828
2829 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2830
2831         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2832         (elmo-folder-kill-messages-range): New function.
2833         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2834         instead of elmo-folder-kill-messages-before.
2835
2836 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2837
2838         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2839         elmo-imap4-current-msgdb to decide entity handler.
2840
2841 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2842
2843         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2844
2845         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2846         inline function.
2847         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2848         (elmo-msgdb-overview-entity-set-number,
2849         elmo-msgdb-overview-entity-get-references,
2850         elmo-msgdb-overview-entity-set-references,
2851         elmo-msgdb-overview-entity-get-from-no-decode,
2852         elmo-msgdb-overview-entity-get-from,
2853         elmo-msgdb-overview-entity-set-from,
2854         elmo-msgdb-overview-entity-get-subject,
2855         elmo-msgdb-overview-entity-get-subject-no-decode,
2856         elmo-msgdb-overview-entity-set-subject,
2857         elmo-msgdb-overview-entity-get-date,
2858         elmo-msgdb-overview-entity-set-date,
2859         elmo-msgdb-overview-entity-get-to,
2860         elmo-msgdb-overview-entity-get-cc,
2861         elmo-msgdb-overview-entity-get-size,
2862         elmo-msgdb-overview-entity-set-size,
2863         elmo-msgdb-overview-entity-get-extra,
2864         elmo-msgdb-overview-entity-set-extra,
2865         elmo-msgdb-overview-entity-get-extra-field,
2866         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2867         (elmo-msgdb-make-index): Use
2868         `elmo-msgdb-overview-entity-get-number-internal'.
2869         (elmo-msgdb-clear-index): Ditto.
2870         (elmo-msgdb-append-entity): Ditto;
2871         Use `elmo-msgdb-overview-entity-get-id-internal'.
2872
2873         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2874         elmo-msgdb-overview-entity-set-number,
2875         elmo-msgdb-overview-entity-get-references,
2876         elmo-msgdb-overview-entity-set-references,
2877         elmo-msgdb-overview-entity-get-from-no-decode,
2878         elmo-msgdb-overview-entity-get-from,
2879         elmo-msgdb-overview-entity-set-from,
2880         elmo-msgdb-overview-entity-get-subject,
2881         elmo-msgdb-overview-entity-get-subject-no-decode,
2882         elmo-msgdb-overview-entity-set-subject,
2883         elmo-msgdb-overview-entity-get-date,
2884         elmo-msgdb-overview-entity-set-date,
2885         elmo-msgdb-overview-entity-get-to,
2886         elmo-msgdb-overview-entity-get-cc,
2887         elmo-msgdb-overview-entity-get-size,
2888         elmo-msgdb-overview-entity-set-size,
2889         elmo-msgdb-overview-entity-get-extra,
2890         elmo-msgdb-overview-entity-set-extra,
2891         elmo-msgdb-overview-entity-get-extra-field,
2892         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2893         and rewrote for backward compatibility.
2894
2895 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2896
2897         * elmo.el (elmo-message-entity-number,
2898         elmo-message-entity-set-number,
2899         elmo-message-entity-field,
2900         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2901
2902         * elmo-msgdb.el (elmo-message-entity-number,
2903         elmo-message-entity-set-number,
2904         elmo-message-entity-field,
2905         elmo-message-entity-set-field): Moved from elmo.el.
2906
2907 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2908
2909         * elmo.el (toplevel): Changed definition orders.
2910
2911 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2912
2913         * modb.el (elmo-msgdb-search): New API .
2914         (elmo-msgdb-match-condition): Ditto.
2915
2916         * modb-standard.el (elmo-msgdb-search): Define.
2917
2918         * modb-legacy.el (elmo-msgdb-search): Ditto.
2919
2920         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2921         from elmo-msgdb-match-condition-internal.
2922
2923         * elmo.el (elmo-folder-search-fast): Abolish.
2924         (elmo-folder-search): Use elmo-msgdb-search and
2925         elmo-with-progress-display.
2926
2927         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2928         as msgdb API.
2929
2930         * elmo.el (elmo-folder): Remove slot message-modified and
2931         flag-modified.
2932         (elmo-folder-set-message-modified): Abolish.
2933         (elmo-generic-folder-commit): Follow the change above.
2934         (elmo-folder-synchronize): Ditto.
2935
2936         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2937
2938         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2939
2940         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2941
2942 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2943
2944         * modb-standard.el (modb-standard-make-message-entity,
2945         elmo-msgdb-make-message-entity,
2946         elmo-msgdb-create-message-entity-from-buffer,
2947         elmo-msgdb-message-entity-number,
2948         elmo-msgdb-message-entity-set-number,
2949         elmo-msgdb-message-entity-field,
2950         elmo-msgdb-message-entity-set-field,
2951         elmo-msgdb-copy-message-entity,
2952         elmo-msgdb-match-condition-internal): Remove.
2953
2954         * modb-entity.el: New file (again).
2955
2956         * modb.el (toplevel): Require modb-entity.
2957         (elmo-msgdb-message-entity-handler): New method.
2958
2959         * modb-standard.el (modb-standard-entity-id): Use
2960         elmo-message-entity-handler.
2961         (modb-standard-load-entity): Ditto.
2962         (elmo-msgdb-append-entity): Ditto.
2963         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2964
2965         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2966         elmo-msgdb-decoded-cache-hashtb,
2967         (modb-legacy-make-message-entity,
2968         elmo-msgdb-make-message-entity,
2969         elmo-msgdb-create-message-entity-from-buffer,
2970         elmo-msgdb-message-entity-number,
2971         elmo-msgdb-message-entity-set-number,
2972         elmo-msgdb-message-entity-field,
2973         elmo-msgdb-message-entity-set-field,
2974         elmo-msgdb-copy-message-entity,
2975         elmo-msgdb-match-condition-internal,
2976         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2977
2978         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2979         (elmo-message-entity-set-number): Ditto.
2980         (elmo-message-entity-field): Ditto.
2981         (elmo-message-entity-set-field): Ditto.
2982
2983         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2984
2985         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2986
2987         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2988
2989         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2990         (elmo-nntp-msgdb-create-message): Ditto.
2991
2992         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2993         (elmo-folder-msgdb-create): Add unread flag.
2994
2995         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2996
2997         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2998
2999         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3000
3001         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3002
3003         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3004         elmo-msgdb-messge-entity-handler.
3005         * elmo-version.el (elmo-version): Up to 2.11.17.
3006
3007 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3008
3009         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3010         change.
3011
3012 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3013
3014         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3015
3016         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3017         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3018         (elmo-msgdb-flag-table): Ditto.
3019         (elmo-msgdb-sort-by-date): Ditto.
3020
3021         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3022
3023         * modb-standard.el (toplevel): Require mime.
3024         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3025         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3026         elmo-msgdb-message-entity-number.
3027         (elmo-msgdb-append-entity): Ditto.
3028         (elmo-msgdb-create-message-entity-from-file): Remove.
3029         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3030         corresponds to the entity.
3031         (elmo-msgdb-message-entity-number): Do nothing currently.
3032         (elmo-msgdb-message-entity-field): Ditto.
3033         (elmo-msgdb-message-entity-set-field): Ditto.
3034         (elmo-msgdb-copy-message-entity): Ditto.
3035         (elmo-msgdb-match-condition-internal): Ditto.
3036
3037         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3038         elmo-util.el.
3039         (elmo-msgdb-create-message-entity-from-file): Remove.
3040
3041         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3042         modb-legacy.el.
3043         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3044
3045         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3046
3047 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3048
3049         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3050         (elmo-msgdb-message-entity-field): Ditto.
3051         (elmo-msgdb-message-entity-number): Ditto.
3052
3053 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3054
3055         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3056         Fixed how to set extra field into entity.
3057         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3058         symbol.
3059
3060         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3061         Fixed how to set extra field into entity.
3062         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3063         symbol.
3064
3065 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3066
3067         * modb.el (elmo-message-entity-db): New function.
3068         (elmo-msgdb-make-message-entity): New API.
3069         (elmo-msgdb-message-entity-number): Ditto.
3070         (elmo-msgdb-message-entity-set-number): Ditto.
3071         (elmo-msgdb-message-entity-field): Ditto.
3072         (elmo-msgdb-message-entity-set-field): Ditto.
3073         (elmo-msgdb-copy-message-entity): Ditto.
3074         (elmo-msgdb-create-message-entity-from-file): Ditto.
3075         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3076         (elmo-msgdb-match-condition-internal): Ditto.
3077
3078         * modb-standard.el (modb-legacy): Require modb-legacy.
3079         (modb-standard-make-message-entity): New inline function.
3080         (elmo-msgdb-make-message-entity): Define.
3081         (elmo-msgdb-create-message-entity-from-file): Ditto.
3082         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3083         (elmo-msgdb-message-entity-field): Ditto.
3084         (elmo-msgdb-message-entity-set-field): Ditto.
3085         (elmo-msgdb-copy-message-entity): Ditto.
3086         (elmo-msgdb-match-condition-internal): Ditto.
3087
3088         * modb-legacy.el: Don't require modb-entity.
3089         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3090         (elmo-msgdb-match-condition-primitive): Ditto.
3091         (elmo-msgdb-get-decoded-cache): Ditto.
3092         (elmo-msgdb-overview-entity-get-id): Ditto.
3093         (elmo-msgdb-overview-entity-get-number): Ditto.
3094         (elmo-msgdb-overview-entity-set-number): Ditto.
3095         (elmo-msgdb-overview-entity-get-references): Ditto.
3096         (elmo-msgdb-overview-entity-set-references): Ditto.
3097         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3098         (elmo-msgdb-overview-entity-get-from): Ditto.
3099         (elmo-msgdb-overview-entity-set-from): Ditto.
3100         (elmo-msgdb-overview-entity-get-subject): Ditto.
3101         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3102         (elmo-msgdb-overview-entity-set-subject): Ditto.
3103         (elmo-msgdb-overview-entity-get-date): Ditto.
3104         (elmo-msgdb-overview-entity-set-date): Ditto.
3105         (elmo-msgdb-overview-entity-get-to): Ditto.
3106         (elmo-msgdb-overview-entity-get-cc): Ditto.
3107         (elmo-msgdb-overview-entity-get-size): Ditto.
3108         (elmo-msgdb-overview-entity-set-size): Ditto.
3109         (elmo-msgdb-overview-entity-get-extra): Ditto.
3110         (elmo-msgdb-overview-entity-set-extra): Ditto.
3111         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3112         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3113         (elmo-msgdb-number-load): Ditto.
3114         (elmo-msgdb-overview-load): Ditto.
3115         (elmo-msgdb-mark-load): Ditto.
3116         (elmo-msgdb-number-save): Ditto.
3117         (elmo-msgdb-mark-save): Ditto.
3118         (elmo-msgdb-overview-save): Ditto.
3119         (modb-legacy-make-message-entity): New inline function.
3120         (elmo-msgdb-insert-file-header): Ditto.
3121         (elmo-msgdb-make-message-entity): Define.
3122         (elmo-msgdb-create-message-entity-from-file): Ditto.
3123         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3124         (elmo-msgdb-message-entity-number): Ditto.
3125         (elmo-msgdb-message-entity-set-number): Ditto.
3126         (elmo-msgdb-message-entity-field): Ditto.
3127         (elmo-msgdb-message-entity-set-field): Ditto.
3128         (elmo-msgdb-copy-message-entity): Ditto.
3129         (elmo-msgdb-match-condition-internal): Ditto.
3130
3131         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3132         (elmo-message-copy-entity): Rewrite.
3133         (elmo-message-entity-number): Ditto.
3134         (elmo-message-entity-set-number): Ditto.
3135         (elmo-message-entity-field): Use elmo-message-entity-db.
3136         (elmo-message-entity-set-field): Ditto.
3137         (elmo-message-field): Rewrite.
3138
3139         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3140         elmo-msgdb.el
3141         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3142
3143         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3144         elmo-message-entity-field.
3145         (elmo-shimbun-folder-shimbun-header): Ditto.
3146         (elmo-shimbun-entity-to-header): Ditto.
3147         (elmo-folder-msgdb-create): Ditto.
3148         (elmo-shimbun-msgdb-create-entity): Ditto;
3149         Use elmo-msgdb-create-message-entity-from-buffer.
3150         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3151         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3152
3153         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3154         elmo-msgdb-create-message-entity-from-file and 
3155         elmo-message-entity-field.
3156
3157         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3158         elmo-message-entity-number.
3159         (elmo-pop3-msgdb-create-message): Use
3160         elmo-msgdb-create-message-entity-from-buffer,
3161         elmo-message-entity-set-field, elmo-message-entity-number and
3162         elmo-message-entity-set-number.
3163
3164         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3165         the API change in elmo-msgdb-make-message-entity.
3166         (elmo-nntp-msgdb-create-message): Use
3167         elmo-msgdb-create-message-entity-from-buffer.
3168
3169         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3170         elmo-message-entity-field and
3171         elmo-msgdb-create-message-entity-from-file.
3172
3173         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3174         (elmo-msgdb-get-field): Abolish.
3175         (elmo-msgdb-get-number): Rewrite.
3176         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3177         (elmo-msgdb-flag-table): Ditto.
3178         (elmo-msgdb-get-last-message-id,
3179         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3180         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3181         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3182         (elmo-msgdb-create-overview-from-buffer,
3183         elmo-msgdb-overview-get-parent-entity): Abolish.
3184
3185         * elmo-mime.el (elmo-mime-display-as-is): Use
3186         elmo-message-entity-field.
3187
3188         * elmo-map.el (elmo-folder-pack-numbers): Use
3189         elmo-message-entity-set-number.
3190
3191         * elmo-maildir.el (elmo-folder-msgdb-create): 
3192         elmo-msgdb-create-message-entity-from-file instead of
3193         elmo-msgdb-create-overview-entity-from-file.
3194
3195         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3196         msgdb.
3197         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3198         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3199
3200         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3201         elmo-messge-entity-field and elmo-message-entity-number.
3202         (elmo-imap4-fetch-callback-1): Call
3203         elmo-msgdb-create-message-entity-from-buffer instead of
3204         elmo-msgdb-create-overview-from-buffer. 
3205         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3206         (elmo-find-fetch-strategy): Likewise.
3207
3208         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3209         elmo-localdir-msgdb-create-entity with argument msgdb.
3210
3211         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3212         and elmo-message-entity-set-number.
3213
3214         * elmo-cache.el (elmo-folder-msgdb-create): Use
3215         elmo-message-entity-field.
3216         (elmo-folder-msgdb-create): Call
3217         elmo-msgdb-create-message-entity-from-file instead of
3218         elmo-msgdb-create-overview-entity-from-file.
3219
3220         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3221         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3222         instead of elmo-msgdb-create-overview-from-buffer.
3223         (elmo-archive-msgdb-create-entity): Ditto.
3224         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3225         elmo-message-entity-field.
3226         (elmo-archive-parse-mmdf): Ditto.
3227
3228         * modb-entity.el: Removed.
3229
3230         * elmo-version.el (elmo-version): Up to 2.11.16.
3231
3232 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3233
3234         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3235         `is-local'.
3236         (elmo-folder-flag-as-answered): Ditto.
3237
3238 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3239
3240         * modb-standard.el: New file.
3241
3242         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3243         elmo-msgdb-convert-type is `sync'.
3244
3245         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3246         (elmo-msgdb-convert-type): New user option.
3247
3248         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3249         (elmo-load-msgdb): Auto detect saved type.
3250
3251         * elmo-version.el (elmo-version): Up to 2.11.15.
3252
3253 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3254
3255         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3256
3257         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3258         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3259         with argument `delete-if-none' when dst-folder is 'null.
3260
3261         * elmo-flag.el (elmo-folder-append-messages): Defined.
3262         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3263
3264 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3265
3266         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3267
3268 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3269
3270         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3271         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3272         (elmo-folder-commit): Ditto.
3273
3274 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3275
3276         * elmo-flag.el: New file.
3277
3278         * elmo-mark.el: Removed.
3279
3280         * modb-legacy.el (modb-legacy-new-mark,
3281         modb-legacy-unread-uncached-mark,
3282         modb-legacy-unread-cached-mark,
3283         modb-legacy-read-uncached-mark,
3284         modb-legacy-answered-cached-mark,
3285         modb-legacy-answered-uncached-mark,
3286         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3287         All other related portions are changed.
3288
3289         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3290         (elmo-folder-list-messages-with-global-mark): Abolish.
3291         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3292         (elmo-folder-flag-as-important): Ditto.
3293         (elmo-folder-unflag-read): Ditto.
3294         (elmo-folder-flag-as-read): Ditto.
3295         (elmo-folder-unflag-answered): Ditto.
3296         (elmo-folder-flag-as-answered): Ditto.
3297         (elmo-message-encache): Return the cache path.
3298         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3299         (elmo-message-set-flag): Transitional implementation.
3300         (elmo-message-unset-flag): Ditto.
3301         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3302         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3303         (elmo-init): Call elmo-global-flag-initialize.
3304         (toplevel): Added autoload settings for elmo-flag.
3305
3306         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3307
3308         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3309         (elmo-file-cache-delete): Don't treat global-mark.
3310
3311         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3312
3313         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3314
3315         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3316         `elmo-global-flags-set'.
3317
3318         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3319         `flag'.
3320         (elmo-folder-unflag-read): Ditto.
3321         (elmo-folder-unflag-important): Ditto.
3322         (elmo-folder-flag-as-important): Ditto.
3323         (elmo-folder-unflag-answered): Ditto.
3324         (elmo-folder-flag-as-answered): Ditto.
3325
3326         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3327         `elmo-global-flags-set'.
3328         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3329
3330         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3331
3332         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3333         `flag'.
3334         (elmo-folder-flag-as-important): Ditto.
3335         (elmo-folder-unflag-important): Ditto.
3336         (elmo-folder-flag-as-important): Ditto.
3337         (elmo-folder-unflag-read): Ditto.
3338         (elmo-folder-flag-as-read): Ditto.
3339         (elmo-folder-unflag-answered): Ditto.
3340         (elmo-folder-flag-as-answered): Ditto.
3341
3342         * elmo-multi.el (elmo-folder-list-importants): Don't call
3343         elmo-folder-list-messages-with-global-mark.
3344         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3345         (elmo-folder-unflag-important): Ditto.
3346         (elmo-folder-flag-as-read): Ditto.
3347         (elmo-folder-unflag-read): Ditto.
3348         (elmo-folder-flag-as-answered): Ditto.
3349         (elmo-folder-unflag-answered): Ditto.
3350
3351         * elmo-msgdb.el (elmo-msgdb-new-mark,
3352         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3353         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3354         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3355         (Moved to modb-legacy.el).
3356         (elmo-flag-table-get): Treat important flag too.
3357
3358         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3359         `mark' to `flag'.
3360         (elmo-map-folder-flag-as-important): Ditto.
3361         (elmo-map-folder-unflag-read): Ditto.
3362         (elmo-map-folder-flag-as-read): Ditto.
3363         (elmo-map-folder-unflag-answered): Ditto.
3364         (elmo-map-folder-flag-as-answered): Ditto.
3365         (elmo-folder-unflag-important): Ditto.
3366         (elmo-folder-flag-as-important): Ditto.
3367         (elmo-folder-unflag-read): Ditto.
3368         (elmo-folder-flag-as-read): Ditto.
3369         (elmo-folder-unflag-answered): Ditto.
3370         (elmo-folder-flag-as-answered): Ditto.
3371
3372         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3373         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3374         `flag'.
3375         (elmo-map-folder-unflag-important): Ditto.
3376         (elmo-map-folder-flag-as-read): Ditto.
3377         (elmo-map-folder-unflag-read): Ditto.
3378         (elmo-map-folder-flag-as-answered): Ditto.
3379         (elmo-map-folder-unflag-answered): Ditto.
3380
3381         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3382         `elmo-global-flags-set'.
3383         (elmo-global-flags-set): Added autoload setting.
3384
3385         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3386         `flag'.
3387
3388         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3389         `elmo-msgdb-global-mark-set'.
3390         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3391         Call `elmo-global-flags-set'.
3392         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3393         `flag'.
3394         (elmo-folder-flag-as-important-plugged): Ditto.
3395         (elmo-folder-unflag-read-plugged): Ditto.
3396         (elmo-folder-flag-as-read-plugged): Ditto.
3397         (elmo-folder-unflag-answered-plugged): Ditto.
3398         (elmo-folder-flag-as-answered-plugged): Ditto.
3399         (elmo-global-flags-set): Added autoload setting.
3400
3401         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3402         `flag'.
3403         (elmo-folder-unflag-read): Ditto.
3404         (elmo-folder-flag-as-important): Ditto.
3405         (elmo-folder-unflag-important): Ditto.
3406         (elmo-folder-flag-as-answered): Ditto.
3407         (elmo-folder-unflag-answered): Ditto.
3408
3409         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3410         change of `mark'->`flag'.
3411         (elmo-dop-queue-method-name-alist): Ditto.
3412         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3413         (elmo-folder-unflag-read-dop): Ditto.
3414         (elmo-folder-flag-as-important-dop): Ditto.
3415         (elmo-folder-unflag-important-dop): Ditto.
3416         (elmo-folder-flag-as-answered-dop): Ditto.
3417         (elmo-folder-unflag-answered-dop): Ditto.
3418
3419         * elmo-cache.el (elmo-folder-msgdb-create): Call
3420         `elmo-global-flags-set'.
3421
3422         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3423         Call `elmo-global-flags-set'.
3424         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3425         elmo-archive-parse-mmdf with argument `folder'.
3426         (elmo-archive-parse-mmdf): Added argument `folder';
3427         Call `elmo-global-flags-set'.
3428
3429         * elmo-version.el (elmo-version): Up to 2.11.14.
3430
3431 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3432
3433         * modb.el (elmo-msgdb-length): Define.
3434
3435         * elmo.el (elmo-make-folder): Fixed.
3436         (elmo-generic-folder-append-messages): Follow the API change.
3437
3438         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3439         API change.
3440
3441 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3442
3443         * modb.el: New file.
3444
3445         * modb-entity.el: Ditto.
3446
3447         * modb-legacy.el: Ditto.
3448
3449         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3450         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3451         of `elmo-msgdb-overview-get-entity'.
3452         (elmo-msgdb-get-field): Ditto.
3453         (elmo-msgdb-merge): Moved to `elmo.el'.
3454         (elmo-msgdb-length): Removed; redefine as modb method.
3455         (elmo-msgdb-change-mark): Abolish.
3456         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3457         (elmo-msgdb-match-condition): Don't use mark.
3458         (elmo-msgdb-overview-get-entity): Abolish.
3459         Split modb part into `modb*.el'.
3460
3461         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3462
3463         * elmo-shimbun.el (shimbun-mua-search-id): Use
3464         `elmo-msgdb-message-entity' instead of
3465         `elmo-msgdb-overview-get-entity'.
3466         (elmo-shimbun-folder-shimbun-header): Ditto.
3467         (elmo-shimbun-get-headers): Ditto.
3468         (elmo-shimbun-update-overview): Ditto.
3469
3470         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3471
3472         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3473
3474         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3475         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3476
3477         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3478         `elmo-msgdb-mark-to-flags'.
3479
3480         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3481         `elmo-msgdb-set-path'.
3482
3483         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3484  
3485         * elmo-version.el (elmo-version): Up to 2.11.13.
3486
3487         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3488
3489         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3490         of mark.
3491
3492 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3493
3494         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3495         mismatch.
3496
3497 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3498
3499         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3500         instead of `elmo-msgdb-get-cached'.
3501         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3502
3503         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3504         (elmo-msgdb-set-cached): Ditto.
3505         (elmo-msgdb-set-flag): Rewrite.
3506         (elmo-msgdb-unset-flag): Ditto.
3507
3508         * elmo-msgdb.el: Rewrite with luna.
3509
3510         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3511         (elmo-folder-msgdb): Follow the change above.
3512         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3513         (elmo-folder-unmark-important): Follow the API change.
3514         (elmo-folder-mark-as-important): Ditto.
3515         (elmo-folder-unmark-read): Ditto.
3516         (elmo-folder-mark-as-read): Ditto.
3517         (elmo-folder-unmark-answered): Ditto.
3518         (elmo-folder-mark-as-answered): Ditto.
3519         (elmo-folder-clear): Likewise.
3520
3521         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3522         instead of `elmo-msgdb-load' (renamed).
3523
3524         * elmo-version.el (elmo-version): Up to 2.11.12.
3525
3526 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3527
3528         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3529         change.
3530         (elmo-message-mark): Abolish.
3531         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3532         instead of `elmo-msgdb-change-mark'.
3533
3534         * elmo-pipe.el (elmo-message-mark): Abolish.
3535
3536         * elmo-multi.el (elmo-message-mark): Ditto.
3537
3538         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3539         (elmo-msgdb-unread-uncached-mark): Ditto.
3540         (elmo-msgdb-unread-cached-mark): Ditto.
3541         (elmo-msgdb-read-uncached-mark): Ditto.
3542         (elmo-msgdb-answered-cached-mark): Ditto.
3543         (elmo-msgdb-answered-uncached-mark): Ditto.
3544         (elmo-msgdb-important-mark): Ditto.
3545         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3546         `use-cache'.
3547         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3548         `flags'.
3549         (elmo-flag-table-load): Changed flag to list of flag.
3550         (elmo-flag-table-set): If flags is nil, set read flag.
3551         (elmo-flag-table-get): Return derived flags from global mark,
3552         cache status and saved flags.
3553         (elmo-msgdb-flag-table): Follow the change above.
3554         (elmo-msgdb-out-of-date-messages): New function.
3555
3556         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3557
3558         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3559
3560         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3561
3562         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3563         (elmo-nntp-msgdb-create-message): Ditto.
3564
3565         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3566
3567         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3568         independent.
3569         (elmo-folder-msgdb-create): Follow the API change.
3570
3571         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3572         (elmo-folder-append-messages): Ditto.
3573
3574         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3575         (elmo-folder-append-buffer): Ditto.
3576
3577         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3578
3579         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3580
3581         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3582         (elmo-archive-parse-mmdf): Ditto.
3583
3584         * elmo-version.el (elmo-version): Up to 2.11.11.
3585
3586 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3587
3588         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3589         `elmo-msgdb-mark'.
3590
3591         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3592
3593         * elmo-pipe.el (elmo-message-flags): Defined.
3594
3595         * elmo-multi.el (elmo-message-flags): Ditto.
3596
3597 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3598
3599         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3600         `elmo-msgdb-delete-msgs'.
3601
3602         * elmo.el (elmo-folder-count-flags): Don't use
3603         `elmo-msgdb-get-mark-alist'.
3604         (elmo-folder-detach-messages): Follow the API change.
3605
3606         * elmo.el (elmo-folder-list-messages): Append killed messages into
3607         result if `visible-only' is nil.
3608
3609         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3610         canceled messages.
3611         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3612         (elmo-folder-update-number): Likewise.
3613
3614         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3615         (elmo-pop3-sort-msgdb-by-original-number): Use
3616         `elmo-msgdb-sort-entities'.
3617
3618         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3619         (elmo-msgdb-sort-by-date): Use it.
3620         (elmo-msgdb-overview-sort-by-date): Abolish.
3621
3622         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3623
3624         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3625         (elmo-msgdb-flags): New function.
3626         (elmo-msgdb-merge): Use elmo-msgdb-append.
3627
3628         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3629         change.
3630
3631         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3632
3633         * elmo-dop.el (elmo-folder-status-dop): Use
3634         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3635
3636 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3637
3638         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3639
3640         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3641
3642         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3643
3644         * elmo-util.el (elmo-with-progress-display): New macro.
3645
3646         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3647
3648 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3649
3650         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3651         `elmo-folder-list-message-entities' instead of
3652         `elmo-msgdb-get-overview'.
3653         (elmo-map-folder-list-message-locations): Ditto.
3654
3655         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3656         methods instead of treat directly).
3657         (elmo-msgdb-clear): Ditto.
3658         (elmo-msgdb-delete-msgs): Ditto.
3659         (elmo-msgdb-sort-by-date): Ditto.
3660
3661         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3662         local variables.
3663         (elmo-nntp-folder-msgdb-create): Follow the API change.
3664
3665         * elmo-version.el (elmo-version): Up to 2.11.10.
3666
3667 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3668
3669         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3670         (elmo-msgdb-flags-to-mark): Ditto.
3671         (elmo-msgdb-append-entity): Ditto.
3672
3673         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3674         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3675         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3676         (elmo-archive-parse-mmdf): Ditto.
3677
3678         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3679
3680         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3681
3682         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3683
3684         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3685
3686         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3687
3688         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3689
3690         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3691
3692         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3693
3694         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3695         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3696         to empty msgdb.
3697
3698         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3699         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3700         instead of directly construction.
3701         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3702         instead of construct msgdb.
3703
3704         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3705         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3706         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3707         instead of construct msgdb.
3708
3709 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3710
3711         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3712         when field is from or subject.
3713
3714 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3715
3716         * elmo-multi.el (elmo-message-entity-parent): Define.
3717         (elmo-folder-search): Rewrite.
3718
3719 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3720
3721         * elmo-multi.el (elmo-message-cached-p): Define.
3722
3723         * elmo.el (elmo-message-cached-p): New method.
3724         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3725         (elmo-message-flags): New method.
3726         (elmo-message-flagged-p): New function.
3727
3728         * elmo-version.el (elmo-version): Up to 2.11.9.
3729
3730 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3731
3732         * elmo-version.el (elmo-version): Up to 2.11.8.
3733
3734         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3735
3736         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3737
3738 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3739
3740         * elmo.el (elmo-folder-detach-messages): Undo last change.
3741
3742 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3743
3744         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3745
3746         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3747         only when src folder type is pop3.
3748
3749 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3750
3751         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3752         elmo-msgdb-overview-entity-get-number instead of
3753         elmo-message-entity-number.
3754
3755 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3756
3757         * elmo-version.el (elmo-version): Up to 2.11.7.
3758
3759 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3760
3761         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3762         function.
3763
3764         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3765         (elmo-msgdb-merge): New function.
3766         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3767         (elmo-msgdb-make-index): Rewrite.
3768
3769         * elmo-version.el (elmo-version): Up to 2.11.6.
3770
3771         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3772         use it as a the path for loading message entities.
3773
3774         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3775
3776 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3777
3778         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3779         message-modified slot of itself if it does not require target msgdb.
3780
3781         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3782         if folder length is zero.
3783         (elmo-mime-display-as-is): Ditto.
3784
3785         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3786
3787         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3788
3789 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3790
3791         * elmo.el (elmo-folder-set-message-modified): New method.
3792         (elmo-generic-folder-commit): Use it.
3793         (elmo-folder-synchronize): Ditto.
3794
3795         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3796         (elmo-folder-commit): Remove duplicate definition.
3797
3798 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3799
3800         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3801
3802 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3803
3804         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3805         (elmo-strict-folder-diff): Ditto.
3806         (elmo-folder-set-info-max-by-numdb): Simplify.
3807
3808         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3809         elmo-msgdb-list-messages.
3810
3811         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3812         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3813
3814 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3815
3816         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3817         visible-only is non-nil.
3818         (elmo-folder-confirm-appends): Changed message.
3819         (elmo-folder-synchronize): Added argument disable-killed.
3820
3821         * elmo-multi.el (elmo-folder-synchronize): Added argument
3822         disable-killed.
3823
3824         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3825
3826         * elmo-version.el (elmo-version): Up to 2.11.5.
3827
3828         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3829         elmo-list-filter.
3830
3831         * elmo-util.el (elmo-list-filter): Simplify.
3832
3833         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3834         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3835         (elmo-generic-folder-diff): Abolish argument.
3836         (elmo-msgdb-load): Don't use number-alist.
3837
3838         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3839
3840         * elmo-pipe.el (elmo-folder-diff): Ditto.
3841
3842         * elmo-nmz.el (elmo-folder-diff): Ditto.
3843
3844         * elmo-net.el (elmo-folder-diff): Ditto.
3845
3846         * elmo-maildir.el (elmo-folder-diff): Ditto.
3847
3848         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3849
3850         * elmo-multi.el (elmo-folder-diff): Ditto
3851         (elmo-multi-folder-diff): Rewrite.
3852
3853 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3854
3855         * elmo-pipe.el (elmo-folder-msgdb): Define.
3856
3857 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3858
3859         * elmo.el (elmo-message-set-cached): Define as a method.
3860
3861         * elmo-pipe.el (elmo-message-set-cached): Define.
3862         (elmo-find-fetch-strategy): Ditto.
3863
3864         * elmo-multi.el (elmo-message-set-cached): Define.
3865         (elmo-find-fetch-strategy): Rewrite.
3866
3867         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3868
3869         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3870
3871 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3872
3873         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3874         instead of number-alist.
3875
3876         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3877         mark nor message-id when msgdb of source folder is not loaded.
3878
3879         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3880
3881         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3882
3883 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3884
3885         * elmo.el (elmo-folder-length): Don't require msgdb.
3886
3887 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3888
3889         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3890         (elmo-message-field): Ditto.
3891
3892         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3893         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3894         slot.
3895         (elmo-map-folder-list-answereds): Define.
3896         (elmo-maildir-list-location): Treat 'R' info.
3897         (elmo-folder-msgdb-create): Treat flag-table.
3898         (elmo-folder-append-messages): Save flag-table.
3899
3900 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3901
3902         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3903         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3904
3905 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3906
3907         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3908
3909         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3910         'read when mark is null.
3911
3912 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3913
3914         * elmo-version.el (elmo-version): Up to 2.11.4.
3915
3916 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3917
3918         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3919         (elmo-folder-mark-as-answered): Ditto.
3920
3921 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3922
3923         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3924         (elmo-pop3-get-session): Make msgdb directory after session.
3925         (elmo-folder-exists-p): Check exactly at the first time even when the
3926         elmo-pop3-exists-exactly is nil.
3927
3928         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3929         (elmo-folder-list-messages): Define instead of
3930         elmo-folder-list-messages-internal.
3931         (elmo-folder-check): Check destination folder.
3932         (elmo-folder-synchronize): Drain the pipe.
3933
3934         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3935         when msgdb is not loaded.
3936
3937         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3938
3939         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3940         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3941         messages.
3942
3943         * elmo.el (elmo-folder-kill-messages-before): New function.
3944         (elmo-folder-kill-messages): Ditto.
3945         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3946
3947         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3948         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3949         killed not by synchronize (e.g. scoring).
3950
3951 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3952
3953         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3954         treated.
3955         (elmo-folder-search): Follow the change above.
3956
3957         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3958         into the candidates of search field.
3959
3960 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3961
3962         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3963         (elmo-msgdb-unset-flag): Ditto.
3964
3965         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3966
3967 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3968
3969         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3970         (elmo-folder-commit): Define.
3971         (elmo-folder-synchronize): Ditto.
3972         (elmo-folder-list-flagged): Ditto.
3973         (elmo-folder-commit): Ditto.
3974         (elmo-folder-length): Ditto.
3975         (elmo-folder-count-flags): Ditto.
3976         (elmo-message-mark): Ditto.
3977         (elmo-message-field): Ditto.
3978         (elmo-message-entity): Ditto.
3979         (elmo-message-folder): Ditto.
3980
3981 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3982
3983         * elmo.el (elmo-message-field): Define as a method.
3984
3985         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3986         (elmo-message-field): Define.
3987
3988         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3989         (elmo-folder-list-importants): Ditto.
3990         (elmo-folder-list-answereds): Ditto.
3991
3992         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3993         qualifier.
3994         (elmo-folder-mark-as-read): Ditto.
3995         (elmo-folder-unmark-read): Ditto.
3996         (elmo-folder-mark-as-answered): Ditto.
3997         (elmo-folder-unmark-answered): Ditto.
3998         (elmo-folder-list-flagged): Define.
3999         (elmo-folder-commit): Ditto.
4000         (elmo-folder-length): Ditto.
4001         (elmo-folder-count-flags): Ditto.
4002
4003 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4004
4005         * elmo.el (elmo-folder-detach-messages): New method.
4006         (elmo-folder-move-messages): Use it.
4007         (elmo-folder-synchronize): Ditto.
4008
4009         * elmo-multi.el (elmo-folder-detach-messages): Define.
4010
4011         * elmo.el (elmo-message-copy-entity): New function.
4012         (elmo-message-entity-set-number): Ditto.
4013         (elmo-message-mark): Define as method.
4014
4015         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4016         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4017         (elmo-message-entity): Fixed last change.
4018         (elmo-message-mark): Define.
4019         (elmo-folder-msgdb-create): Abolish.
4020         (elmo-multi-folder-append-msgdb): Ditto.
4021         (elmo-multi-folder-diff): Fixed.
4022         (elmo-multi-split-number-alist): Removed.
4023         (elmo-multi-split-mark-alist): Removed.
4024         (elmo-folder-list-messages): Define.
4025         (elmo-folder-list-messages-internal): Removed.
4026
4027         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4028         local file messages.
4029         (elmo-folder-msgdb-create): Fixed read mark.
4030
4031 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4032
4033         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4034         if mark is nil.
4035
4036 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4037
4038         * elmo.el (elmo-folder-list-message-entities): Define as inline
4039         function.
4040         (elmo-folder-messages): Abolish.
4041
4042         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4043         folder.
4044         (elmo-folder-synchronize): Define.
4045         (elmo-message-entity): Define.
4046
4047 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4048
4049         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4050         elmo-imap4-session-select-mailbox.
4051
4052         * elmo.el (elmo-folder-move-messages): Don't display any message.
4053
4054         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4055         parsing.
4056         (elmo-imap4-session-check): Don't wait CHECK response.
4057         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4058
4059 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4060
4061         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4062
4063 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4064
4065         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4066         API.
4067         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4068
4069
4070         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4071         (elmo-folder-list-message-entities): Added argument in-msgdb and
4072         numbers.
4073         (elmo-folder-synchronize): Define as a method.
4074
4075         * elmo-nntp.el (elmo-folder-initialize): Don't use
4076         elmo-nntp-default-user if zero-length username is specified
4077         explicitly.
4078
4079 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4080
4081         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4082         server name in case with username.
4083         (XXX: this is ad-hoc fix against username includes "@", it
4084         should be solved fundamentally)
4085
4086 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4087
4088         * elmo-nntp.el (elmo-nntp-debug): New function.
4089         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4090         (elmo-network-authenticate-session): Hide auth-info from the log.
4091
4092         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4093         user name if it is equal to elmo-nntp-default-user.
4094
4095 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4096
4097         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4098         instead of shimbun-server-internal;
4099         Use shimbun-current-group instead of shimbun-current-group-internal.
4100         (elmo-folder-plugged-p): Use shimbun-server instead of
4101         shimbun-server-internal.
4102         (elmo-folder-set-plugged): Ditto.
4103         (elmo-net-port-info): Ditto.
4104         (elmo-folder-check): Ditto.
4105         (elmo-folder-expand-msgdb-path): Ditto.
4106         (elmo-folder-list-subfolders): Ditto.
4107
4108 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4109
4110         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4111         Convert field-name to lower case.
4112         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4113
4114 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4115
4116         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4117         `message' and `error' take format string.
4118
4119 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4120
4121         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4122
4123 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4124
4125         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4126         recursive call (can't byte compile on emacs 20.7).
4127
4128 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4129
4130         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4131         (elmo-folder-list-message-entities): New API.
4132         (elmo-message-entity): Ditto.
4133         (elmo-message-entity-parent): Ditto.
4134         (elmo-folder-do-each-message-entity): Ditto.
4135         (elmo-message-entity-number): Ditto.
4136         (elmo-message-entity-field): Ditto.
4137         (elmo-message-entity-set-field): Ditto.
4138         (elmo-folder-count-flags): Ditto.
4139         (elmo-folder-length): Ditto.
4140
4141         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4142         not.
4143
4144         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4145         (elmo-msgdb-count-marks): Abolish.
4146         (elmo-msgdb-make-entity): Ditto.
4147         (elmo-msgdb-do-each-entity): Ditto.
4148         (elmo-msgdb-message-entity): New inline function.
4149         (elmo-msgdb-message-entity-field): Ditto.
4150         (elmo-msgdb-message-entity-set-field): Ditto.
4151         (elmo-msgdb-make-message-entity): New function.
4152
4153 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4154
4155         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4156         to flag. (All other related portions are changed.)
4157         (elmo-folder-msgdb-create): Likewise.
4158         (elmo-generic-folder-append-messages): Use flag-table instead of
4159         seen-list.
4160         (elmo-folder-move-messages): Removed redundant process.
4161         (elmo-folder-synchronize): Likewise.
4162
4163         * elmo-msgdb.el (elmo-flag-table-get): New function.
4164         (elmo-flag-table-save): Fixed.
4165         (elmo-msgdb-length): New inline function.
4166         (elmo-msgdb-flag-table): New function.
4167         (elmo-msgdb-mark): Add optional argument new.
4168         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4169         (elmo-msgdb-seen-list): Ditto.
4170         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4171
4172
4173 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4174
4175         * elmo.el (elmo-message-set-mark): Abolish.
4176         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4177         (All related portions are changed.)
4178
4179         * elmo-msgdb.el (toplevel): Added comment.
4180         (elmo-load-msgdb): Added 4th element `path'.
4181         (elmo-msgdb-append): Follow the change above.
4182         (elmo-msgdb-clear): Ditto.
4183         (elmo-msgdb-delete-msgs): Ditto.
4184         (elmo-msgdb-get-path): New inline function.
4185         (elmo-msgdb-set-path): Ditto.
4186         (elmo-flag-table-filename): New variable.
4187         (elmo-flag-table-load): New function.
4188         (elmo-flag-table-set): Ditto.
4189         (elmo-flag-table-save): Ditto.
4190         (elmo-msgdb-get-field-value): Abolish.
4191         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4192
4193 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4194
4195         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4196         the folder has been deleted successfully.
4197         * elmo-imap4.el (elmo-folder-delete): Ditto.
4198         * elmo-archive.el (elmo-folder-delete): Ditto.
4199         * elmo-localdir.el (elmo-folder-delete): Ditto.
4200         * elmo-maildir.el (elmo-folder-delete): Ditto.
4201
4202 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4203
4204         * elmo-util.el (elmo-string-member-ignore-case): New function.
4205         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4206         (elmo-imap4-fetch-callback-1-subr): Likewise.
4207
4208 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4209
4210         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4211         the case of the name attribute "\Noselect".
4212
4213 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4214
4215         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4216
4217         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4218         flist, is not always a member of onum-alist.
4219
4220 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4221
4222         * elmo-version.el (elmo-version): Up to 2.11.3.
4223
4224 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4225
4226         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4227         copied from localdir's one.
4228
4229         * elmo-pipe.el (elmo-folder-rename): New method, rename
4230         destination folder with leaving source folder as it is.
4231
4232 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4233
4234         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4235         replace-regexp.
4236
4237 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4238
4239         * elmo-version.el (elmo-version): Up to 2.11.2.
4240
4241 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4242
4243         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4244         shimbun-open in case of "@".
4245         (elmo-folder-open-internal): Cope with shimbun = nil case.
4246         (elmo-folder-plugged-p): Ditto.
4247         (elmo-folder-list-subfolders): Make list for "@/" group.
4248
4249 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4250
4251         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4252         mailbox (e.g. for %~/something).
4253
4254 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4255
4256         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4257         Replace nested conditional with guard clauses.
4258
4259 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4260
4261         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4262         error [wl:11327].
4263
4264         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4265         print-depth.
4266
4267 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4268
4269         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4270         Replace nested conditional with guard clauses.
4271
4272 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4273
4274         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4275         (elmo-passwd-alist-save): Ditto.
4276         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4277
4278 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4279
4280         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4281         dir-name only if it is absolute path.
4282         (TODO: distinguish +/something and +something)
4283
4284 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4285
4286         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4287         path for "+~/something".
4288
4289 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4290
4291         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4292         as non-directory, cause error before rename-file.
4293         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4294         apropriately, mimic localdir's one.
4295         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4296
4297 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4298
4299         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4300
4301 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4302
4303         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4304
4305         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4306         
4307         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4308         is included in the global-mark or not.
4309
4310 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4311
4312         * utf7.el (toplevel): Avoid error when the function
4313         find-coding-system does not exist.
4314
4315 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4316
4317         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4318         cache even if the folder is plugged.
4319         (elmo-nntp-search-primitive): Do nothing when body search is
4320         invoked (although it is not used by the change above).
4321         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4322
4323 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4324
4325         * elmo-version.el (elmo-version): Up to 2.11.1.
4326
4327 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4328
4329         * elmo-archive.el: Specify charset.
4330
4331 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4332
4333         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4334         process buffer lives or not.
4335
4336         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4337         while flushing queues (It causes infinite loop).
4338
4339 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4340
4341         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4342
4343 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4344
4345         * utf7.el (toplevel): Check the ucs features dynamically.
4346         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4347
4348         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4349         folder is creatabe or not if it already exists.
4350
4351 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4352
4353         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4354
4355         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4356
4357         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4358         (elmo-imap4-read-response): Take care of garbage response.
4359
4360 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4361
4362         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4363         just return nil instead of error.
4364
4365 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4366
4367         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4368         search-key is "body".
4369
4370 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4371
4372         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4373         of elmo-string-matched-assoc to use match-data.
4374         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4375
4376 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4377
4378         * elmo-split.el (elmo-split->): New function.
4379         (elmo-split-<): Ditto.
4380
4381 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4382
4383         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4384         workaround for invalid message-id.
4385
4386 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4387
4388         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4389         return normal pop3 session or pop3 biff session.
4390
4391 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4392
4393         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4394         info part to the cur files when the new files already have it.
4395         (Adviced by Jared Rhine <jared@wordzoo.com>)
4396
4397 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4398
4399         * elmo-split.el (elmo-split-default-action): New variable.
4400         (elmo-split-subr): Use it if all other conditions are passed.
4401         Extend `fname' and rename it as `action'. (implemented
4402         Teranishi-san's idea in [wl:10800])
4403
4404 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4405
4406         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4407         * elmo-util.el: Ditto.
4408
4409 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4410
4411         * elmo.el (elmo-message-accessible-p): Renamed from
4412         elmo-message-cached-p and rewritten.
4413
4414 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4415
4416         * elmo.el (elmo-folder-list-flagged): New generic function.
4417         (elmo-folder-list-importants): New implementation.
4418         (elmo-folder-list-answereds): Ditto.
4419         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4420         Added 'digest'.
4421         (elmo-message-cached-p): New function.
4422         (elmo-message-set-flag): Ditto (no content).
4423         (elmo-message-unset-flag): Ditto.
4424         (elmo-folder-list-messages-mark-match): Abolish.
4425
4426         * elmo-util.el (elmo-regexp-opt): New function.
4427
4428         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4429         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4430         Added 'digest'.
4431         (elmo-msgdb-list-flagged): New function.
4432
4433         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4434         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4435         Added 'digest'.
4436
4437         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4438
4439 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4440
4441         * elmo-version.el (elmo-version): Up to 2.11.0.
4442
4443 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4444
4445         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4446         `elmo-file-cache-exists-p'; use proper mark that depends on
4447         `use-cache'.
4448         (elmo-msgdb-unset-flag): Ditto.
4449         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4450
4451         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4452         with 4th argument `use-cache'.
4453
4454 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4455
4456         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4457         (elmo-folder-mark-as-important): Ditto.
4458         (elmo-folder-unmark-read): Ditto.
4459         (elmo-folder-mark-as-read): Ditto.
4460         (elmo-folder-unmark-answered): Ditto.
4461         (elmo-folder-mark-as-answered): Ditto.
4462
4463         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4464         message status.
4465         (elmo-msgdb-mark): Likewise.
4466         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4467         (elmo-msgdb-unset-flag): Likewise.
4468
4469         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4470
4471 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4472
4473         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4474         `last:' filter.
4475
4476 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4477
4478         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4479         set spool-length to 0.
4480
4481 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4482
4483         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4484         (elmo-dop-queue-flush): Fixed last change.
4485
4486 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4487
4488         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4489         if require-msgdb slot is nil.
4490         (elmo-folder-list-importants): Likewise.
4491
4492 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4493
4494         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4495         mark is changed.
4496
4497         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4498         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4499         is changed.
4500
4501 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4502
4503         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4504
4505 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4506
4507         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4508
4509         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4510
4511 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4512
4513         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4514         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4515
4516 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4517
4518         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4519         the problem reported by Sean Rima [wl-en:180].
4520
4521 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4522
4523         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4524
4525         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4526
4527         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4528
4529         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4530
4531         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4532
4533         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4534
4535         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4536
4537 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4538
4539         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4540         status number.
4541
4542 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4543
4544         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4545         (elmo-folder-mark-as-read): Follow the API change.
4546         (elmo-message-set-cached): New function.
4547
4548         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4549
4550         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4551
4552         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4553         (elmo-folder-mark-as-important): Ditto.
4554         (elmo-folder-unmark-read): Ditto.
4555         (elmo-folder-mark-as-read): Ditto.
4556         (elmo-folder-unmark-answered): Ditto.
4557         (elmo-folder-mark-as-answered): Ditto.
4558
4559         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4560         (elmo-folder-unmark-important): Ditto.
4561         (elmo-folder-mark-as-read): Ditto.
4562         (elmo-folder-unmark-read): Ditto.
4563         (elmo-folder-mark-as-answered): Ditto.
4564         (elmo-folder-unmark-answered): Ditto.
4565
4566         * elmo-mark.el (toplevel): Removed some mark method definitions.
4567
4568         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4569         (elmo-map-folder-mark-as-answered): Ditto.
4570         (elmo-folder-unmark-important): Add :before qualifier.
4571         (elmo-folder-mark-as-important): Ditto.
4572         (elmo-folder-unmark-read): Ditto.
4573         (elmo-folder-mark-as-read): Ditto.
4574         (elmo-folder-unmark-answered): Define.
4575         (elmo-folder-mark-as-answered): Ditto.
4576
4577         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4578         (elmo-map-folder-unmark-answered): Ditto.
4579
4580         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4581
4582         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4583         (elmo-folder-mark-as-important): Ditto.
4584         (elmo-folder-unmark-read): Ditto.
4585         (elmo-folder-mark-as-read): Ditto.
4586         (elmo-folder-unmark-answered): Ditto.
4587         (elmo-folder-mark-as-answered): Ditto.
4588
4589         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4590         `mark'; evaluate mark condition.
4591         (elmo-msgdb-match-condition-internal): New function.
4592         (elmo-msgdb-match-condition): Call it; changed argument.
4593
4594         * elmo.el (elmo-folder-search): Follow the API change on
4595         `elmo-msgdb-match-condition'.
4596
4597 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4598
4599         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4600         original mark is non-nil.
4601
4602 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4603
4604         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4605         (elmo-map-folder-list-answereds): New method.
4606         (elmo-folder-list-unreads): Add :around qualifier.
4607         (elmo-folder-list-importants): Ditto.
4608         (elmo-folder-list-answereds): Ditto.
4609
4610 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4611
4612         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4613
4614         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4615         method if msgdb is not required.
4616         (elmo-filter-folder-list-importants): Don't treat global-mark.
4617
4618         * elmo.el (elmo-folder-list-importants): Ditto.
4619
4620         * elmo-net.el (elmo-folder-list-importants): Ditto.
4621
4622         * elmo-map.el (elmo-folder-list-importants): Ditto.
4623
4624         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4625
4626         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4627         (elmo-imap4-folder-list-any-plugged): New function.
4628         (elmo-imap4-search-internal-primitive): Use it.
4629
4630         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4631         only when require-msgdb slot is non-nil.
4632         (elmo-folder-close): Clear target folder's msgdb.
4633
4634 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4635
4636         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4637         (elmo-pop3-msgdb-create-by-header): Ditto.
4638         (elmo-pop3-msgdb-create-message): Ditto.
4639
4640         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4641
4642         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4643
4644         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4645
4646         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4647         (elmo-folder-msgdb-create): Ditto.
4648         (elmo-nntp-folder-msgdb-create): Ditto.
4649         (elmo-nntp-msgdb-create-by-header): Ditto.
4650         (elmo-nntp-msgdb-create-message): Ditto.
4651         (elmo-folder-list-unreads): Define.
4652
4653         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4654         (elmo-folder-append-messages): Ditto.
4655         (elmo-folder-list-unreads): Define.
4656         (elmo-folder-list-importants): Ditto.
4657         (elmo-folder-list-answereds): Ditto.
4658
4659         * elmo-net.el (elmo-folder-list-unreads): Define.
4660         (elmo-folder-list-importants): Ditto.
4661         (elmo-folder-list-answereds): Ditto.
4662         (elmo-folder-list-answereds-plugged): Ditto.
4663         (elmo-folder-msgdb-create): Follow the API change.
4664         (elmo-folder-msgdb-create-unplugged): Ditto.
4665         (elmo-folder-unmark-answered): Define.
4666         (elmo-folder-mark-as-answered-unplugged): Ditto.
4667         (elmo-folder-unmark-answered-unplugged): Ditto.
4668
4669         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4670         (elmo-msgdb-unread-uncached-mark): Ditto.
4671         (elmo-msgdb-unread-cached-mark): Ditto.
4672         (elmo-msgdb-read-uncached-mark): Ditto.
4673         (elmo-msgdb-answered-cached-mark): Ditto.
4674         (elmo-msgdb-answered-uncached-mark): Ditto.
4675         (elmo-msgdb-important-mark): Ditto.
4676         (elmo-msgdb-set-mark): Rewrite.
4677         (elmo-msgdb-count-marks): Rewrite.
4678         (elmo-msgdb-mark-alist-set): Abolish.
4679         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4680         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4681
4682         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4683         (elmo-folder-close): Define.
4684         (elmo-folder-msgdb-create): Follow the API change.
4685         (elmo-folder-list-unreads): Rewrite.
4686         (elmo-folder-mark-as-important): Ditto.
4687         (elmo-folder-unmark-important): Ditto.
4688         (elmo-folder-mark-as-read): Ditto.
4689         (elmo-folder-unmark-read): Ditto.
4690         (elmo-folder-mark-as-answered): Define.
4691         (elmo-folder-unmark-answered): Ditto.
4692
4693         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4694         (elmo-folder-append-messages): Ditto.
4695
4696         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4697
4698         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4699         (elmo-folder-list-importants): Ditto.
4700
4701         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4702         (elmo-folder-append-messages): Ditto.
4703
4704         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4705         change.
4706         (elmo-folder-msgdb-create-plugged): Ditto.
4707         (elmo-folder-append-messages): Ditto.
4708         (elmo-folder-list-answereds-plugged): Define.
4709         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4710         (elmo-folder-unmark-answered-plugged): Define.
4711         (elmo-folder-mark-as-answered-plugged): Ditto.
4712         (elmo-folder-search-requires-msgdb-p): Ditto.
4713
4714         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4715         (elmo-folder-initialize): Set it.
4716         (elmo-folder-msgdb): Define.
4717         (elmo-folder-check): Call elmo-folder-synchronize.
4718         (elmo-folder-close): Define.
4719         (elmo-folder-commit): Ditto.
4720         (elmo-folder-msgdb-create): Rewrite.
4721         (elmo-folder-list-unreads): Ditto.
4722         (elmo-folder-list-importants): Ditto.
4723         (elmo-folder-mark-as-read): Ditto.
4724         (elmo-folder-unmark-read): Ditto.
4725         (elmo-folder-mark-as-important): Ditto.
4726         (elmo-folder-unmark-important): Ditto.
4727         (elmo-folder-mark-as-answered): Define.
4728         (elmo-folder-unmark-answered): Ditto.
4729
4730         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4731         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4732         (elmo-dop-queue-method-name-alist): Likewise.
4733         (elmo-folder-mark-as-answered-dop): New inline function.
4734         (elmo-folder-unmark-answered-dop): Ditto.
4735         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4736
4737         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4738         (elmo-folder-msgdb-create): Ditto.
4739         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4740         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4741         (elmo-archive-parse-mmdf): Ditto.
4742
4743         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4744         (elmo-folder-list-unreads-internal): Ditto.
4745
4746         * elmo.el (elmo-folder-msgdb): Define as generic function.
4747         (elmo-folder-list-messages): Added argument `in-msgdb'.
4748         (elmo-folder-list-unreads): Define as generic function.
4749         (elmo-folder-list-importants): Ditto.
4750         (elmo-folder-list-answereds): Ditto.
4751         (elmo-folder-list-messages-with-global-mark): New function.
4752         (elmo-folder-msgdb-create): Removed mark arguments.
4753         (elmo-folder-unmark-answered): New generic function.
4754         (elmo-folder-mark-as-answered): Ditto.
4755         (elmo-folder-append-messages): Removed argunment `unread-marks'
4756         (elmo-folder-list-unreads-internal): Abolish.
4757         (elmo-folder-list-importants-internal): Ditto.
4758         (elmo-folder-search-requires-msgdb-p): New generic function.
4759         (elmo-folder-search-requires-msgdb-p-internal): New function.
4760         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4761         elmo-msgdb-load.
4762         (elmo-folder-search-fast): Added key 'mark'.
4763         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4764         instead of unread-marks argument.
4765         (elmo-folder-move-messages): Removed argunment `unread-marks'
4766         (elmo-folder-unmark-important): Define.
4767         (elmo-folder-mark-as-important): Ditto.
4768         (elmo-folder-unmark-read): Ditto.
4769         (elmo-folder-mark-as-read): Ditto.
4770         (elmo-folder-unmark-answered): Ditto.
4771         (elmo-folder-mark-as-answered): Ditto.
4772         (elmo-folder-replace-marks): Abolish.
4773         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4774         duplicates.
4775         (elmo-folder-synchronize): Removed mark arguments;
4776         return crosspost only number.
4777
4778 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4779
4780         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4781         Remove redundunt connectivity check.
4782
4783 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4784
4785         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4786         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4787
4788 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4789
4790         * pldap.el (ldap-decode-string): Return string as-is if
4791         `ldap-coding-system' is nil.
4792         (ldap-encode-string): Ditto.
4793         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4794         (ldap-default-host): Fixed docstring.
4795
4796 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4797
4798         * elmo-util.el (elmo-warning): Define as a macro which uses
4799         `display-warning' if it is defined as a function.
4800
4801         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4802         (elmo-split-equal): Use it.
4803         (elmo-split-match): Ditto.
4804         (elmo-split-message-entity): New buffer-local variable.
4805         (elmo-split-subr): Set it.
4806
4807         * elmo-version.el (elmo-version): Up to 2.9.15.
4808
4809 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4810
4811         * elmo-imap4.el (elmo-network-initialize-session):
4812         Check capability after starttls.
4813
4814 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4815
4816         * elmo-util.el (elmo-list-delete): Added optional argument
4817         DELETE-FUNCTION.
4818
4819         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4820
4821         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4822
4823         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4824
4825         * elmo-imap4.el (elmo-folder-initialize): Don't use
4826         elmo-imap4-default-mailbox.
4827
4828 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4829
4830         * elmo-split.el (toplevel): Use `product-provide'.
4831         (elmo-split): Checkdoc.
4832
4833 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4834
4835         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4836         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4837         the function `elmo-imap4-debug-1'.
4838
4839 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4840
4841         * elmo-split.el (elmo-split): Moved to run hooks and to show
4842         message from elmo-split-subr.
4843         (elmo-split-subr): Follow the change above.
4844
4845         * elmo-split.el (elmo-split-subr): New function (renamed from
4846         elmo-split-subr).
4847         (elmo-split): Changed to call elmo-split-subr by element of
4848         elmo-split-folder.
4849         (elmo-split-folder): Changed customization type to choice.
4850
4851 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4852
4853         * elmo-split.el (elmo-split-and): Fixed condition.
4854
4855 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4856
4857         * elmo-split.el: New file.
4858         (elmo-split): Fixed logic.
4859         Display "Test:" instead of "Folder:" when reharsal.
4860
4861         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4862         explicitly.
4863
4864         * elmo-version.el (elmo-version): Up to 2.9.14.
4865
4866         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4867         wl-expand-newtext).
4868
4869 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4870
4871         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4872         message with no message-id field.
4873
4874 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4875
4876         * elmo-version.el (elmo-version): Up to 2.9.13.
4877
4878         * elmo-dop.el (elmo-folder-status-dop): Fix.
4879
4880 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4881
4882         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4883
4884         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4885         changing default value of default-mime-charset.
4886         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4887
4888         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4889
4890         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4891         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4892         instead of elmo-dop-queue-method-name-alist to check merging queue.
4893         (elmo-folder-delete-messages-dop): Delete from queue if negative
4894         message number.
4895         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4896         file is already removed.
4897
4898 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4899
4900         * elmo-vars.el: Bind colon keywords for old Emacsen.
4901
4902 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4903
4904         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4905         against non-exsisting charset.
4906
4907 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4908
4909         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4910         Use eword-decode-and-unfold-unstructured-field-body.
4911
4912         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4913         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4914         exists to decode raw subject string.
4915         (toplevel): Require 'mime.
4916
4917         * elmo-version.el (elmo-version): Up to 2.9.12.
4918
4919 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4920
4921         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4922         (elmo-msgdb-set-mark): Ditto.
4923
4924         * elmo-version.el (elmo-version): Up to 2.9.11.
4925
4926 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4927
4928         * elmo-util.el (elmo-delete-match-files): New function.
4929
4930         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4931         instead of elmo-delete-directory.
4932
4933         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4934         elmo-hash-minimun-size as 63.
4935
4936         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4937         elmo-diff-unread is nil.
4938
4939         * elmo-imap4.el (elmo-folder-open): Fix.
4940
4941         * elmo.el (elmo-message-mark): Rewrite.
4942         (elmo-message-field): Ditto.
4943         (elmo-message-set-mark): Ditto.
4944         (elmo-folder-replace-marks): New function.
4945         (elmo-generic-folder-append-msgdb): Removed third argument for
4946         elmo-msgdb-append.
4947         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4948         (elmo-msgdb-load): New implementation.
4949
4950         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4951
4952         * elmo-util.el (elmo-list-insert): New implementation.
4953
4954         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4955         argument for elmo-msgdb-append.
4956         
4957
4958         * elmo-msgdb.el (elmo-load-msgdb): New function.
4959         (elmo-make-msgdb): Ditto.
4960         (elmo-msgdb-get-index): New inline function.
4961         (elmo-msgdb-set-index): Ditto.
4962         (elmo-msgdb-get-entity-hashtb): Ditto.
4963         (elmo-msgdb-get-mark-hashtb): Ditto.
4964         (elmo-msgdb-get-mark): Ditto.
4965         (elmo-msgdb-set-mark): Ditto.
4966         (elmo-msgdb-count-marks): Ditto.
4967         (elmo-msgdb-get-number): Ditto.
4968         (elmo-msgdb-get-field): Ditto.
4969         (elmo-msgdb-seen-list): Ditto.
4970         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4971         (elmo-msgdb-delete-msgs): Follow the changes above.
4972         (elmo-msgdb-overview-get-entity): Ditto.
4973         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4974         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4975         and rewritten.
4976         (elmo-msgdb-make-index): Likewise.
4977         (elmo-msgdb-append): Removed third argument.
4978         (elmo-msgdb-clear): Clear index as nil.
4979         (elmo-folder-set-info-hashtb): Removed.
4980         (elmo-folder-set-info-max-by-numdb): Ditto.
4981         (elmo-folder-info-make-hashtb): Ditto.
4982
4983         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4984
4985         * elmo-map.el (elmo-folder-pack-number): Ditto.
4986
4987 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4988
4989         * elmo-version.el (elmo-version): Up to 2.9.10.
4990
4991         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4992
4993         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4994
4995 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4996
4997         * elmo-utils.el (elmo-make-directory): Add option.
4998         Default file mode is 700.
4999
5000 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5001
5002         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5003
5004 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5005
5006         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5007         mime-charset.
5008
5009         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5010         and "smaller".
5011
5012 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5013
5014         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5015         (elmo-shimbun-folder-entity-hash): New function.
5016         (elmo-shimbun-folder-shimbun-header): Ditto.
5017         (elmo-shimbun-entity-to-header): Ditto.
5018         (elmo-shimbun-msgdb-to-headers): Removed.
5019         (elmo-shimbun-folder-setup): Ditto.
5020         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5021         for hash key.
5022         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5023         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5024         Removed useless local bind.
5025         (elmo-folder-open-internal): Don't call
5026         `elmo-shimbun-folder-setup'.
5027         (elmo-folder-close-internal): Clear entity-hash slot.
5028         (elmo-folder-clear): Ditto.
5029         (elmo-shimbun-msgdb-create-entity): Use
5030         `elmo-shimbun-folder-shimbun-header'.
5031         (elmo-map-message-fetch): Ditto.
5032         (elmo-shimbun-update-overview): Use overview entity instead of
5033         shimbun header to lookup id by references.
5034         (elmo-map-folder-list-message-locations): Use not only headers but
5035         also overviews to list locations.
5036
5037 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5038
5039         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5040         msgdb path.
5041
5042         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5043
5044 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5045
5046         * elmo-util.el (elmo-read-search-condition-internal): Give default
5047         value for date.
5048
5049 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5050
5051         * elmo-util.el (elmo-condition-parse-search-value): Accept
5052         YYYY-MM-DD format to search.
5053         * elmo-date.el (elmo-date-get-datevec): Likewise.
5054
5055 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5056
5057         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5058         debugging code.
5059
5060 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5061
5062         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5063         from t.
5064
5065         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5066
5067         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5068         case from `elmo-folder-exists-p'.
5069         (elmo-folder-exists-p): Removed.
5070         (elmo-folder-creatable-p) Ditto.
5071
5072         * elmo-net.el (elmo-folder-create): Defined.
5073         (elmo-folder-create-unplugged): New function.
5074         (elmo-folder-exists-p): Changed default value to nil from t.
5075
5076         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5077         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5078
5079         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5080         `elmo-create-folder-dop' and append queue
5081         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5082         (elmo-folder-create-dop-delayed): New function.
5083
5084         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5085
5086         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5087
5088         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5089         (elmo-folder-writable-p) : Ditto.
5090
5091         * elmo-version.el (elmo-version): Up to 2.9.9.
5092
5093 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5094
5095         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5096         `elmo-message-use-cache-p' returns nil.
5097         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5098         (ignore cache file and refer the substance in local folders)
5099
5100 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5101
5102         * elmo-version.el (elmo-version): Up to 2.9.8.
5103
5104 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5105
5106         * elmo-version.el (elmo-version): Up to 2.9.7.
5107
5108         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5109
5110 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5111
5112         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5113
5114 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5115
5116         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5117         from --early.
5118         (elmo-map-folder-list-message-locations): Reverse location list.
5119
5120 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5121
5122         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5123
5124 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5125
5126         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5127         as a key.
5128         (elmo-nntp-folder-list-subfolders): Follow the change above.
5129
5130 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5131
5132         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5133         name if authentication type is specified.
5134
5135 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5136
5137         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5138         variable.
5139         (elmo-default-nntp-stream-type): Ditto.
5140         (elmo-default-pop3-stream-type): Ditto.
5141
5142 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5143
5144         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5145
5146 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5147
5148         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5149         elmo-vars.el.
5150         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5151
5152         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5153         (elmo-maildir-folder-path): Ditto.
5154         (elmo-maildir-list): Ditto (abolished).
5155
5156 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5157
5158         * elmo-version.el (elmo-version): Up to 2.9.6.
5159
5160 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5161
5162         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5163         (elmo-maildir-folder-path): Ditto.
5164         (elmo-msgdb-directory): Ditto.
5165         (elmo-passwd-life-time): Ditto.
5166         (elmo-msgdb-extra-fields): Ditto.
5167         (elmo-enable-disconnected-operation): Ditto.
5168
5169 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5170
5171         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5172         other choices.
5173         (elmo-pop3-default-authenticate-type): Ditto.
5174
5175 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5176
5177         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5178         choices for custom.
5179         (elmo-pop3-default-authenticate-type): Ditto.
5180
5181 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5182
5183         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5184         mailbox to new-folder.
5185
5186 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5187
5188         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5189         less than new, set new as unread.
5190
5191         * elmo-util.el (elmo-string): Don't put text-property if nil.
5192
5193 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5194
5195         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5196         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5197
5198 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5199
5200         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5201         is nil on `completing-read'.
5202
5203 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5204
5205         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5206         for namespace part.
5207         (elmo-imap4-parse-namespace-subr): Ditto.
5208         (elmo-folder-list-subfolders): Append a delimiter when the specified
5209         folder path is a root with namespace and does not end with delimiter.
5210
5211 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5212
5213         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5214         was used.
5215
5216 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5217
5218         * elmo-util.el (elmo-save-buffer): The first argument of message
5219         is a format control string.
5220
5221 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5222
5223         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5224         `elmo-folder-diff').
5225         (elmo-diff-unread): Likewise.
5226
5227 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5228
5229         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5230         is t on `completing-read'.
5231
5232 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5233
5234         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5235         method of target folder with self mark-alist if MARK-ALIST is nil.
5236
5237 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5238
5239         * elmo-version.el (elmo-version): Up to 2.9.5.
5240
5241 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5242
5243         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5244         (elmo-dop-merge-funcs): Remove.
5245
5246 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5247
5248         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5249         Return t if PATH is directory, too.
5250         Use `dolist' instead of while loop.
5251
5252 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5253
5254         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5255         is deleted.
5256
5257 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5258
5259         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5260         return value to t.
5261         (elmo-folder-list-messages-unplugged): Return t if
5262         elmo-enable-disconnected-operation is nil.
5263
5264         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5265         `elmo-folder-list-messages-internal'.
5266
5267 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5268
5269         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5270         Change to looking-at `[23][0-9]+'.
5271         (elmo-network-initialize-session): Use 'error-msg'
5272         * elmo-net.el (elmo-network-open-session): Set unplugged
5273         if elmo-network-initialize-session returns 'elmo-open-err.
5274
5275 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5276
5277         * elmo-version.el (elmo-version): Up to 2.9.4.
5278
5279 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5280
5281         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5282         `elmo-folder-list-messages-internal'.
5283
5284 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5285
5286         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5287         (elmo-message-match-condition): New method.
5288         (elmo-folder-search-fast): New inline function.
5289         (elmo-msgdb-search): Removed.
5290
5291         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5292         target folder if it is unplugged.
5293         (elmo-folder-list-messages-internal): Return t if target folder is
5294         unplugged and itself is persistent; In this case, use list be
5295         searched already.
5296
5297         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5298         (elmo-msgdb-search-internal-primitive): Ditto.
5299         (elmo-msgdb-match-condition): New function.
5300         (elmo-msgdb-match-condition-primitive): Ditto.
5301
5302         * elmo-util.el (elmo-filter-condition-p): New macro.
5303
5304         * elmo-cache.el (elmo-folder-search): Removed.
5305
5306         * elmo-localdir.el (elmo-folder-search): Ditto.
5307
5308         * elmo-maildir.el (elmo-folder-search): Ditto.
5309
5310         * elmo-mark.el (elmo-folder-search): Ditto.
5311
5312         * elmo-nmz.el (elmo-folder-search): Ditto.
5313
5314         * elmo-sendlog.el (elmo-folder-search): Ditto.
5315
5316         * elmo-shimbun.el (elmo-folder-search): Ditto.
5317
5318         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5319         if folder is unplugged.
5320
5321         * elmo-nntp.el (elmo-folder-search): Likewise.
5322         (elmo-nntp-search-internal): New function.
5323
5324         * elmo-version.el (elmo-version): Up to 2.9.3.
5325
5326 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5327
5328         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5329
5330 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5331
5332         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5333
5334 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5335
5336         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5337
5338 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5339
5340         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5341         (elmo-map-folder-list-message-locations): Do drive letter conversion
5342         on Windows environment.
5343         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5344         (elmo-map-message-fetch): Ditto.
5345
5346 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5347
5348         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5349         (elmo-network-initialize-session): Ditto.
5350
5351 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5352
5353         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5354
5355         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5356
5357         * elmo-util.el (elmo-progress-clear): Ditto.
5358
5359         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5360         `DD-Mon-YYYY' type date.
5361
5362 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5363
5364         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5365         `elmo-date-make-sortable-string' instead of
5366         `timezone-make-date-sortable'.
5367
5368         * elmo-date.el (elmo-date-make-sortable-string): Use
5369         `timezone-make-time-string'.
5370
5371 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5372
5373         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5374
5375         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5376         `since'; Fix timezone.
5377
5378         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5379
5380         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5381
5382 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5383
5384         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5385
5386 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5387
5388         * elmo.el (elmo-generic-folder-append-messages): Make
5389         fetch-strategy with `use-cache' as 'maybe. Check return value of
5390         `elmo-message-fetch'.
5391         (elmo-message-fetch): Return return value of
5392         `elmo-message-fetch-with-cache-process'.
5393         (elmo-message-fetch-with-cache-process): Return non-nil if
5394         fetching was succeed. Load cache when fetching was failed and
5395         fetch-strategy-use-cache is 'maybe.
5396
5397         * elmo-util.el (elmo-file-cache-load): New function.
5398
5399         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5400         defun.
5401
5402         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5403         non-nil if fetching was succeed.
5404
5405         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5406
5407         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5408
5409         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5410         (elmo-message-fetch-with-cache-process): Likwise.
5411
5412         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5413
5414         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5415
5416         * elmo-version.el (elmo-version): Up to 2.9.2.
5417
5418 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5419
5420         * elmo.el (elmo-folder-delete): Delete msgdb path.
5421
5422         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5423
5424         * elmo-maildir.el (elmo-folder-delete): Ditto.
5425
5426         * elmo-localdir.el (elmo-folder-delete): Ditto.
5427
5428         * elmo-imap4.el (elmo-folder-delete): Ditto.
5429
5430 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5431
5432         * elmo.el (luna-define-class): Added `biff' slot.
5433
5434         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5435         (elmo-pop3-debug-inhibit-logging): Abolished.
5436         (elmo-network-close-session): Eliminated needless let.
5437         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5438         (elmo-pop3-send-command): Added `no-log' argument.
5439         (elmo-pop3-process-filter): Use `with-current-buffer'.
5440         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5441         if login failure.
5442         (elmo-pop3-auth-apop): Likewise.
5443         (elmo-network-authenticate-session): Likewise.
5444
5445         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5446         if biff folder.
5447
5448         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5449         string to determine protocol.
5450         (elmo-network-session-name-prefix): Abolished.
5451         (elmo-network-session-cache-key): Follow the change above.
5452         (elmo-network-open-session): Ditto.
5453
5454         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5455         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5456
5457         * elmo-version.el (elmo-version): Up to 2.9.1.
5458
5459         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5460         unmatch condition checking.
5461
5462         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5463         condition.
5464
5465 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5466
5467         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5468
5469 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5470
5471         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5472         test for while loop to execute at least one SEARCH command.
5473
5474 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5475
5476         * elmo-version.el (elmo-version): Up to 2.9.0.
5477
5478 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5479
5480         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5481         (elmo-archive-folder-path): Define.
5482         (elmo-folder-initialize): Setup `dir-name' slot.
5483         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5484         Use `dir-name' as prefix of each subfolders.
5485         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5486
5487 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5488
5489         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5490         (elmo-pipe-folder-list-target-messages): New internal function.
5491         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5492         `killed-list'.
5493         (elmo-pipe-folder-copied-list-load): New function.
5494         (elmo-pipe-folder-copied-list-save): Ditto.
5495         (elmo-folder-open-internal): Follow the change above.
5496         (elmo-folder-status): Fixed for copy.
5497
5498 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5499
5500         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5501
5502 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5503
5504         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5505         elmo-copy-file instead of elmo-add-name-to-file.
5506
5507         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5508
5509         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5510         "file://..." index.
5511
5512         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5513         of accept-process-output as 1.
5514         (elmo-pop3-read-contents): Ditto.
5515         (elmo-pop3-read-body): Ditto.
5516
5517 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5518
5519         * elmo-version.el (product-version-as-string): Remove define.
5520
5521 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5522
5523         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5524         (elmo-imap4-copy-messages): Chop number set using
5525         `elmo-imap4-number-set-chop-length'.
5526         (elmo-imap4-set-flag): Ditto.
5527         (elmo-imap4-search-internal-primitive): Ditto.
5528
5529 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5530
5531         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5532         `elmo-folder-make-temp-dir'
5533
5534         * elmo-vars.el (elmo-cache-directory): New variable.
5535         (elmo-cache-dir): Abolished.
5536         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5537
5538         * elmo-version.el (elmo-version): Up to 2.7.7.
5539
5540 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5541
5542         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5543         defcustom; Set default value as t.
5544
5545 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5546
5547         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5548         (ldap-search-program-arguments): Changed default value.
5549         (ldap-search-basic): Accept exit status 4.
5550         (ldap/field-body): Parse options.
5551         (ldap/collect-field): Ditto.
5552         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5553
5554         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5555         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5556         (elmo-imap4-accept-ok): Ditto.
5557         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5558         'notify-bye, only BYE error is reported.
5559         (elmo-folder-exists-p-plugged): Set no-error argument of
5560         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5561
5562         * elmo.el (elmo-imap4-bye-error): Changed message.
5563
5564         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5565         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5566         queues (It causes infinite loop).
5567
5568 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5569
5570         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5571         (RECENT UNSEEN MESSAGES) extension.
5572
5573 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5574
5575         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5576         Check number of overview fields.
5577
5578 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5579
5580         * elmo.el (elmo-folder-confirm-appends): Changed message.
5581         (elmo-folder-confirm-appends): Ditto.
5582
5583         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5584         `with-temp-buffer'.
5585         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5586
5587 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5588
5589         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5590         of elmo-folder-update-threshold is nil, which can be set by
5591         wl-summary-update-confirm-threshold.
5592
5593 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5594
5595         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5596         (elmo-nmz-index-alias-alist): Ditto.
5597         (elmo-map-folder-list-message-locations): Follow the change above.
5598
5599 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5600
5601         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5602
5603         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5604
5605         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5606
5607         * elmo-util.el (elmo-read): Ditto.
5608         (elmo-display-error): Ditto.
5609
5610         * elmo-vars.el (elmo-date-match): Ditto.
5611
5612         * pldap.el (ldap-coding-system): Ditto.
5613
5614         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5615         `elmo-inhibit-number-mapping' as nil.
5616
5617 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5618
5619         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5620         space delimiter for list response.
5621
5622 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5623
5624         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5625
5626 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5627
5628         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5629         (elmo-map-message-fetch): Fix.
5630         * elmo-map.el (elmo-folder-status): Fix for killed.
5631
5632 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5633
5634         * elmo-sendlog.el: New file.
5635         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5636
5637 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5638
5639         * acap.el (acap-logging-out): New buffer local variable.
5640         (acap-close): Set it.
5641         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5642         an error.
5643
5644 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5645
5646         * acap.el (acap-response-bye-p): New function.
5647         (acap-response-bye-message): Ditto.
5648         (acap-wait-for-response): If bye response is received, cause an error.
5649         (acap-parse-response): Make bye response when 'Bye' is received.
5650
5651 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5652
5653         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5654
5655 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5656
5657         * elmo-util.el (elmo-copy-file): Added argument
5658         `ok-if-already-exists'.
5659         (elmo-copy-file): Fixed typo.
5660
5661 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5662
5663         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5664
5665 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5666
5667         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5668
5669 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5670
5671         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5672         to killed-list.
5673
5674 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5675
5676         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5677         (elmo-folder-initialize): Fix for `copy'.
5678         (elmo-pipe-drain): Ditto.
5679         (elmo-folder-open-internal): Ditto.
5680         (elmo-folder-newsgroups): Fix.
5681
5682 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5683
5684         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5685         for each message.
5686
5687         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5688         recent value is returned from imap folder.
5689
5690         * elmo.el (elmo-folder-newsgroups): New generic function.
5691
5692         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5693         (elmo-folder-initialize): Set it.
5694         (elmo-folder-expand-msgdb-path): Use it.
5695         (elmo-folder-newsgroups): Define.
5696
5697         * elmo-filter.el (elmo-folder-newsgroups): Define.
5698
5699         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5700
5701         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5702
5703         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5704
5705 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5706
5707         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5708         user option.
5709         (elmo-shimbun-header-extra-field): New inline function.
5710         (elmo-shimbun-header-set-extra-field): Ditto.
5711         (elmo-shimbun-folder-header-hash-setup): Ditto.
5712         (elmo-shimbun-update-overview): Ditto.
5713         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5714         (elmo-shimbun-folder-setup): Use
5715         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5716         (elmo-shimbun-get-headers): Ditto.
5717         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5718         Insert `X-Shimbun-Id:' header if extra field is set.
5719         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5720         field's value instead of `shimbun-header-id'.
5721
5722         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5723         inline function.
5724         (elmo-msgdb-overview-entity-set-date): Ditto.
5725         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5726
5727 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5728
5729         * mmimap.el (mmimap-entity-section): Changed body node number from
5730         "0" to "1".
5731
5732 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5733
5734         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5735         `elmo-folder-delete-messages'.
5736
5737         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5738         (elmo-folder-initialize): Changed to expand alias into index path.
5739
5740         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5741         `elmo-mime-insert-header-from-buffer' with 6th arg
5742         `sorted-fields'.
5743
5744 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5745
5746         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5747
5748         * elmo.el (elmo-diff-new): New inline function.
5749         (elmo-diff-unread): Ditto.
5750         (elmo-diff-all): Ditto.
5751
5752         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5753         value from responseb.
5754         (elmo-imap4-folder-diff-plugged): Ditto.
5755         (elmo-imap4-server-diff-async): Added recent argument.
5756         (elmo-server-diff-async): Ditto.
5757         (elmo-imap4-folder-diff-plugged): Ditto.
5758
5759         * elmo-version.el (elmo-version): Up to 2.7.6.
5760
5761 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5762
5763         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5764         in quoted-stirng.
5765
5766 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5767
5768         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5769
5770         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5771
5772         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5773
5774         * elmo-multi.el (elmo-folder-initialize): Ditto.
5775
5776         * elmo-util.el (elmo-parse-token): New function.
5777         (elmo-parse-prefixed-element): Ditto.
5778
5779 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5780
5781         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5782         delete process.
5783         (elmo-imap4-accept-ok): Ditto.
5784
5785 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5786
5787         * mmimap.el (mime-imap-entity-header-string): Don't check first
5788         element of node-id is `0' (Follow last change).
5789
5790 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5791
5792         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5793         assigned irregular node-id to nested multipart section.
5794         (initialize-instance): Followed above change.
5795
5796 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5797
5798         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5799         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5800         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5801         `elmo-shimbun-get-headers');
5802         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5803         visible article on summary exists in headers).
5804         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5805
5806 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5807
5808         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5809         definition.
5810
5811 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5812
5813         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5814
5815 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5816
5817         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5818         header separator into loop condition.
5819
5820 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5821
5822         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5823         Return duplicate folder if it has subfolder.
5824
5825 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5826
5827         * elmo.el (elmo-make-folder): Add folder name error check.
5828
5829         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5830         (elmo-nntp-encode-group-string): New inline function.
5831         (elmo-nntp-decode-group-string): Ditto.
5832         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5833         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5834         Use `not' instead of `null';
5835         Use elmo-nntp-decode-group-string.
5836
5837         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5838
5839         * elmo-version.el (elmo-version): Up to 2.7.5.
5840
5841 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5842
5843         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5844         Hide progress gauge if `elmo-folder-move-messages' exits
5845         nonlocally.
5846
5847 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5848
5849         * elmo-imap4.el (elmo-folder-initialize): Use
5850         `elmo-imap4-encode-folder-string' for folder name.
5851
5852 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5853
5854         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5855         `done'.
5856
5857 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5858
5859         * elmo-util.el (elmo-progress-counter-alist): New internal
5860         variable.
5861         (elmo-progress-counter-value): New macro.
5862         (elmo-progress-counter-all-value): Ditto.
5863         (elmo-progress-counter-format): Ditto.
5864         (elmo-progress-counter-set-value): Ditto.
5865         (elmo-progress-set): New function.
5866         (elmo-progress-clear): Ditto.
5867         (elmo-progress-notify): Ditto.
5868
5869         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5870         counter.
5871
5872         * elmo.el (elmo-generic-folder-append-messages): Call
5873         `elmo-progress-notify'.
5874         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5875
5876         * elmo-archive.el (elmo-folder-append-messages): Call
5877         `elmo-progress-notify'.
5878
5879         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5880
5881         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5882
5883         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5884
5885 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5886
5887         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5888         'Create'.
5889         (elmo-message-encache-dop): Added argument `read'.
5890
5891         * elmo-shimbun.el (elmo-message-encache): Ditto.
5892
5893         * elmo-net.el (elmo-message-encache): Ditto.
5894
5895         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5896         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5897         elmo-imap4-seen-messages.
5898         (elmo-folder-msgdb-create-plugged): Initialize
5899         elmo-imap4-seen-messages;
5900         Set seen mark on elmo-imap4-seen-messages.
5901
5902         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5903
5904         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5905         elmo-folder-append-buffer.
5906         (elmo-folder-encache): Added optional argument `read'.
5907         (elmo-message-encache): Ditto.
5908
5909         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5910
5911         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5912
5913         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5914         if append buffer content succeds.
5915
5916 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5917
5918         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5919         elmo-display-progress.
5920
5921         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5922         Set 4th argument of mime-display-message.
5923         (elmo-mime-display-as-is): Ditto.
5924
5925 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5926
5927         * elmo-nmz.el (toplevel): Require 'mime-edit.
5928         (elmo-nmz-content-type-alist): Abolished.
5929         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5930         content is not a message.
5931         (elmo-map-message-fetch): Changed behavior exept for message content;
5932         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5933         content-type, Add From: and Subject: field.
5934
5935 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5936
5937         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5938         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5939         not a message.
5940
5941 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5942
5943         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5944         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5945
5946         * elmo-archive.el (elmo-folder-writable-p): Defined.
5947
5948         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5949
5950         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5951
5952         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5953
5954         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5955
5956         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5957
5958         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5959
5960         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5961
5962         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5963
5964 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5965
5966         * elmo-util.el (elmo-address-quote-specials): New function;
5967         Renamed from `wl-address-quote-specials'.
5968
5969 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5970
5971         * elmo-version.el (elmo-version): Up to 2.7.4.
5972
5973 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5974
5975         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5976
5977 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5978
5979         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5980         both compile-time and run-time to avoid byte-compile warning.
5981
5982 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5983
5984         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5985
5986 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5987
5988         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5989         option.
5990         (elmo-mime-display-as-is-internal): Use it.
5991
5992         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5993         if `read-passwd' is not defined.
5994
5995 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5996
5997         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5998         by original number.
5999         (elmo-folder-status): Call `elmo-folder-open-internal';
6000         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6001         (elmo-folder-close-internal): Set location-alist as nil.
6002         (elmo-folder-clear): Define.
6003         (elmo-folder-check): Don't set location-alist as nil.
6004
6005         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6006
6007 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6008
6009         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6010         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6011
6012         * mmimap.el (mime-imap-entity::requested): New slot.
6013         (mime-imap-location-fetch-entity-p): New generic function.
6014         (mime-decode-parameters): Define using `defun-maybe'.
6015         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6016         content-type structure.
6017         (mime-entity-body): Return empty body if
6018         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6019
6020         * elmo.el (elmo-message-displaying): New variable.
6021
6022         * elmo-mime.el (elmo-mime-message-display): Bind
6023         elmo-message-displaying as t.
6024
6025         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6026
6027 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6028
6029         * acap.el (acap-open): erase buffer before starting network process.
6030         (acap-store): Rewrite.
6031
6032 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6033
6034         * elmo-imap4.el (elmo-imap4-default-mailbox,
6035         elmo-imap4-default-server
6036         elmo-imap4-default-authenticate-type,
6037         elmo-imap4-default-user,
6038         elmo-imap4-default-port,
6039         elmo-imap4-default-stream-type,
6040         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6041
6042         * elmo-pop3.el (elmo-pop3-default-user,
6043         elmo-pop3-default-server,
6044         elmo-pop3-default-authenticate-type,
6045         elmo-pop3-default-port,
6046         elmo-pop3-default-stream-type,
6047         elmo-pop3-stream-type-alist): Ditto.
6048
6049         * elmo-nntp.el (elmo-nntp-default-server,
6050         elmo-nntp-default-user,
6051         elmo-nntp-default-port,
6052         elmo-nntp-default-stream-type,
6053         elmo-nntp-stream-type-alist): Ditto.
6054
6055         * elmo-vars.el: Follow changes above.
6056         (elmo-setting): New custom group; added 'elmo-setting group to
6057         above variables.
6058
6059         * elmo-version.el (elmo-version): Up to 2.7.3.
6060
6061         * acap.el (acap-parse-response): Don't delete process when BYE
6062         response (It causes hang-up on slow network environment).
6063         (toplevel): Added comment.
6064
6065 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6066
6067         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6068
6069         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6070         parsing NIL.
6071         (acap-parse-return-metadata): Ditto.
6072
6073         * slp.el: New file.
6074         (toplevel): Fixed typo.
6075
6076         * acap.el: New file.
6077         (acap-network-stream-open): Show "Connecting..." message.
6078         (acap-parse-response): Fixed problem for BYE untagged response.
6079         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6080         (toplevel): Added tiny comments.
6081
6082 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6083
6084         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6085         space delimiter for uidl response.
6086
6087 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6088
6089         * elmo-vars.el (elmo-use-semi): Eliminated.
6090
6091         * elmo-util.el (elmo-string-assoc-all): New function.
6092
6093 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6094
6095         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6096         property 'mime-preview-situation for `mime-preview-quit'.
6097
6098 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6099
6100         * elmo.el (elmo-message-fetch-with-cache-process): Call
6101         elmo-message-fetch-internal instead of causing an error when fetch
6102         strategy is 'entire but only 'section cache is available.
6103
6104 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6105
6106         * elmo-version.el (elmo-version): Up to 2.7.2.
6107
6108         * elmo.el (elmo-generic-folder-append-messages): Make
6109         fetch-strategy with `use-cache'.
6110
6111         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6112         (elmo-dop-queue-method-name): New macro.
6113
6114 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6115
6116         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6117         unbalanced parenthesis.
6118
6119 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6120
6121         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6122
6123 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6124
6125         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6126         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6127
6128 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6129
6130         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6131         local variables.
6132
6133 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6134
6135         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6136         (elmo-message-use-cache-p): Define.
6137         (elmo-folder-msgdb-create): Treat cache.
6138
6139 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6140
6141         * elmo-nntp.el (elmo-network-initialize-session): Call
6142         `elmo-nntp-send-mode-reader'.
6143         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6144
6145 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6146
6147         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6148         alist.
6149         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6150         assoc.
6151
6152         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6153         for `elmo-plugged-p'.
6154         (elmo-open-network-stream): Fixed stream-type argument.
6155
6156 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6157
6158         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6159         unknown archive type is specified.
6160
6161 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6162
6163         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6164
6165         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6166         while loading msgdb.
6167
6168         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6169         (elmo-folder-open-internal): Rewrite.
6170
6171 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6172
6173         * elmo-mime.el (elmo-mime-display-as-is-internal):
6174         Adjust buffer-multibyte status.
6175
6176 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6177
6178         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6179         of elmo-condition-find-key.
6180
6181         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6182         (elmo-condition-in-msgdb-p): Ditto.
6183         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6184         argument.
6185
6186 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6187
6188         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6189
6190 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6191
6192         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6193         label for elmo-display-progress.
6194
6195 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6196
6197         * elmo.el (elmo-folder-clear): New method.
6198         (elmo-folder-clear): Define.
6199         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6200
6201         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6202         (elmo-folder-clear): Define.
6203
6204         * elmo-map.el (elmo-folder-clear): Define.
6205
6206         * elmo-version.el (elmo-version): Up to 2.7.1.
6207
6208 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6209
6210         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6211         updates.
6212
6213 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6214
6215         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6216         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6217
6218 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6219
6220         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6221
6222         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6223         and re-written.
6224
6225         * elmo-imap4.el (elmo-folder-initialize): Use
6226         elmo-get-network-stream-type.
6227
6228         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6229
6230         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6231
6232 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6233
6234         * elmo.el (elmo-message-encache): Set unread argument for
6235         elmo-message-fetch.
6236
6237         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6238
6239         * elmo.el (elmo-net-port-info): New method.
6240
6241         * elmo-shimbun.el (elmo-net-port-info): Define.
6242         (elmo-message-encache): Ditto.
6243
6244         * elmo-net.el (elmo-net-port-info): Define as method.
6245
6246         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6247         unplugged status when elmo-enable-disconnected-operation is t.
6248
6249         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6250         of spool folder before checking new number.
6251
6252 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6253
6254         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6255         (elmo-network-setup-session): Ditto.
6256         (elmo-message-fetch-plugged): Ditto.
6257         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6258         (elmo-network-initialize-session): Ditto.
6259         (elmo-pop3-read-response): Abolish 3rd argument.
6260         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6261         (elmo-pop3-read-contents): Ditto.
6262         (elmo-pop3-read-body): Ditto.
6263         (elmo-folder-status): Call elmo-folder-close.
6264         (elmo-pop3-lock): Abolish.
6265         (elmo-pop3-unlock): Ditto.
6266         (elmo-pop3-locked-p): Ditto.
6267         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6268
6269 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6270
6271         * elmo-version.el (elmo-version): Up to 2.7.0.
6272
6273         * elmo-pop3.el (elmo-pop3-debug): New variable.
6274         (elmo-pop3-debug-inhibit-logging): Ditto.
6275         (elmo-pop3-debug): New function.
6276         (elmo-pop3-send-command): Call elmo-pop3-debug.
6277         (elmo-pop3-read-response): Added keep-lock optional argument;
6278         Don't unlock if keep-lock is non-nil.
6279         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6280         (elmo-network-authenticate-session): Bind
6281         elmo-pop3-debug-inhibit-logging as t.
6282         (elmo-network-setup-session): Call elmo-pop3-read-response with
6283         keep-lock argument.
6284         (elmo-pop3-read-msg): Ditto.
6285         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6286         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6287         (elmo-network-initialize-session): Call elmo-pop3-lock.
6288         (elmo-folder-close-internal): Don't clear location-alist slot.
6289         (elmo-folder-check): Clear location-alist slot.
6290
6291 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6292
6293         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6294         (elmo-pop3-send-command): Call elmo-pop3-lock.
6295         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6296         (elmo-pop3-read-contents): Ditto.
6297         (elmo-pop3-lock): New function.
6298         (elmo-pop3-unlock): Ditto.
6299         (elmo-pop3-locked-p): Ditto.
6300         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6301         returns t.
6302
6303 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6304
6305         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6306
6307         * elmo-util.el (elmo-file-field-primitive-condition-match):
6308         New inline function (Don't fetch file content if "first" or "last").
6309         (elmo-file-field-condition-match): Use
6310         elmo-file-field-primitive-condition-match.
6311
6312         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6313         "first".
6314
6315         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6316         (elmo-message-fetch-plugged): Fixed.
6317
6318         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6319
6320 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6321
6322         * elmo.el (elmo-folder-move-messages): Bind
6323         elmo-inhibit-display-retrieval-progress as t while moving messages.
6324
6325         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6326         New variable.
6327         (elmo-inhibit-display-retrieval-progress): Ditto.
6328
6329         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6330         for retrieval progress;
6331         Don't display progress when total buffer size is smaller than
6332         elmo-display-retrieval-progress-threshold.
6333         (elmo-message-fetch-plugged): Don't display progress when
6334         elmo-inhibit-display-retrieval-progress is non-nil.
6335
6336         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6337         for retrieval progress;
6338         Don't display progress when literal size is smaller than
6339         elmo-display-retrieval-progress-threshold.
6340         (elmo-imap4-message-fetch): Don't display progress when
6341         elmo-inhibit-display-retrieval-progress is non-nil.
6342
6343 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6344
6345         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6346         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6347         (elmo-imap4-message-fetch): Likewise.
6348
6349         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6350         (elmo-shimbun-index-range-alist): Ditto.
6351         (elmo-shimbun-use-entire-index): Abolish.
6352         (shimbun-mua-use-entire-index): Ditto.
6353         (elmo-shimbun-folder): Added new slot `range'.
6354         (elmo-folder-initialize): Setup slot `range'.
6355
6356 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6357
6358         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6359         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6360         (elmo-shimbun-get-headers): Use return value of
6361         `shimbun-article-expiration-days'.
6362         (elmo-folder-close-internal): Clean up last-check slot.
6363
6364         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6365         (elmo-pop3-total-size): New variable.
6366         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6367
6368         * elmo.el (elmo-folder-reserve-status-p): New method.
6369
6370         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6371         (elmo-shimbun-use-entire-index): New user option.
6372         (shimbun-elmo-mua): New class.
6373         (shimbun-mua-search-id): Define.
6374         (shimbun-mua-use-entire-index): Ditto.
6375         (elmo-shimbun-folder:last-check): New slot.
6376         (elmo-shimbun-headers-cache-header-list): Abolish.
6377         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6378         (elmo-shimbun-headers-cache-header-hash): Ditto.
6379         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6380         (elmo-shimbun-headers-cache-last-check): Ditto.
6381         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6382         (elmo-shimbun-headers-check-p): Rewrite.
6383         (elmo-shimbun-msgdb-to-headers): New function.
6384         (elmo-shimbun-get-headers): Rewrite.
6385         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6386         (elmo-folder-open-internal): Get headers only if
6387         `elmo-shimbun-headers-check-p' is non-nil.
6388         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6389         is non-nil.
6390         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6391         (elmo-quit): Removed.
6392
6393         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6394         function.
6395         (elmo-msgdb-overview-entity-set-extra): Ditto.
6396         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6397
6398         * elmo-map.el (elmo-folder-status): Don't call
6399         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6400         is non-nil.
6401
6402 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6403
6404         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6405         of `elmo-msgdb-search-internal-primitive' when condition's car is
6406         `and' or `or'.
6407
6408 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6409
6410         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6411
6412 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6413
6414         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6415         call `elmo-pipe-drain'.
6416
6417 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6418
6419         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6420         typo. (elmo-cache-folder -> elmo-mark-folder)
6421
6422 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6423
6424         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6425         `elmo-message-fetch'.
6426
6427 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6428
6429         * elmo-net.el (elmo-message-encache): Fixed typo.
6430         (elmo-message-fetch-unplugged): Changed call
6431         `elmo-message-fetch-internal' without argument `outbuf'.
6432
6433 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6434
6435         * elmo.el (elmo-message-encache): Define as generic function.
6436         (elmo-message-fetch-field): New generic function.
6437         (elmo-message-fetch-with-cache-process): Cause an error when
6438         fetch strategy is 'entire but only 'section cache is available.
6439         (toplevel): Fixed nmz folder definition.
6440
6441         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6442         (elmo-msgdb-resume-list-filename): Ditto.
6443         (elmo-queue-filename): Ditto.
6444         (elmo-enable-disconnected-operation): Changed default value to t.
6445
6446         * elmo-util.el (elmo-cache-path-section-p): New function.
6447         (elmo-file-cache-get): Use it.
6448         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6449         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6450         (elmo-dop-queue-save): Ditto.
6451
6452         * elmo-net.el (elmo-folder-status-unplugged): Call
6453         elmo-folder-status-dop.
6454         (elmo-folder-list-messages-unplugged): Implemented.
6455         (elmo-folder-delete-messages-unplugged): Define.
6456         (elmo-folder-msgdb-create): Define.
6457         (elmo-folder-msgdb-create-unplugged): Define.
6458         (elmo-folder-mark-as-read-unplugged): Ditto.
6459         (elmo-folder-unmark-read-unplugged): Ditto.
6460         (elmo-folder-mark-as-important-unplugged): Ditto.
6461         (elmo-folder-unmark-important-unplugged): Ditto.
6462         (elmo-message-encache): Ditto.
6463
6464         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6465         (elmo-dop-queue-save): Ditto.
6466
6467         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6468         `elmo-folder-msgdb-create'.
6469         (elmo-folder-append-buffer): Implemented unplugged operation.
6470         (elmo-folder-append-messages): Call parent method in unplugged status.
6471         (elmo-message-fetch-unplugged): Removed definition.
6472         (elmo-message-fetch-field): Implemented.
6473
6474         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6475         (elmo-dop-folder): Removed variable definition.
6476         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6477         (elmo-dop-queue-flush): Implemented.
6478         (elmo-dop-queue-merge): Removed definition (TODO).
6479         (elmo-dop-spool-folder): New function.
6480         (elmo-dop-spool-folder-append-buffer): Ditto.
6481         (elmo-dop-spool-folder-list-messages): Ditto.
6482         (elmo-dop-list-deleting-messages): Ditto.
6483         (elmo-folder-append-buffer-dop): Ditto.
6484         (elmo-folder-delete-messages-dop): Ditto.
6485         (elmo-message-encache-dop): New inline function.
6486         (elmo-create-folder-dop): Ditto.
6487         (elmo-folder-mark-as-read-dop): Ditto.
6488         (elmo-folder-unmark-read-dop): Ditto.
6489         (elmo-folder-mark-as-important-dop): Ditto.
6490         (elmo-folder-unmark-important-dop): Ditto.
6491         (elmo-folder-status-dop): Fixed.
6492         (elmo-folder-append-buffer-dop-delayed): New function.
6493         (elmo-folder-delete-messages-dop-delayed): Ditto.
6494         (elmo-dop-msgdb): Ditto.
6495
6496 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6497
6498         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6499
6500 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6501
6502         * elmo.el (elmo-folder-move-messages): Fixed problem when
6503         `dst-folder' is 'null.
6504
6505 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6506
6507         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6508         instead of current mark.
6509
6510         * elmo-multi.el (elmo-folder-list-importants-internal): No
6511         operation if importants is not list.
6512
6513         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6514         Return t if importants is not list.
6515
6516         * elmo-map.el (elmo-map-folder-list-importants): Define.
6517         (elmo-folder-list-importants-internal): Check return value of
6518         `elmo-map-folder-list-importants-internal'.
6519
6520         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6521
6522         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6523
6524         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6525
6526         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6527
6528 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6529
6530         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6531         (Patch is provided by <kita@coe.nttdata.co.jp>).
6532
6533 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6534
6535         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6536         mark folder.
6537
6538 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6539
6540         * elmo.el (elmo-message-fetch): Define.
6541         (elmo-message-fetch-with-cache-process): New generic method.
6542         (elmo-message-fetch-internal): New generic method.
6543         (elmo-folder-synchronize):
6544
6545         * elmo-archive.el (elmo-message-fetch-internal): Define.
6546         (elmo-message-fetch): Eliminated.
6547
6548         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6549         (elmo-message-fetch): Eliminated.
6550
6551         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6552         argument OUTBUF.
6553         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6554
6555         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6556         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6557
6558         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6559         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6560
6561         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6562
6563         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6564
6565         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6566
6567         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6568         (elmo-message-fetch-unplugged): New generic method.
6569         (elmo-message-fetch-internal): Remove cache process (Renamed from
6570         `elmo-message-fetch').
6571
6572         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6573         (elmo-message-fetch): Eliminated.
6574         (elmo-message-fetch-unplugged): Ditto.
6575
6576         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6577
6578 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6579
6580         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6581         of `to-be-deleted' from number-alist to number-list.
6582
6583 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6584
6585         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6586         (elmo-folder-mark-as-important): Ditto.
6587
6588 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6589
6590         * elmo.el (elmo-folder): Added process-duplicates slot.
6591
6592         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6593         (elmo-folder-unmark-read): Ditto.
6594         (elmo-folder-unmark-important): Ditto.
6595         (elmo-folder-mark-as-important): Ditto.
6596
6597         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6598         duplicated message processing.
6599
6600         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6601
6602 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6603
6604         * elmo-util.el (elmo-list-subdirectories-1): New function.
6605         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6606         (elmo-mapcar-list-of-list): New function.
6607
6608         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6609         `elmo-mapcar-list-of-list' instead of `mapcar'.
6610
6611         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6612
6613         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6614         `elmo-have-link-count'. Return the fully qualified folder name.
6615
6616 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6617
6618         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6619         (elmo-shimbun-headers-cache): New internal variable.
6620         (elmo-shimbun-headers-cache-header-list): New inline function.
6621         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6622         (elmo-shimbun-headers-cache-header-hash): Ditto.
6623         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6624         (elmo-shimbun-headers-cache-last-check): Ditto.
6625         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6626         (elmo-shimbun-lapse-seconds): Ditto.
6627         (elmo-shimbun-headers-cache-check-p): Ditto.
6628         (elmo-shimbun-get-headers): New function.
6629         (elmo-folder-open-internal): Call it.
6630         (elmo-quit): Define (Clear headers-cache).
6631
6632 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6633
6634         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6635
6636         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6637         (elmo-msgdb-flist-save): Ditto.
6638
6639         * elmo-shimbun.el (elmo-folder-list-subfolders):
6640         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6641         (elmo-folder-exists-p): Ditto.
6642
6643         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6644         argument for `shimbun-header-insert'.
6645
6646 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6647
6648         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6649         at first time.
6650
6651         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6652         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6653
6654 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6655
6656         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6657         (elmo-folder-plugged-p): Define.
6658         (elmo-folder-set-plugged): Ditto.
6659         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6660         (elmo-folder-list-messages-internal): Return t if unplugged.
6661         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6662
6663         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6664         when elmo-folder-list-messages-internal method of children returns t.
6665
6666         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6667         pair is nil.
6668         (elmo-folder-open-internal): Don't update if unplugged status.
6669
6670 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6671
6672         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6673         new message.
6674
6675 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6676
6677         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6678
6679         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6680         saving.
6681
6682 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6683
6684         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6685
6686         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6687         (elmo-folder-open-internal): Set up headers slot.
6688         (elmo-folder-check): Call elmo-folder-close-internal and
6689         elmo-folder-open-internal.
6690         (elmo-folder-close-internal): Clean up headers slot.
6691
6692 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6693
6694         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6695         exactly folder list.
6696         (elmo-folder-append-messages): Fixed append archive with prefix.
6697
6698         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6699         make temp files with start-number.
6700
6701         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6702
6703 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6704
6705         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6706         argument `visible-only'.
6707         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6708         instead of `if'.
6709
6710         * elmo-pop3.el (elmo-folder-open-internal): Check
6711         `elmo-inhibit-number-mapping' is non-nil.
6712
6713         * elmo-pipe.el (elmo-folder-status): Fixed.
6714
6715 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6716
6717         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6718
6719         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6720         (elmo-folder-open-internal): Setup `header-hash' slot.
6721         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6722         information.
6723         (elmo-map-message-fetch): Ditto.
6724
6725 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6726
6727         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6728         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6729         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6730         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6731
6732         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6733
6734 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6735
6736         * sb-airs.el: Added footer.
6737
6738         * shimbun.el (shimbun-article): Define as luna-method.
6739
6740         * sb-tcup.el: New file.
6741
6742         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6743         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6744
6745 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6746
6747         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6748         (shimbun-get-headers): Ditto.
6749
6750         * elmo.el: Moved obsolete variable definitions from
6751         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6752
6753         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6754         groups.
6755
6756         * shimbun.el: New file.
6757
6758         * elmo-shimbun.el: New file.
6759
6760         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6761         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6762         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6763         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6764
6765 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6766
6767         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6768         hierarchy is t.
6769
6770 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6771
6772         * elmo.el (elmo-folder-msgdb): Define as macro.
6773         (elmo-folder-open): Added argument `load-msgdb'.
6774         (elmo-generic-folder-open): Ditto.
6775         (elmo-folder-encache): New function.
6776
6777         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6778
6779         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6780
6781         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6782         Eliminated argument FOLDER and added argument MSGDB.
6783         (elmo-dop-queue-load): Moved from elmo-dop.el.
6784         (elmo-dop-queue-save): Ditto.
6785
6786         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6787
6788         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6789
6790         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6791         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6792         (elmo-filter-folder-list-importants-internal): Ditto.
6793
6794         * elmo-map.el (elmo-folder-pack-number): Ditto.
6795
6796         * elmo-mime.el (elmo-mime-message-display): Ditto.
6797
6798         * elmo.el (elmo-generic-folder-commit): Ditto.
6799         (elmo-folder-list-unreads): Ditto.
6800         (elmo-folder-list-importants): Ditto.
6801         (elmo-generic-folder-commit): Ditto.
6802         (elmo-message-set-mark): Ditto.
6803         (elmo-generic-folder-append-msgdb): Ditto.
6804         (elmo-folder-synchronize): Ditto.
6805         (elmo-folder-messages): Ditto.
6806         (elmo-init): Call elmo-dop-queue-load.
6807         (elmo-folder-list-messages): Ditto.
6808
6809         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6810         (elmo-nntp-folder-process-crosspost): Ditto.
6811         (elmo-folder-list-unreads-internal): Ditto.
6812
6813         * elmo-dop.el: Removed old functions.
6814
6815 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6816
6817         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6818         `folder' to `msgdb'.
6819
6820 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6821
6822         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6823         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6824
6825         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6826         case-fold-search.
6827
6828 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6829
6830         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6831         defined.
6832
6833         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6834         (mmimap-parse-parameters-from-list): Define as alias for
6835         `mime-decode-parameter-plist' if it is defined as function.
6836         (mmimap-make-mime-entity): Added argument `number'.
6837         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6838         as 0.
6839         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6840
6841         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6842
6843         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6844
6845         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6846
6847 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6848
6849         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6850
6851         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6852         when elmo-imap4-default-authenticate-type is nil.
6853         (elmo-folder-list-subfolders): Ditto
6854         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6855         (elmo-imap4-fetch-callback-1-subr): Renamed from
6856         `elmo-imap4-fetch-callback-1' and define as inline function.
6857         (elmo-imap4-fetch-callback-1):
6858         Renamed from `elmo-imap4-fetch-callback'.
6859         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6860
6861         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6862         msgdb path (To keep compatibility with main trunk).
6863
6864         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6865
6866         * elmo-util.el (elmo-make-file-cache): Moved position of
6867         some macros.
6868
6869         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6870         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6871         instead of `elmo-pop3-inhibit-uidl'.
6872         (elmo-folder-exists-p): Ditto.
6873         (elmo-pop3-folder-list-messages): Ditto.
6874
6875         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6876         instead of `elmo-pop3-inhibit-uidl'.
6877         (elmo-folder-status): Ditto.
6878
6879         * elmo-dop.el (elmo-dop-folder): New variable.
6880         (elmo-dop-lock-message): Eliminated.
6881         (elmo-dop-unlock-message): Ditto.
6882         (elmo-dop-lock-list-load): Ditto.
6883         (elmo-dop-lock-list-save): Ditto.
6884         (elmo-dop-delete-folder): Ditto.
6885         (elmo-dop-rename-folder): Ditto.
6886
6887         * elmo.el: Removed incomplete commentary.
6888
6889 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6890
6891         * elmo.el (toplevel): Require 'elmo-version first;
6892         for little `recursive-load-depth' settings.
6893         Fix "ends here" comment.
6894
6895 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6896
6897         * elmo-util.el (toplevel): Require 'poem;
6898         Some functions are moved from elmo-cache.el.
6899
6900         * elmo-net.el (toplevel): Require 'elmo-cache.
6901
6902         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6903
6904         * elmo.el (toplevel): Ditto.
6905
6906         * elmo-cache.el: Rewrite with luna;
6907         Some functions are moved to elmo-util.el.
6908
6909         * elmo-internal.el (elmo-internal-folder-list): New variable.
6910         (elmo-internal-folder-initialize): Rewrite.
6911         (elmo-folder-list-subfolders): Ditto.
6912
6913         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6914         (elmo-cache-collect-sub-directories): Ditto.
6915
6916 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6917
6918         * elmo-version.el (elmo-version): Up to 2.5.8.
6919
6920         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6921
6922         * elmo-util.el (elmo-list-insert): New function.
6923
6924 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6925
6926         * elmo.el (elmo-init): New function.
6927         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6928
6929         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6930         (Renamed from `elmo-localdir-header-chop-length').
6931
6932         * elmo-pop3.el (elmo-pop3-use-cache,
6933         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6934
6935         * elmo-nntp.el (elmo-message-fetch): Define.
6936         (elmo-message-fetch-unplugged): Ditto.
6937         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6938         (elmo-nntp-use-cache): Ditto.
6939         (elmo-nntp-max-number-precedes-list-active): Ditto.
6940
6941         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6942
6943         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6944         `elmo-msgdb-insert-file-header'.
6945         Use `elmo-msgdb-file-header-chop-length'.
6946
6947         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6948         `elmo-vars.el'.
6949
6950         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6951         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6952         `elmo-msgdb-insert-file-header'.
6953
6954         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6955         Use new variable;
6956         Define obsolete variables with `elmo-define-obsolete-variable',
6957
6958         * elmo-util.el (elmo-warning-buffer-name): New constant.
6959         (elmo-warning): New function.
6960         (elmo-obsolete-variable-alist): New variable.
6961         (elmo-obsolete-variable-show-warnings): New variable.
6962         (elmo-define-obsolete-variable): New function.
6963         (elmo-resque-obsolete-variable): Ditto.
6964         (elmo-resque-obsolete-variables): Ditto.
6965
6966 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6967
6968         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6969         Eliminated.
6970
6971         * elmo-pop3.el, elmo-nntp.el: Use custom.
6972
6973 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6974
6975         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6976         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6977
6978 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6979
6980         * Luna-fy Kenichi OKADA's following changes.
6981         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6982         `nohide'.
6983         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6984
6985 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6986
6987         * elmo-util.el (elmo-display-progress): Prefer
6988         `progress-feedback-with-label' to `lprogress-display'.
6989
6990 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6991
6992         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6993
6994 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6995
6996         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6997         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6998         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6999         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7000         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7001         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7002         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7003         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7004         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7005         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7006         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7007         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7008         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7009
7010 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7011
7012         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7013         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7014
7015 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7016
7017         * elmo.el (elmo-folder-process-crosspost): New generic method.
7018         (elmo-folder-writable-p): Ditto.
7019         (elmo-folder-message-appendable-p): Eliminated.
7020         (elmo-generic-folder-append-msgdb): Rewrite.
7021         (elmo-newsgroups-hashtb): New internal variable.
7022         (elmo-crosspost-message-set): Eliminated.
7023         (elmo-crosspost-message-delete): Ditto.
7024         (elmo-setup-subscribed-newsgroups): New function.
7025         (elmo-crosspost-message-alist-modified): New internal variable.
7026         (elmo-crosspost-message-alist-load): New function (Renamed from
7027         `wl-crosspost-alist-load').
7028         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7029         `wl-crosspost-alist-save').
7030
7031         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7032
7033         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7034         `unreads'.
7035         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7036         elmo-newsgroups-hashtb).
7037         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7038         `elmo-nntp-folder-update-crosspost-message-alist'.
7039         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7040         `elmo-nntp-groups-hashtb'.
7041         (elmo-nntp-make-groups-hashtb): Eliminated.
7042         (elmo-nntp-parse-newsgroups): New function (Renamed from
7043         `wl-parse-newsgroups').
7044         (elmo-folder-creatable-p, elmo-folder-writable-p,
7045         elmo-folder-close-internal, elmo-folder-mark-as-read,
7046         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7047         Define.
7048         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7049
7050         * elmo-net.el (elmo-message-fetch): Check buffer size.
7051
7052         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7053
7054         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7055
7056         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7057         before `close' command.
7058
7059         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7060         `mark-alist' (All other related portions are changed).
7061
7062 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7063
7064         * elmo-util.el (elmo-create-hash-size): Eliminated.
7065         (elmo-make-hash) Make a hash with `one less than a power of two'
7066         length.
7067
7068         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7069         (elmo-hash-maximum-size): Changed value.
7070
7071 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7072
7073         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7074         (elmo-mime-message-display-as-is): Ditto.
7075
7076 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7077
7078         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7079         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7080
7081 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7082
7083         * elmo-mark.el: New file.
7084
7085         * elmo-internal.el: Rewrite (Almost empty).
7086
7087 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7088
7089         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7090         (mime-imap-entity-header-string): Ditto.
7091         (mmimap-entity-section): Rewrite.
7092
7093 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7094
7095         * elmo-nmz.el: New file.
7096
7097         * elmo-pipe.el: Rewrite with luna.
7098
7099 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7100
7101         * elmo-archive.el: Rewrite with luna.
7102
7103         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7104         (elmo-folder-list-importants-internal): Ditto.
7105
7106 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7107
7108         * elmo-archive.el (elmo-archive-version): Abolish.
7109         (toplevel) Removed `boso' comment.
7110
7111 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7112
7113         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7114         elmo-msgdb-add-msgs-to-seen-list-subr;
7115         Changed argument seen-marks to unread-marks.
7116
7117         * elmo-nntp.el: Rewrite with luna.
7118
7119 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7120
7121         * elmo-filter.el: Rewrite with luna.
7122
7123 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7124
7125         * elmo-pop3.el: Rewrite with luna.
7126
7127 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7128
7129         * elmo-multi.el: Rewrite with luna.
7130
7131         * elmo-vars.el (elmo-use-killed-list): Abolish.
7132         All other related portions are changed.
7133         (elmo-filename-replace-string-alist): Renamed from
7134         elmo-msgid-replace-string-alist.
7135
7136 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7137
7138         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7139
7140         * elmo-map.el: New file.
7141         * elmo-maildir.el: Rewrite with luna.
7142
7143 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7144
7145         * elmo.el: Changed meaning of `elmo-folder-commit'.
7146         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7147
7148 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7149
7150         * elmo.el (elmo-folder-append-buffer): New function.
7151         (Renamed from `elmo-append-msg')
7152
7153 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7154
7155         * elmo-mime.el: New file.
7156
7157 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7158
7159         * elmo-cache.el: Rewrite.
7160
7161 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7162
7163         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7164
7165 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7166
7167         * elmo-vars.el (elmo): New group.
7168         (elmo-strict-diff-folder-regexp): New variable.
7169
7170         * elmo-util.el (elmo-call-func): Abolish.
7171         (elmo-folder-get-type): Ditto.
7172         (elmo-*-get-spec): Ditto.
7173         (elmo-*-spec-*): Ditto.
7174         (elmo-imap4-identical-name-space-p): Ditto.
7175         (elmo-folder-identical-system-p): Ditto.
7176         (elmo-folder-direct-copy-alist): Ditto.
7177         (elmo-folder-direct-copy-p): Ditto.
7178
7179         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7180         (elmo-folder-initialize): Define.
7181         (elmo-folder-get-primitive-list): Ditto.
7182
7183         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7184         (elmo-folder-initialize): Define.
7185         Renamed `elmo-network-session-host-internal' to
7186         `elmo-network-session-server-internal'.
7187
7188         * elmo-multi.el (elmo-multi-folder): New luna class.
7189         (elmo-folder-initialize): Define.
7190         (elmo-folder-get-primitive-list): Ditto.
7191         (elmo-folder-contains-type): Ditto.
7192         (elmo-message-use-cache-p): Ditto.
7193
7194         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7195         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7196
7197         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7198         (elmo-folder-initialize): Define.
7199
7200         * elmo-filter.el (elmo-filter-folder): New luna class.
7201         (elmo-folder-initialize): Define.
7202         (elmo-folder-get-primitive-list): Ditto.
7203         (elmo-folder-contains-type): Ditto.
7204
7205 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7206
7207         * elmo-imap4.el: Rewrite with luna.
7208
7209         * mmimap.el: New file.
7210
7211         * mmelmo.el, mmelmo-imap4.el: Removed.
7212
7213         * elmo-net.el: Ditto.
7214
7215         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7216         (elmo-folder-initialize): Define.
7217
7218         * elmo-archive.el (elmo-archive-folder): New luna class.
7219         (elmo-folder-initialize): Define.
7220
7221         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7222         `elmo-folder-msgdb-path'.
7223         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7224         `elmo-make-folder'.
7225
7226 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7227
7228         * elmo.el: New file.
7229
7230         * elmo2.el: Renamed to elmo.el.
7231
7232 \f
7233 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7234
7235         * elmo-cache.el (elmo-cache-expire-by-size): Count
7236         a disk usage for a cache file entry in KB even when
7237         its kind is a directory.
7238
7239 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7240
7241         * elmo-version.el (elmo-version): Up to 2.5.7.
7242
7243 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7244
7245         * elmo-version.el (elmo-version): Up to 2.5.6.
7246
7247 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7248
7249         * elmo-version.el (elmo-version): Up to 2.5.5.
7250
7251 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7252
7253         * elmo-imap4.el (elmo-network-authenticate-session):
7254         Fixed a logic for response checking.
7255
7256 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7257
7258         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7259         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7260         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7261         `sasl-mechanisms'.
7262
7263         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7264         for `starttls-open-stream' and `starttls-negotiate'.
7265
7266         * elmo-nntp.el: Remove autoload settings for
7267         `starttls-open-stream' and `starttls-negotiate'.
7268
7269         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7270         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7271         `luna-define-class' with `eval-and-compile'.
7272
7273 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7274
7275         * elmo-util.el (elmo-read-search-condition-internal):
7276         Require an element of table for searching field.
7277
7278 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7279
7280         * elmo-version.el (elmo-version): Up to 2.5.4.
7281
7282 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7283
7284         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7285
7286 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7287
7288         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7289
7290 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7291
7292         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7293         before greeting.
7294
7295 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7296
7297         * elmo-imap4.el (elmo-imap4-delete-folder):
7298         Send "close" before "delete" (Use commented out line).
7299         (elmo-imap4-rename-folder): Ditto.
7300
7301         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7302         folder string itself.
7303         (elmo-dop-list-deleted): New function.
7304         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7305         killed.
7306
7307         * elmo-util.el (elmo-string-rassoc-all): New function.
7308
7309 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7310
7311         * elmo-version.el (elmo-version): Up to 2.5.3.
7312
7313         * elmo-net.el (elmo-network-get-session): Changed logic for
7314         checking process status.
7315
7316         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7317         process is nil;
7318         Changed logic for checking process status.
7319
7320 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7321
7322         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7323         before greeting.
7324         (elmo-network-setup-session): Set UIDL hash size according to
7325         the length of list response.
7326         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7327         according to the length of list response;
7328         Return the length of list response.
7329         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7330
7331 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7332
7333         * elmo-imap4.el (toplevel): Require 'ssl.
7334         Add autoload 'starttls.
7335         * elmo-pop3.el (toplevel): Ditto.
7336         * elmo-nntp.el (toplevel): Ditto.
7337
7338 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7339
7340         * elmo-imap4.el (toplevel): defun at compile time.
7341         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7342         sasl-next-step, sasl-step-data, sasl-step-set-data.
7343         * elmo-pop3.el (toplevel): Ditto.
7344
7345 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7346
7347         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7348
7349 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7350
7351         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7352         if error.
7353         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7354         and `elmo-pop-auth-apop'.
7355
7356 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7357
7358         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7359
7360 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7361
7362         * elmo-pop3.el (elmo-network-authenticate-session): Split
7363         encoded response value.
7364
7365 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7366
7367         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7368         `elmo-pop3-force-login'.
7369         Redefine `sasl-mechanisms'.
7370         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7371
7372 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7373
7374         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7375         Delete `elmo-imap4-authenticator-alist'.
7376         (elmo-imap4-auth-cram-md5): Delete.
7377         (elmo-imap4-auth-digest-md5): Delete.
7378
7379 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7380
7381         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7382         (elmo-pop3-auth-scram-md5): Ditto.
7383         (elmo-pop3-auth-cram-md5): Ditto.
7384
7385 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7386
7387         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7388         Delete `elmo-pop3-authenticator-alist'.
7389
7390 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7391
7392         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7393         new SASL API.
7394         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7395
7396 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7397
7398         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7399
7400 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7401
7402         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7403         Fixed problem when `elmo-pop3-use-uidl' is nil.
7404         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7405
7406 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7407
7408         * elmo-version.el (elmo-version): Up to 2.5.2.
7409
7410 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7411
7412         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7413         New function.
7414         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7415         (elmo-pop3-msgdb-create-as-numlist): Use it.
7416
7417         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7418         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7419
7420         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7421         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7422
7423 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7424
7425         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7426         when elmo-mark-as-read is called with second argument nil.
7427
7428 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7429
7430         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7431         Moved to elmo-util.el.
7432
7433         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7434         Moved from elmo-pipe.el
7435
7436         * elmo-archive.el (elmo-archive-call-process): Enclose with
7437         static-if.
7438
7439         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7440         "RFC822" (because RFC822.PEEK is obsolete).
7441         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7442
7443 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7444
7445         * elmo-archive.el (elmo-archive-call-process): Don't check for
7446         the exit status when Nemacs is running.
7447
7448 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7449
7450         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7451         'plain.
7452
7453         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7454         (elmo-pop3-get-spec): Set default of auth to 'user.
7455
7456         * elmo-imap4.el (elmo-imap4-session-check):
7457         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7458         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7459         (elmo-imap4-auth-login): New function; Revival.
7460         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7461         `elmo-imap4-auth-login'.
7462
7463 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7464
7465         * elmo2.el (toplevel): Move `product-provide' declare.
7466         * mmelmo.el (toplevel): Ditto.
7467
7468 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7469
7470         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7471
7472 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7473
7474         * elmo-util.el (elmo-folder-get-store-type): New function.
7475         (elmo-folder-direct-copy-p): Use it.
7476
7477 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7478
7479         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7480         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7481         and result of `elmo-imap4-use-flag-p'.
7482         (elmo-imap4-fetch-callback-1): Set mark according to
7483         the result of `elmo-imap4-use-flag-p'.
7484
7485 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7486
7487         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7488         (elmo-generic-list-folder-unread): Ditto.
7489         (elmo-folder-get-info): Ditto.
7490         (elmo-folder-set-info-max-by-numdb): Ditto.
7491         (elmo-folder-get-info-max): Ditto.
7492         (elmo-folder-get-info-length): Ditto.
7493         (elmo-folder-get-info-unread): Ditto.
7494         (elmo-folder-info-make-hashtb): Ditto.
7495
7496         * elmo2.el: Removed above functions.
7497
7498 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7499
7500         * elmo-imap4.el (toplevel): Require 'ssl.
7501         Add autoload 'starttls.
7502         * elmo-pop3.el (toplevel): Ditto.
7503         * elmo-nntp.el (toplevel): Ditto.
7504
7505 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7506
7507         * elmo-imap4.el (toplevel): defun at compile time.
7508         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7509         sasl-next-step, sasl-step-data, sasl-step-set-data.
7510         * elmo-pop3.el (toplevel): Ditto.
7511
7512 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7513
7514         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7515
7516 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7517
7518         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7519         if error.
7520         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7521         and `elmo-pop-auth-apop'.
7522
7523 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7524
7525         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7526
7527 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7528
7529         * elmo-pop3.el (elmo-network-authenticate-session): Split
7530         encoded response value.
7531
7532 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7533
7534         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7535         `elmo-pop3-force-login'.
7536         Redefine `sasl-mechanisms'.
7537         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7538
7539 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7540
7541         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7542         Delete `elmo-imap4-authenticator-alist'.
7543         (elmo-imap4-auth-cram-md5): Delete.
7544         (elmo-imap4-auth-digest-md5): Delete.
7545
7546 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7547
7548         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7549         (elmo-pop3-auth-scram-md5): Ditto.
7550         (elmo-pop3-auth-cram-md5): Ditto.
7551
7552 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7553
7554         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7555         Delete `elmo-pop3-authenticator-alist'.
7556
7557 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7558
7559         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7560         new SASL API.
7561         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7562
7563 \f
7564 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7565
7566         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7567
7568 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7569
7570         * elmo-nntp.el (elmo-nntp-get-folders-info):
7571         Fixed problem when '\' character is contained in user-id.
7572         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7573
7574 \f
7575 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7576
7577         * elmo-imap4.el (elmo-imap4-delete-folder):
7578         Send "close" before "delete" (Use commented out line).
7579         (elmo-imap4-rename-folder): Ditto.
7580
7581         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7582         folder string itself.
7583         (elmo-dop-list-deleted): New function.
7584         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7585         killed.
7586
7587         * elmo-util.el (elmo-string-rassoc-all): New function.
7588
7589         * elmo-version.el (elmo-version): Up to 2.5.1.
7590
7591 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7592
7593         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7594
7595         * elmo-internal.el (elmo-internal-search): Fix last change.
7596
7597 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7598
7599         * elmo-internal.el (elmo-internal-search): Rewrite.
7600         (Fixed problem which is pointed out by Akihiro MOTOKI
7601         <motoki@da.jp.nec.com>)
7602
7603         * elmo-version.el (elmo-version): Up to 2.5.0.
7604
7605 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7606
7607         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7608
7609 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7610
7611         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7612         non-nil, make hierarchy.
7613
7614 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7615
7616         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7617         `elmo-pop3-use-uidl' must be bound to nil.
7618         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7619
7620 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7621
7622         * elmo-util.el (elmo-copy-file): Don't cause an error after
7623         `add-name-to-file' failed.
7624
7625         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7626         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7627
7628 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7629
7630         * elmo-version.el (elmo-version): Up to 2.3.93.
7631
7632 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7633
7634         * elmo-util.el (elmo-flatten): New function.
7635
7636 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7637
7638         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7639         sync Author header.
7640         * elmo-cache.el (toplevel): Ditto.
7641         * elmo-database.el (toplevel): Ditto.
7642         * elmo-date.el (toplevel): Ditto.
7643         * elmo-dop.el (toplevel): Ditto.
7644         * elmo-filter.el (toplevel): Ditto.
7645         * elmo-imap4.el (toplevel): Ditto.
7646         * elmo-internal.el (toplevel): Ditto.
7647         * elmo-localdir.el (toplevel): Ditto.
7648         * elmo-localnews.el (toplevel): Ditto.
7649         * elmo-maildir.el (toplevel): Ditto.
7650         * elmo-msgdb.el (toplevel): Ditto.
7651         * elmo-multi.el (toplevel): Ditto.
7652         * elmo-net.el (toplevel): Ditto.
7653         * elmo-nntp.el (toplevel): Ditto.
7654         * elmo-pipe.el (toplevel): Ditto.
7655         * elmo-pop3.el (toplevel): Ditto.
7656         * elmo-util.el (toplevel): Ditto.
7657         * elmo-vars.el (toplevel): Ditto.
7658         * elmo2.el (toplevel): Ditto.
7659         * mmelmo-imap4.el (toplevel): Ditto.
7660         * mmelmo.el (toplevel): Ditto.
7661
7662         * elmo-version.el (elmo-version): Move to top.
7663
7664         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7665         * elmo-imap4.el (toplevel): Ditto.
7666         * elmo-localdir.el (toplevel): Ditto.
7667         * elmo-msgdb.el (toplevel): Ditto.
7668         * elmo-nntp.el (toplevel): Ditto.
7669         * elmo-pop3.el (toplevel): Ditto.
7670         * elmo-version.el (toplevel): Ditto.
7671
7672         * elmo-localnews.el (toplevel): Added Keyword header.
7673
7674 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7675
7676         * elmo-version.el (product-version-as-string): Defined using
7677         `defun-maybe'.
7678         (toplevel): Use it.
7679
7680         * elmo-localdir.el (toplevel): Updated copyright notice.
7681         * elmo-version.el (toplevel): Ditto.
7682         * elmo-msgdb.el (toplevel): Ditto.
7683         * elmo-imap4.el (toplevel): Ditto.
7684         * elmo-nntp.el (toplevel): Ditto.
7685         * elmo-pop3.el (toplevel): Ditto.
7686
7687 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7688
7689         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7690         messages.
7691
7692         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7693         parameter value (It sometimes contains raw kanji).
7694
7695 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7696
7697         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7698         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7699
7700 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7701
7702         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7703
7704 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7705
7706         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7707         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7708
7709 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7710
7711         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7712         value if selecting folder succceeded.
7713         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7714
7715 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7716
7717         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7718         representation.
7719
7720         * elmo-util.el (elmo-string-matched-member): New function.
7721
7722 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7723
7724         * elmo-util.el (elmo-unintern): New macro.
7725         (elmo-number-set-member): Fixed docstring.
7726
7727         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7728         tag token.
7729
7730 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7731
7732         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7733         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7734
7735 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7736
7737         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7738         `no-error'.
7739         Added docstring.
7740         Return non-nil if selecting folder succeeded.
7741         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7742
7743 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7744
7745         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7746         `file-name-completion' returns t.
7747         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7748         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7749         directory if it does not exist.
7750         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7751         for iteration.
7752
7753 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7754
7755         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7756         enclosure (It's harmful in unplugged status).
7757
7758         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7759
7760         * mmelmo-1.el: Removed.
7761
7762         * mmelmo-2.el: Ditto.
7763
7764         * mmelmo-imap4-1.el: Ditto.
7765
7766         * mmelmo-imap4-2.el: Ditto.
7767
7768         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7769
7770         * mmelmo.el: Merged mmelmo-2.el.
7771
7772         * elmo-version.el (elmo-version): Up to 2.3.92.
7773
7774 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7775
7776         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7777         elmo-update-number): Remove last period in "...done." message.
7778         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7779         Ditto.
7780         * elmo-cache.el (elmo-cache-expire-by-size,
7781         elmo-cache-get-sorted-cache-file-list,
7782         elmo-cache-msgdb-create-as-numlist): Ditto.
7783         * elmo-dop.el (elmo-dop-save-pending-messages,
7784         (elmo-dop-flush-pending-append-operations): Ditto.
7785         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7786         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7787         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7788         (elmo-localdir-pack-number): Ditto.
7789         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7790         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7791         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7792         mime-write-entity-content): Ditto.
7793         * pldap.el (ldap-search-basic): Ditto.
7794
7795 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7796
7797         * elmo-version.el (elmo-version): Up to 2.3.91.
7798
7799         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7800         Only when filter is 'last'.
7801
7802         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7803         (elmo-condition-parse-search-value): Use it.
7804         (elmo-read-search-condition-internal): Quote value only when
7805         it is not an atom.
7806
7807 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7808
7809         * elmo2.el (elmo-generic-folder-diff): Fix.
7810
7811 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7812
7813         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7814         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7815         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7816         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7817         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7818         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7819
7820 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7821
7822         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7823         extra-fields.
7824
7825 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7826
7827         * elmo-version.el (elmo-version): Up to 2.3.90.
7828
7829         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7830         (elmo-imap4-list-folder-important): Ditto.
7831
7832 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7833
7834         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7835
7836 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7837
7838         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7839
7840 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7841
7842         * elmo-nntp.el (elmo-network-initialize-session):
7843         Add starttls negotiation.
7844
7845 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7846
7847         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7848         response.
7849         (elmo-network-setup-session): Define.
7850         Call `elmo-nntp-send-mode-reader' when session opened.
7851
7852 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7853
7854         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7855
7856 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7857
7858         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7859         an invalid SPACE character ahead of `SEARCH' command.  Move
7860         a valid SPACE character following `SEARCH' from conditional
7861         `format' arguments to control-strings.
7862
7863 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7864
7865         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7866         was succeeded.
7867
7868         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7869
7870 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7871
7872         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7873         `w32-get-true-file-link-count' as t.
7874
7875         * elmo-imap4.el (elmo-imap4-read): Abolished.
7876         (Renamed to `elmo-read' and moved to elmo-util.el)
7877         All other related portions are changed.
7878
7879         * elmo-util.el (elmo-read): New function.
7880         (elmo-condition-parse-search-value): Use it.
7881
7882 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7883
7884         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7885
7886         * elmo-nntp.el (elmo-nntp-session): Define.
7887         (elmo-nntp-setting): Abolished.
7888         All other related portions are changed.
7889         (elmo-nntp-get-server-command): Changed argument.
7890         (elmo-nntp-set-server-command): Ditto.
7891         (elmo-nntp-xover-p): Ditto.
7892         (elmo-nntp-set-xover): Ditto.
7893         (elmo-nntp-listgroup-p): Ditto.
7894         (elmo-nntp-set-listgroup): Ditto.
7895         (elmo-nntp-list-active-p): Ditto.
7896         (elmo-nntp-set-list-active): Ditto.
7897         (elmo-nntp-xhdr-p): Ditto.
7898         (elmo-nntp-set-xhdr): Ditto.
7899         (elmo-nntp-flush-connection): Abolished.
7900         (elmo-nntp-get-connection): Abolished.
7901         (elmo-nntp-get-session): New function.
7902         (elmo-network-initialize-session): Defined.
7903         (elmo-network-authenticate-session): Ditto.
7904         (elmo-nntp-send-mode-reader): Changed argument.
7905         (elmo-nntp-send-command): Changed argument.
7906         All other related portions are changed.
7907         (elmo-nntp-read-response): Ditto.
7908         (elmo-nntp-read-raw-response): Ditto.
7909         (elmo-nntp-read-contents): Ditto.
7910         (elmo-nntp-read-body): Ditto.
7911         (elmo-nntp-goto-folder): Abolished.
7912         (elmo-nntp-select-group): New function.
7913         All other related portions are changed.
7914         (This function substitutes `elmo-nntp-goto-folder')
7915         (elmo-nntp-msgdb-create-by-header): Rewrite.
7916         (elmo-nntp-get-overview): Eliminated.
7917         (elmo-nntp-get-message): Ditto.
7918         (elmo-nntp-open-connection) Abolished.
7919         (elmo-nntp-read-msg): Rewrite.
7920         (elmo-nntp-post): Ditto.
7921         (elmo-nntp-send-data): Abolished.
7922         (elmo-nntp-send-buffer): New function.
7923         (elmo-nntp-send-data-line): Define as inline function.
7924         (elmo-nntp-get-folders-info-prepare): Use session as key.
7925         (elmo-nntp-groups-read-response): Changed argument.
7926         (elmo-nntp-retrieve-headers): Ditto.
7927         (elmo-nntp-msgdb-create-message): Ditto.
7928
7929         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7930         when searching by 'since' or 'before'.
7931
7932 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7933
7934         * elmo-version.el (toplevel): Use product-version-as-string for set
7935         verstion-string, if defined.
7936
7937 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7938
7939         * elmo-util.el: Doc fixes.
7940
7941 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7942
7943         * elmo-archive.el (toplevel): Use product-provide.
7944         * elmo-cache.el (toplevel): Ditto.
7945         * elmo-database.el (toplevel): Ditto.
7946         * elmo-date.el (toplevel): Ditto.
7947         * elmo-dop.el (toplevel): Ditto.
7948         * elmo-filter.el (toplevel): Ditto.
7949         * elmo-imap4.el (toplevel): Ditto.
7950         * elmo-internal.el (toplevel): Ditto.
7951         * elmo-localdir.el (toplevel): Ditto.
7952         * elmo-localnews.el (toplevel): Ditto.
7953         * elmo-maildir.el (toplevel): Ditto.
7954         * elmo-msgdb.el (toplevel): Ditto.
7955         * elmo-multi.el (toplevel): Ditto.
7956         * elmo-net.el (toplevel): Ditto.
7957         * elmo-nntp.el (toplevel): Ditto.
7958         * elmo-pipe.el (toplevel): Ditto.
7959         * elmo-pop3.el (toplevel): Ditto.
7960         * elmo-util.el (toplevel): Ditto.
7961         * elmo-vars.el (toplevel): Ditto.
7962         * elmo2.el (toplevel): Ditto.
7963         * mmelmo-1.el (toplevel): Ditto.
7964         * mmelmo-2.el (toplevel): Ditto.
7965         * mmelmo-imap4-1.el (toplevel): Ditto.
7966         * mmelmo-imap4-2.el (toplevel): Ditto.
7967         * mmelmo-imap4.el (toplevel): Ditto.
7968         * mmelmo.el (toplevel): Ditto.
7969
7970 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7971
7972         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7973         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7974
7975 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7976
7977         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7978         before splitting.
7979         (elmo-multi-split-number-alist): Ditto.
7980
7981 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7982
7983         * elmo-version.el: New file.  Use product.el.
7984         * elmo2.el: Add (require 'elmo-version).
7985         * elmo-vars.el (elmo-appname, elmo-version): Move to
7986         elmo-version.el
7987
7988 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7989
7990         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7991         `elmo-msgdb-expand-path'.
7992         (elmo-msgdb-load): Ditto.
7993         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7994         (elmo-generic-list-folder-unread): Rewrite.
7995         (elmo-generic-list-folder-important): Changed argument.
7996         (elmo-list-folder-unread): Ditto.
7997         (elmo-list-folder-important): Ditto.
7998         (elmo-folder-diff): Rewrite.
7999         (elmo-generic-folder-diff): New function.
8000         (elmo-multi-get-number-alist-list): Abolished
8001         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8002         (elmo-multi-folder-diff): Moved to elmo-multi.el
8003         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8004
8005         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8006         `elmo-msgdb-expand-path'.
8007         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8008         (elmo-pop3-read-msg): Ditto.
8009         (elmo-pop3-delete-msgs): Ditto.
8010         (elmo-pop3-folder-diff): New alias.
8011
8012         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8013         `elmo-msgdb-expand-path'.
8014         (elmo-pipe-list-folder-unread): Changed arguments.
8015         (elmo-pipe-list-folder-important): Ditto.
8016         (elmo-pipe-folder-diff): New alias.
8017
8018         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8019         `elmo-msgdb-expand-path'.
8020         (elmo-nntp-max-of-folder): Ditto.
8021         (elmo-nntp-msgdb-create): Ditto.
8022         (elmo-nntp-delete-msgs): Ditto.
8023         (elmo-nntp-folder-diff): New alias.
8024
8025         * elmo-multi.el (elmo-multi-folder-diff): New function.
8026         (elmo-multi-split-mark-alist): Ditto.
8027         (elmo-multi-split-number-alist): Ditto.
8028         (elmo-multi-mark-alist-list): Abolished (Renamed to
8029         elmo-multi-split-mark-alist).
8030         (elmo-multi-list-folder-unread): Rewrite.
8031         (elmo-multi-list-folder-important): Ditto.
8032         (elmo-multi-list-folder): Set `spec' as 1st argument for
8033         `elmo-msgdb-expand-path'.
8034         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8035         instead of `elmo-multi-get-number-alist-list'.
8036
8037         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8038         If 1st argument is not string, treat as spec.
8039         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8040         `elmo-msgdb-expand-path'.
8041         (elmo-msgdb-flist-load): Ditto.
8042         (elmo-msgdb-flist-save): Ditto.
8043         (elmo-msgdb-delete-path): Ditto.
8044         (elmo-msgdb-rename-path): Ditto.
8045
8046         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8047         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8048         (elmo-maildir-delete-mark-msgs): Ditto.
8049         (elmo-maildir-msgdb-create): Ditto.
8050         (elmo-maildir-read-msg): Ditto.
8051         (elmo-maildir-delete-msgs): Ditto.
8052         (elmo-maildir-list-folder-subr): Ditto.
8053         (elmo-maildir-search): Ditto.
8054         (elmo-maildir-get-msg-filename): Ditto.
8055         (elmo-maildir-pack-number): Ditto.
8056         (elmo-maildir-folder-diff): New alias.
8057
8058         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8059
8060         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8061         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8062         (elmo-localdir-folder-diff): New alias.
8063
8064         * elmo-internal.el (elmo-internal-list-folder-subr):
8065         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8066         (elmo-internal-list-folder-by-location): Ditto.
8067         (elmo-internal-msgdb-create): Ditto.
8068         (elmo-internal-delete-msgs): Ditto.
8069         (elmo-internal-read-msg): Ditto.
8070         (elmo-internal-folder-diff): New alias.
8071
8072         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8073         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8074         `elmo-msgdb-expand-path'.
8075         (elmo-imap4-list-folder-unread): Changed arguments.
8076         (elmo-imap4-list-folder-important): Ditto.
8077
8078         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8079         (elmo-filter-list-folder-important): Ditto.
8080         (elmo-filter-folder-diff): New function.
8081
8082         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8083
8084         * elmo-cache.el (elmo-cache-list-folder):
8085         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8086         (elmo-cache-copy-msgs): Ditto.
8087         (elmo-cache-folder-diff): New alias.
8088
8089         * elmo-archive.el (elmo-archive-list-folder-subr):
8090         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8091         (elmo-archive-get-archive-name): Ditto.
8092         (elmo-archive-create-file): Ditto.
8093         (elmo-archive-append-msg): Ditto.
8094         (elmo-archive-copy-msgs): Ditto.
8095         (elmo-archive-copy-msgs-froms): Ditto.
8096         (elmo-archive-get-msg-filename): Ditto.
8097         (elmo-archive-folder-diff): New alias.
8098
8099 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8100
8101         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8102         (elmo-pop3-stream-type-alist): New variable.
8103         (elmo-nntp-stream-type-alist): New variable.
8104
8105         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8106         (elmo-kill-buffer): Ditto.
8107         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8108         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8109         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8110         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8111         (elmo-imap4-get-spec): Take into account
8112         `elmo-imap4-stream-type-alist'.
8113
8114 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8115
8116         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8117         (elmo-nntp-list-folders-get-cache): Ditto.
8118
8119 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8120
8121         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8122         character before 'uid'.
8123
8124 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8125
8126         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8127
8128         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8129
8130         * elmo-util.el (elmo-number-set-member): New function.
8131         (elmo-number-set-append-list): Ditto.
8132         (elmo-number-set-append): Ditto.
8133
8134         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8135         Use `elmo-number-set-member'.
8136         (elmo-living-messages): Ditto.
8137         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8138         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8139
8140         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8141         (elmo-imap4-add-to-cont-list): Abolished.
8142         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8143         instead of elmo-imap4-add-to-cont-list.
8144
8145         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8146         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8147
8148         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8149
8150 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8151
8152         * elmo-util.el (elmo-condition-parse-search-value):
8153         Fixed date parsing.
8154
8155 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8156
8157         * elmo-util.el (elmo-condition-find-key-internal): New function.
8158         (elmo-condition-find-key): Ditto.
8159
8160         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8161         (elmo-msgdb-search-internal): Ditto.
8162         (elmo-msgdb-search): Ditto.
8163
8164 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8165
8166         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8167         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8168
8169         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8170         (elmo-nntp-search-primitive): Fixed problem when condition is
8171         'unmatch'.
8172
8173         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8174
8175         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8176         (elmo-nntp-xhdr-p): New macro.
8177         (elmo-nntp-set-xhdr): Ditto.
8178         (elmo-nntp-parse-xhdr-response): New function.
8179         (elmo-nntp-retrieve-field): Ditto.
8180         (elmo-nntp-search-primitive): Ditto.
8181         (elmo-nntp-search): Implemented.
8182
8183         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8184
8185         * elmo-archive.el (elmo-archive-search): Set all number list to
8186         `elmo-archive-field-condition-match'
8187
8188         * elmo-localdir.el (elmo-localdir-search): Likewise.
8189
8190         * elmo-maildir.el (elmo-maildir-search): Likewise.
8191
8192 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8193
8194         * elmo-msgdb.el (elmo-living-messages): New function.
8195         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8196         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8197         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8198         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8199         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8200         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8201         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8202         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8203         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8204         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8205         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8206
8207 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8208
8209         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8210
8211         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8212
8213         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8214
8215         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8216         arguments for `SEARCH' command.
8217         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8218         All other related portions are changed.
8219
8220         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8221
8222         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8223         (elmo-list-folder-unread): Rewrite.
8224         (elmo-list-folder-important): Ditto.
8225
8226         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8227         (elmo-condition-parse-error): New inline function.
8228         (elmo-read-search-condition): New function.
8229         (elmo-read-search-condition-internal): Ditto.
8230         (elmo-parse-search-condition): Rewrite.
8231         (elmo-condition-parse): New function.
8232         (elmo-condition-parse-or-expr): Ditto.
8233         (elmo-condition-parse-and-expr): Ditto.
8234         (elmo-condition-parse-primitive): Ditto.
8235         (elmo-condition-parse-search-value): Ditto.
8236         (elmo-buffer-field-primitive-condition-match): Ditto.
8237         (elmo-buffer-field-condition-match): Rewrite.
8238         (elmo-file-field-condition-match): Ditto.
8239
8240         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8241         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8242
8243         * elmo-internal.el (elmo-internal-search): Set `number' and
8244         `number-list' argument of `elmo-file-field-condition-match'.
8245
8246         * elmo-maildir.el (elmo-maildir-search): Ditto.
8247
8248         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8249         `msgdb' as argument instead of `mark-alist'.
8250         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8251         `overview'.
8252
8253         * elmo-multi.el: Likewise.
8254
8255         * elmo-pipe.el: Likewise.
8256
8257         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8258         (elmo-imap4-search-internal): Rewrite.
8259         (elmo-imap4-search): Ditto.
8260
8261         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8262         (elmo-filter-list-folder-unread): Ditto.
8263         (elmo-filter-list-folder-important): Ditto.
8264         (elmo-filter-search): Rewrite.
8265
8266         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8267         `number-list' argument of `elmo-file-field-condition-match'.
8268         (elmo-cache-search): Ditto.
8269
8270         * elmo-localdir.el: Likewise.
8271
8272         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8273         number-list and pass it to `elmo-buffer-field-condition-match'.
8274         (elmo-archive-field-condition-match): Pass `number-list' to
8275         `elmo-archive-field-condition-match'
8276
8277 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8278
8279         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8280         `listgroup'.
8281
8282         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8283         (elmo-folder-diff-async-callback-data): Ditto.
8284         (elmo-folder-diff-async): New function.
8285
8286         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8287         (elmo-network-session-cache-key): Use it as a prefix of the session
8288         name.
8289         (elmo-network-open-session): Ditto.
8290
8291         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8292         (elmo-imap4-status-callback-data): Ditto.
8293         (elmo-imap4-server-diff-async-callback): New variable.
8294         (elmo-imap4-server-diff-async-callback-data): Ditto.
8295         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8296         `elmo-imap4-status-callback-data'.
8297         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8298         `elmo-imap4-status-callback-data' as nil.
8299         (elmo-imap4-server-diff): Ditto.
8300         (elmo-imap4-server-diff-async-callback-1): New function.
8301         (elmo-imap4-server-diff-async): Ditto.
8302         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8303
8304 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8305
8306         * elmo-util.el (elmo-list-delete): Doc fix.
8307         (elmo-delete-lists): Abolish.
8308         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8309         instead of `elmo-delete-lists'.
8310
8311 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8312
8313         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8314         before `sort'.
8315
8316 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8317
8318         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8319         `elmo-imap4-literal-subr'.
8320         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8321         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8322
8323 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8324
8325         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8326         (elmo-archive-list-folder): Fix.
8327         (elmo-archive-max-of-folder): Fix.
8328
8329 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8330
8331         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8332          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8333         (elmo-localdir-append-msg): Ditto.
8334         (elmo-localdir-list-folder): Fix for `nonsort'.
8335         (elmo-localdir-list-folder-subr): Fix for `killed'.
8336         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8337         (elmo-maildir-list-folder-subr): Ditto.
8338         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8339         (elmo-archive-list-folder-subr): Ditto.
8340         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8341         (elmo-internal-list-folder-subr): Ditto.
8342
8343 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8344
8345         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8346
8347 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8348
8349         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8350
8351 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8352
8353         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8354         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8355
8356         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8357         before greeting.
8358         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8359         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8360
8361 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8362
8363         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8364
8365         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8366         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8367         before STORE command.
8368
8369 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8370
8371         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8372
8373         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8374         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8375         of `response'.
8376         (elmo-imap4-list-folders): Removed unused local variable.
8377         (elmo-network-initialize-session): Ditto.
8378         (elmo-imap4-delete-msg-by-id): Ditto.
8379         (elmo-imap4-parse-fetch): Ditto.
8380         (elmo-imap4-copy-msgs): Ditto.
8381         Use `dst-spec' instead of `dst-folder'.
8382         (elmo-network-authenticate-session): Check authenticate type `plain'.
8383
8384 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8385
8386         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8387         garbage checking.
8388         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8389         `elmo-imap4-response-value'.
8390         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8391
8392 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8393
8394         * elmo-imap4.el (elmo-imap4-send-command):
8395         Cause elmo-imap4-bye-error when current response is BYE.
8396         (elmo-imap4-arrival-filter): Changed greeting response value.
8397
8398         * elmo2.el (elmo-imap4-bye-error): Define.
8399
8400         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8401         (elmo-imap4-server-diff): Ditto.
8402         (elmo-imap4-response-bye-p): New macro.
8403         (elmo-imap4-response-error-text): Get text from BYE response.
8404         (elmo-imap4-read-response): Return if BYE response.
8405         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8406         (elmo-imap4-folder-exists-p): Ditto.
8407         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8408         (elmo-imap4-parse-bye): New function.
8409         (elmo-imap4-parse-response): Remove needless let.
8410         Call `elmo-imap4-parse-bye'.
8411
8412 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8413
8414         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8415         the mailbox does not exist.
8416         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8417
8418 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8419
8420         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8421
8422 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8423
8424         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8425
8426         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8427         (elmo-network-initialize-session-buffer): Defined.
8428
8429         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8430         Abolished.
8431         (mmelmo-imap4-get-mime-entity): Rewrite.
8432
8433         * elmo2.el (elmo-error): Capitalize error message.
8434
8435         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8436         (elmo-network-session-buffer): New macro.
8437         (elmo-network-open-session): Use it.
8438
8439         * elmo-imap4.el: Rewrite.
8440
8441 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8442
8443         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8444
8445 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8446
8447         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8448         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8449         (elmo-imap4-create-msgdb-from-overview-string): Use
8450         `elmo-msgdb-create-overview-from-buffer'.
8451
8452 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8453
8454         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8455         (elmo-imap4-default-hierarchy-delimiter): New variable.
8456         (elmo-imap4-list-folders): Use it.
8457
8458 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8459
8460         * elmo-net.el (elmo-network-open-session): Add user and
8461         stream-type for process-buffer name.
8462
8463         * elmo-pop3.el (elmo-network-initialize-session): Call
8464         buffer-disable-undo.
8465
8466         * elmo-imap4.el (elmo-network-initialize-session):
8467         Set current-buffer as an argument for `buffer-disable-undo'.
8468
8469         * elmo-pop3.el (elmo-network-close-session): Don't use
8470         `process-live-p'.
8471
8472         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8473         Set default as 'user.
8474
8475         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8476
8477         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8478         and `elmo-imap4-flush-connection'.
8479
8480         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8481         (elmo-pop3-get-spec): Assume auth as symbol.
8482         (elmo-open-network-stream): Moved to `elmo-net'.
8483
8484         * elmo-pop3.el (toplevel): Require 'elmo-net.
8485         Define `sasl-cram-md5' to silence byte compilier.
8486         (elmo-pop3-connection-cache) Abolished.
8487         (elmo-pop3-authenticator-alist) New variable.
8488         (elmo-pop3-session): Define.
8489         (elmo-pop3-connection-get-process): Abolished.
8490         (elmo-pop3-connection-get-buffer): Ditto.
8491         (elmo-pop3-close-connection): Ditto.
8492         (elmo-pop3-flush-connection): Ditto.
8493         (elmo-pop3-get-connection): Ditto.
8494         (elmo-pop3-get-session): New function.
8495         (Replacement for `elmo-pop3-get-connection').
8496         All other related modules are changed.
8497         (elmo-network-close-session): Define.
8498         (elmo-pop3-send-command): Abolished argument `buffer'.
8499         All other related modules are changed.
8500         (elmo-pop3-read-response): Likewise.
8501         (elmo-pop3-open-connection): Abolished.
8502         (elmo-pop3-auth-user): New function.
8503         (elmo-pop3-auth-apop): Ditto.
8504         (elmo-pop3-auth-cram-md5): Ditto.
8505         (elmo-pop3-auth-scram-md5): Ditto.
8506         (elmo-pop3-auth-digest-md5): Ditto.
8507         (elmo-network-initialize-session): Define.
8508         (elmo-network-authenticate-session): Ditto.
8509         (elmo-network-setup-session): Ditto.
8510
8511         * elmo-imap4.el (toplevel): Require 'elmo-net.
8512         (elmo-imap4-session): Define.
8513         (elmo-imap4-connection-cache): Abolished.
8514         (elmo-imap4-password-key): Ditto.
8515         (elmo-imap4-flush-connection): Ditto.
8516         (elmo-imap4-get-connection): Ditto.
8517         All other related modules are changed.
8518         (elmo-imap4-get-session): New function
8519         (Replacement for `elmo-imap4-get-connection').
8520         (elmo-imap4-read-response): Abolished argument `buffer'.
8521         All other related modules are changed.
8522         (elmo-imap4-send-command): Likewise.
8523         (elmo-imap4-select-folder): Abolished.
8524         All other related modules are changed.
8525         (elmo-imap4-select-mailbox): New function.
8526         (Replacement for `elmo-imap4-select-folder').
8527         (elmo-imap4-auth-login): Simplify.
8528         (Assume current buffer as process buffer)
8529         (elmo-imap4-auth-cram-md5): Ditto.
8530         (elmo-imap4-auth-digest-md5): Ditto.
8531         (elmo-imap4-login): Ditto.
8532         (elmo-imap4-open-connection): Abolished.
8533         (elmo-imap4-open-connection-1): Abolished.
8534         (elmo-network-initialize-sessoin): Define.
8535         (elmo-network-authenticate-session): Ditto.
8536         (elmo-network-setup-session): Ditto.
8537
8538         * elmo-net.el: New module.
8539
8540 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8541
8542         * elmo-util.el (elmo-define-error): New function.
8543
8544         * elmo2.el (elmo-error): Define.
8545         (elmo-open-error): Define.
8546         (elmo-authenticate-error): Define.
8547
8548         * elmo-imap4.el (elmo-imap4-error): Abolish.
8549         (elmo-imap4-error-type): Abolish.
8550         (elmo-imap4-error-process): Abolish.
8551         (elmo-imap4-error-message): Abolish
8552         (elmo-imap4-list-folders): Don't quote lambda.
8553         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8554         (elmo-imap4-parse-namespace): Ditto.
8555         (elmo-imap4-open-connection): Rewrite.
8556         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8557         (elmo-imap4-get-connection): Abolish local variable `result'.
8558
8559 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8560
8561         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8562         wrong-type-argument error when auth is nil.
8563
8564 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8565
8566         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8567         (elmo-default-nntp-stream-type): Ditto.
8568         (elmo-default-pop3-stream-type): Ditto.
8569         (elmo-network-stream-type-alist): Ditto.
8570         (elmo-default-imap4-ssl): Abolished.
8571         (elmo-default-nntp-ssl): Ditto.
8572         (elmo-default-pop3-ssl): Ditto.
8573
8574         * elmo-util.el: (toplevel): Removed needless requires.
8575         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8576         (elmo-open-network-stream): Open network stream according to
8577         the value of `elmo-network-stream-type-alist'.
8578         (elmo-get-network-stream-type): New function.
8579         (elmo-network-stream-type-spec-string): New macro.
8580         (elmo-network-stream-type-symbol): Ditto.
8581         (elmo-network-stream-type-function): Ditto.
8582
8583         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8584         network-stream-type. All other related portions are changed.
8585         (elmo-pop3-open-connection): Ditto.
8586
8587         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8588         network-stream-type. All other related portions are changed.
8589
8590         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8591         network-stream-type.All other related portions are changed.
8592         (elmo-imap4-error): New macro.
8593         (elmo-imap4-error-type): Ditto.
8594         (elmo-imap4-error-process): Ditto.
8595         (elmo-imap4-error-message): Ditto.
8596         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8597         (elmo-imap4-auth-cram-md5): Ditto.
8598         (elmo-imap4-auth-digest-md5): Ditto.
8599         (elmo-imap4-login): Ditto.
8600         (elmo-imap4-open-connection): Remove password entry if authentication
8601         was in vain.
8602         (elmo-imap4-user-at-host): Abolished.
8603         (elmo-imap4-password-key): New buffer local variable.
8604         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8605         using protocol, port, auth and stream-type.
8606
8607         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8608
8609 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8610
8611         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8612
8613         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8614
8615         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8616         (elmo-imap4-authenticator-alist): New variable.
8617         (elmo-imap4-open-connection-1): Rename from
8618         elmo-imap4-open-connection.
8619         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8620         only wraps elmo-imap4-open-connection-1.
8621         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8622         user-at-host.
8623         (elmo-imap4-auth-login): New function.
8624         (elmo-imap4-auth-cram-md5): New function.
8625         (elmo-imap4-auth-digest-md5): New function.
8626         (elmo-imap4-login): New function.
8627
8628 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8629
8630         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8631         function `error'.
8632
8633 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8634
8635         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8636
8637 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8638
8639         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8640
8641 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8642
8643         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8644         for server responses, quote `*' regardless of where it appears.
8645
8646 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8647
8648         * elmo-maildir.el (elmo-maildir-commit): New alias.
8649
8650 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8651
8652         * elmo-util.el (elmo-display-progress):
8653                 Use `progress-feedback-with-label'.
8654
8655 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8656
8657         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8658         (elmo-imap4-non-atom-char-regex): Ditto.
8659         (elmo-imap4-non-text-char-regex): Ditto.
8660         (elmo-imap4-literal-threshold): Ditto.
8661         (elmo-imap4-atom-p): New function.
8662         (elmo-imap4-quotable-p): Ditto.
8663         (elmo-imap4-nil): Ditto.
8664         (elmo-imap4-atom): Ditto.
8665         (elmo-imap4-quoted): Ditto.
8666         (elmo-imap4-literal-subr): Ditto.
8667         (elmo-imap4-literal): Ditto.
8668         (elmo-imap4-buffer-literal): Ditto.
8669         (elmo-imap4-string-subr): Ditto.
8670         (elmo-imap4-string): Ditto.
8671         (elmo-imap4-buffer-string): Ditto.
8672         (elmo-imap4-astring-subr): Ditto.
8673         (elmo-imap4-astring): Ditto.
8674         (elmo-imap4-buffer-astring): Ditto.
8675         (elmo-imap4-nstring): Ditto.
8676         (elmo-imap4-buffer-nstring): Ditto.
8677         (elmo-imap4-mailbox): New alias.
8678         (elmo-imap4-field-body): Ditto.
8679         (elmo-imap4-userid): Ditto.
8680         (elmo-imap4-password): Ditto.
8681         (elmo-imap4-format-quoted): New function.
8682         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8683         arguments and handle "atom", "quoted" and "literal" string here.
8684         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8685         `elmo-imap4-send-command'.
8686         (elmo-imap4-folder-exists-p): Likewise.
8687         (elmo-imap4-create-folder): Likewise.
8688         (elmo-imap4-delete-folder): Likewise.
8689         (elmo-imap4-rename-folder): Likewise.
8690         (elmo-imap4-max-of-folder): Likewise.
8691         (elmo-imap4-check-validity): Likewise.
8692         (elmo-imap4-sync-validity): Likewise.
8693         (elmo-imap4-server-diff): Likewise.
8694         (elmo-imap4-select-folder): Likewise.
8695         (elmo-imap4-copy-msgs): Likewise.
8696         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8697         (elmo-imap4-mark-set-on-msgs): Likewise.
8698         (elmo-imap4-read-part): Likewise.
8699         (elmo-imap4-read-msg): Likewise.
8700         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8701         `elmo-imap4-password' for `elmo-imap4-send-command'.
8702         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8703         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8704         `elmo-imap4-buffer-literal'.
8705         (elmo-imap4-append-msg): Likewise.
8706
8707         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8708         `delete' for removing dead connection from the connection cache.
8709         Move deletion of the process buffer after that.
8710         (elmo-imap4-list): Change `defsubst' to `defun'.
8711         (elmo-imap4-commit): Make error message verbose.
8712         (elmo-imap4-search): Ditto.
8713         (elmo-imap4-list): Ditto.
8714         (elmo-imap4-select-folder): Ditto.
8715         (elmo-imap4-copy-msgs): Ditto.
8716         (elmo-imap4-delete-msg-by-id): Ditto.
8717         (elmo-imap4-append-msg-by-id): Ditto.
8718         (elmo-imap4-append-msg): Ditto.
8719
8720 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8721
8722         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8723         when dired is used on XEmacs.
8724
8725 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8726
8727         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8728         instead of `append'.
8729         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8730         `elmo-plugged-p' directly.
8731         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8732         of `elmo-plugged-p' directly.
8733
8734         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8735         Eliminate unused variable.  Use `memq' for checking a process status.
8736         Use `cons' instead of `append' for updating the connection cache.
8737         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8738         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8739
8740 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8741
8742         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8743         `elmo-imap4-read-point' exactly.
8744
8745         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8746         the local variable `folder' to `mailbox'.
8747         Rename the argument `fld' to `folder'.
8748
8749 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8750
8751         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8752         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8753
8754 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8755
8756         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8757         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8758         (elmo-pop3-uidl-number-hash): Ditto.
8759         (elmo-pop3-size-hash): Ditto.
8760         (elmo-pop3-uidl-done): Ditto.
8761         (elmo-pop3-list-done): Ditto.
8762         (elmo-pop3-connection-get-process): New defmacro.
8763         (elmo-pop3-connection-get-buffer): Ditto.
8764         (elmo-pop3-close-connection): Delete buffer and process.
8765         (elmo-pop3-flush-connection): Don't delete buffer and process.
8766         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8767         Setup UIDL and size hash.
8768         (elmo-pop3-send-command-no-erase): Deleted
8769         (elmo-pop3-send-command): Added optional argument `no-erase'.
8770         (elmo-pop3-parse-uidl-response): New function.
8771         (elmo-pop3-parse-list-response): Set size hash.
8772         (elmo-pop3-list-location): New function.
8773         (elmo-pop3-list-by-uidl-subr): Ditto.
8774         (elmo-pop3-list-by-list): Ditto.
8775         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8776         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8777         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8778         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8779         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8780         Use uidl.
8781         (elmo-pop3-uidl-to-number): New function.
8782         (elmo-pop3-number-to-uidl): Ditto.
8783         (elmo-pop3-number-to-size): Ditto.
8784         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8785         Set number by use of uidl.
8786         (elmo-pop3-msgdb-create-message): Likewise.
8787         Set size, loc-alist in msgdb.
8788         (elmo-pop3-read-msg): Set number by use of uidl.
8789         Added optional argument `msgdb'.
8790         (elmo-pop3-delete-msg): Ditto.
8791         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8792         (elmo-pop3-commit): Close connection.
8793
8794         * elmo-pipe.el (elmo-pipe-max-of-folder):
8795         Bind `elmo-pop3-use-uidl' as nil.
8796         (elmo-pipe-drain): Ditto.
8797         Call `elmo-commit'.
8798
8799         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8800         (elmo-msgdb-overview-entity-set-size): New defsubst.
8801
8802 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8803
8804         * elmo-vars.el (elmo-use-killed-list): New variable
8805         (Renamed from `elmo-nntp-use-killed-list').
8806         (elmo-nntp-use-killed-list): Eliminated.
8807
8808         * elmo-msgdb.el (elmo-msgdb-expand-path):
8809         Changed expanding msgdb path for elmo-multi.
8810
8811         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8812         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8813         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8814         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8815         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8816         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8817         (toplevel): Deleted time-stamp line.
8818
8819         * elmo2.el (elmo-clear-killed ): Defined as function
8820         (Abolished defining as a backend function).
8821         All other related modules are changed.
8822
8823 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8824
8825         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8826
8827 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8828
8829         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8830
8831 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8832
8833         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8834
8835 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8836
8837         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8838         asynchronous folder check.
8839
8840         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8841
8842         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8843         `elmo-nntp-use-killed-list'.
8844         (elmo-nntp-list-folder): Use killed list.
8845         (elmo-nntp-max-of-folder): Ditto.
8846         (elmo-nntp-msgdb-create): Set killed list.
8847
8848         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8849
8850         * elmo2.el (elmo-clear-killed): New backend function.
8851         All other related modules are changed.
8852
8853 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8854
8855         * elmo-util.el (elmo-imap4-spec-folder): Use
8856         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8857         All callers changed.
8858
8859 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8860
8861         * mmelmo-2.el (initialize-instance):
8862         Use `mime-buffer-entity-buffer-internal' instead of
8863         `mime-entity-buffer'.
8864
8865         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8866         (mime-entity-body): Implemented.
8867         (mime-goto-header-start-point): Deleted.
8868         (mime-goto-body-end-point): Ditto.
8869         (mime-entity-point-min): Ditto.
8870         (mime-entity-point-max): Ditto.
8871         (mime-entity-children): Ditto.
8872         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8873         instead of `mime-entity-buffer'.
8874         (mime-entity-header-buffer): Ditto.
8875         (mime-entity-body-buffer): Ditto.
8876         (mime-write-entity-content): Ditto.
8877
8878         * pldap.el (ldap-static-if): New macro.
8879         (toplevel): Use it instead of `static-if'.
8880
8881 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8882
8883         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8884         included in `attrs' argument.
8885
8886 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8887
8888         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8889
8890         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8891         (ldap-ldif-safe-init-char-regexp): Ditto.
8892         (ldap-ldif-safe-string-regexp): Ditto.
8893         (ldap/ldif-safe-string-p): New macro.
8894         (ldap/ldif-insert-field): Ditto.
8895         (ldap-modify): Use it.
8896         (ldap-add): Ditto.
8897         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8898         (ldap-decode-attribute): Decode only when `attr' is consp.
8899         (ldap-delete): Bind `ret'.
8900         (toplevel): Require 'cl at compile time.
8901         Removed (require 'poe) and (require 'std11).
8902         (pldap-version): Eliminated.
8903         (ldap-search-basic): Removed auth and dn binding.
8904         (ldap-ldif-field-name-regexp): New constant.
8905         (ldap-ldif-field-head-regexp): Ditto.
8906         (ldap-ldif-next-field-head-regexp): Ditto.
8907         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8908         (ldap/field-end): New function.
8909         (ldap/field-body): Use it.
8910         (ldap/collect-field): Ditto.
8911         (ldap-search-basic): Use `ldap/field-body'.
8912
8913 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8914
8915         * pldap.el (ldap-default-attribute-encoder): New user option.
8916         (ldap/field-body): Decode base64 string.
8917         (ldap/collect-field): Ditto.
8918         (ldap-encode-attribute): New function.
8919         (ldap-add-entries): Use it.
8920         (ldap-modify-entries): Ditto.
8921         (ldap-search-entries): Enclosed decoding function with
8922         `with-temp-buffer' and set as unibyte.
8923         (ldap-search-basic): Set process buffer as unibyte.
8924
8925         * elmo-util.el (elmo-folder-identical-system-p):
8926         Eliminated name space checking.
8927
8928         * pldap.el: New module.
8929         toplevel: Changed condition to detect built-in ldap feature.
8930         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8931         (ldap-add): Added error handling.
8932         (ldap-modify): Ditto.
8933         (ldap-delete): Ditto.
8934
8935 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8936
8937         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8938         Initialize local variables with `let'.  Inline a temporary
8939         variable for the progress percentage.  Sort `setq' to reduce
8940         function call in the while-loop.
8941
8942         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8943         into the conditional branch.
8944
8945 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8946
8947         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8948         Move a conditional out of the while-loop.
8949
8950 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8951
8952         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8953         elmo-msgdb-overview-get-entity-by-number.
8954         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8955         throw.
8956
8957 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8958
8959         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8960         the local variable for a packed number self descriptively.
8961
8962 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8963
8964         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8965         * elmo-localdir.el (elmo-localdir-pack-number): Use
8966         `elmo-msgdb-overview-get-entity' instead of
8967         `elmo-msgdb-overview-get-entity-by-number'.
8968         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8969         (elmo-msgdb-search-overview-entity): Removed.
8970         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8971         by message-id or number.
8972         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8973         instead of `elmo-msgdb-overview-get-entity-by-number'.
8974
8975 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8976
8977         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8978         non-nil, use hash table for overview.
8979         (elmo-hash-maximum-size): New variable.
8980         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8981         (elmo-msgdb-make-overview-hashtb): New function.
8982         (elmo-msgdb-clear-overview-hashtb): New function.
8983         (elmo-clear-hash-val): New macro.
8984         All other related modules are changed.
8985
8986 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8987
8988         * elmo2.el (elmo-move-msgs): If there's other message with
8989         same message-id, don't use cache.
8990
8991 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8992
8993         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8994         number is already packed.
8995
8996 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8997
8998         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8999
9000 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9001
9002         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9003         All other related modules are changed.
9004
9005 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9006
9007         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9008         of refiling failure on Maildir.
9009
9010 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9011
9012         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9013         decoded mime-charset with cache.
9014         (elmo-msgdb-overview-entity-get-from): Ditto.
9015         (elmo-msgdb-overview-entity-get-subject): Ditto.
9016         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9017
9018 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9019
9020         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9021         (elmo-remove-passwd): Fill password with 0 before erase.
9022         * elmo-vars.el (elmo-passwd-life-time): New variable.
9023
9024 \f
9025 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9026
9027         * elmo-cache.el (elmo-buffer-cache-add):
9028         Set message cache buffer as unibyte.
9029
9030 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9031
9032         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9033         become nil.
9034
9035 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9036
9037         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9038         when display is finished.
9039         (elmo-nntp-msgdb-create): Ditto.
9040         (elmo-nntp-groups-read-response): Ditto.
9041         (elmo-nntp-retrieve-headers): Ditto.
9042         (elmo-nntp-msgdb-create-message): Ditto.
9043         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9044         (elmo-pop3-msgdb-create-message): Ditto.
9045
9046 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9047
9048         * elmo-maildir.el (elmo-maildir-msgdb-create):
9049         Use `elmo-msgdb-sort-by-date'.
9050
9051 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9052
9053         * elmo2.el (elmo-read-msg-no-cache):
9054         Eliminated arguments after `outbuf'.
9055         Don't use cache even if it exists.
9056         (elmo-read-msg): Don't pass arguments after `outbuf' to
9057         `elmo-read-msg-no-cache'.
9058
9059 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9060
9061         * elmo-archive.el (elmo-archive-list-folders):
9062         Use `file-name-directory' if base folder does not exist.
9063
9064 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9065
9066         * elmo-archive.el (elmo-archive-list-folders): Don't use
9067         `file-name-directory'.
9068
9069 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9070
9071         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9072         If `force' is non-nil, try flushing all operation queues.
9073
9074 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9075
9076         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9077         as-binary-process.
9078
9079 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9080
9081         * elmo-util.el (elmo-display-progress): Fixed.
9082
9083 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9084
9085         * elmo-util.el (elmo-display-progress): New function.
9086         All other related modules are changed.