Update.
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
2
3         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
4         Make it interactive.
5
6 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7
8         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
9         (elmo-imap4-send-command): Use it.
10         (elmo-network-initialize-session): Ditto.
11         (elmo-network-setup-session): Ditto.
12         (elmo-folder-msgdb-create-plugged): Ditto.
13
14 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
15
16         * elmo-util.el (elmo-progress-done): Fix a miss refer to
17         `elmo-progress-counter'.
18
19 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
20
21         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
22         (elsp-bsfilter-list-spam-filter): New function.
23         (elsp-bsfilter-start-list-spam): Ditto.
24         (elsp-bsfilter-read-list-spam): Ditto.
25         (elmo-spam-list-spam-messages): Use async process to display
26         progress message by each message.
27
28 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
29
30         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
31         of flushing previously inserted message contents.
32
33         * elmo-imap4.el (elmo-folder-search): Fix return value.
34
35 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
36
37         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
38         of reporter is enable or not.
39
40 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
41
42         * elmo-util.el (elmo-list-bigger-diff): Abolish.
43         (elmo-display-progress): Ditto.
44         (elmo-progress-counter-alist): Ditto.
45         (elmo-progress-set): Ditto.
46         (elmo-progress-clear): Ditto.
47         (elmo-progress-counter-all-value): Rename to
48         `elmo-progress-counter-total'.
49         (elmo-progress-counter-format): Rename to
50         `elmo-progress-counter-action'.
51         (elmo-progress-counter): New internal variable.
52         (elmo-progress-callback-function): Ditto.
53         (elmo-progress-counter-label): New function.
54         (elmo-progress-counter-set-total): Ditto.
55         (elmo-progress-counter-set-action): Ditto.
56         (elmo-progress-call-callback): Ditto.
57         (elmo-progress-start): Ditto.
58         (elmo-progress-done): Ditto.
59         (elmo-progress-notify): Rewrite.
60         (elmo-with-progress-display): Remove first argument
61         `condition'. Add optional argument `var' in `spec'.
62
63         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
64         (elmo-display-retrieval-progress-threshold): Ditto.
65         (elmo-inhibit-display-retrieval-progress): Ditto.
66
67         * Replace all pair of `elmo-progress-set' and
68         `elmo-progress-clear' into `elmo-with-progress-display'.
69
70         * Replace to call `elmo-display-progress' into pair of
71         `elmo-progress-notify' and `elmo-with-progress-display'.
72
73         * elmo-version.el (elmo-version): Up to 2.15.5.
74
75 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
76
77         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
78         `cond'.
79
80 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
81
82         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
83         cleanup-forms [wl:14027].
84
85 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
86
87         * elmo-flag.el (elmo-global-flag-set-internal): Use
88         `elmo-copy-file' by priority when the message is a file.
89
90 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
91
92         * elmo.el: Fix typo: disptch -> dispatch.
93
94 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
95
96         * elmo.el (elmo-file-tag): New class.
97         (elmo-append-messages-disptch-table): New constant.
98         (elmo-folder-type-p): New function.
99         (elmo-folder-append-messages): Redefine as function.
100
101         * elmo-null.el (elmo-folder-append-messages): Renamed from
102         `elmo-folder-append-messages'.
103
104         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
105         (elmo-folder-append-messages-*-maildir): Renamed from
106         `elmo-folder-append-messages'.
107
108         * elmo-localdir.el (elmo-localdir-folder): Inherit
109         `elmo-file-tag'.
110         (elmo-folder-append-messages-*-localdir): Renamed from
111         `elmo-folder-append-messages'.
112
113         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
114         from `elmo-folder-append-messages'.
115
116         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
117         `elmo-folder-append-messages'.
118
119         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
120         function.
121         (elmo-folder-append-messages-*-filter): Ditto.
122
123         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
124
125         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
126         (elmo-folder-append-messages-*-pipe): Renamed from
127         `elmo-folder-append-messages'.
128
129         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
130
131         * elmo-file.el (elmo-file-folder): Ditto.
132
133         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
134
135         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
136         from `elmo-folder-append-messages'
137
138 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
139
140         * elmo-map.el (elmo-location-map-setup): Change an argument
141         `locations' to optional.
142         (elmo-location-map-clear): Abolish.
143         (elmo-folder-clear): Follow the API change.
144
145         * elmo-pop3.el (elmo-folder-clear): Ditto.
146
147         * elmo-pop3.el (toplevel): Require elmo-map.
148         (elmo-pop3-folder): Inherit elmo-location-map and abolish
149         location-alist slot (All other related portions are changed).
150         (elmo-pop3-folder-use-uidl): New function.
151         (elmo-folder-msgdb-create): Don't sort message entities.
152         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
153         (elmo-pop3-number-to-size): Convert return value to number.
154         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
155         working buffer.
156
157         * elmo-map.el: Use `location-map' as a variable name for instance
158         instead of `mapper'.
159         (elmo-location-map-setup): Return location alist.
160         (elmo-location-map-update): Ditto.
161
162 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
163
164         * elmo-map.el (elmo-location-map): New class; split location and
165         number mapping from elmo-map-folder (All other related portions
166         are changed).
167
168         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
169         change.
170
171         * elmo-version.el (elmo-version): Up to 2.15.4.
172
173 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
174
175         * elmo-vars.el (elmo-use-hardlink): New user option.
176
177         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
178         `elmo-use-hardlink'.
179
180         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
181         killed-list.
182         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
183         instead of `*-internal'. Use `elmo-with-progress-display'.
184
185 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
186
187         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
188         `elmo-spam-process-messages-as-mbox'.
189
190         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
191
192 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
193
194         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
195         argument BUFFER of `call-process'.
196
197 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
198
199         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
200         args.
201         (elsp-bsfilter-list-spam-files): Ditto.
202
203 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
204
205         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
206         (elmo-spam-bsfilter-max-messages-per-process): New use option.
207         (elmo-spam-bsfilter-debug): Fix a group.
208         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
209         `--homedir'.
210         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
211         (elsp-bsfilter-list-spam-files): New function.
212         (elmo-spam-list-spam-messages): Define.
213         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
214         (elmo-spam-bsfilter-register-messages): New function.
215         (elmo-spam-register-spam-messages): Define.
216         (elmo-spam-register-good-messages): Ditto.
217
218         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
219
220         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
221         `nconc' and `consp'.
222
223 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
224
225         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
226         hash table to test whether a location is exists.
227
228 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
229
230         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
231         even if some error occurred.
232
233         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
234         meaningless unwind-protect.
235
236         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
237         start-number correctly.
238         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
239         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
240
241 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
242
243         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
244         (elmo-folder-initialize): Use it.
245         (elmo-global-flag-replace-referrer): New function.
246
247         * elmo.el (toplevel): Added autoload setting for
248         `elmo-global-flag-replace-referrer'.
249         (elmo-folder-rename): Rewrite the last change use
250         `elmo-global-flag-replace-referrer'.
251
252         * elmo-pipe.el (elmo-folder-rename): Call
253         `elmo-global-flag-replace-referrer'.
254
255 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
256
257         * elmo.el (elmo-folder-rename): Set meta data for global flags
258         follow the rename.
259
260 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
261
262         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
263         as 'not-loaded.
264         (elmo-folder-close): Ditto.
265         (elmo-filter-folder-number-list-loaded-p): New function.
266         (elmo-filter-folder-number-list): Check whether loaded or not.
267         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
268         of `elmo-filter-folder-number-list-internal'.
269         (elmo-folder-delete-messages): Ditto.
270         (elmo-folder-length): Check whether number-list is loaded or not.
271
272 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
273
274         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
275         field `real field' into each element of list.
276         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
277         (elmo-msgdb-message-entity-field): Ditto.
278         (modb-entity-ml-info-real-fields): New function.
279
280         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
281
282         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
283         `elmo-msgdb-extra-fields'.
284
285 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
286
287         * elmo-util.el (elmo-passwd-alist-load): Move point to min
288         position before read.
289
290 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
291
292         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
293         (elmo-global-flags-initialize): Ditto.
294
295 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
296
297         * elmo-archive.el (toplevel): Don't require emu, std11
298         and elmo-localdir.
299
300         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
301         definition.
302
303 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
304
305         * elmo.el (elmo-folder-confirm-appends): Display folder name.
306
307 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
308
309         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
310         literals.
311
312 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
313
314         * elmo-maildir.el (elmo-maildir-list-location): Reduce
315         `elmo-get-last-modification-time' call.
316
317 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
318
319         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
320         expression.
321         (elmo-maildir-set-mark): Ditto.
322         (elmo-maildir-delete-mark): Ditto.
323
324 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
325
326         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
327         optional argument `separators'.
328
329 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
330
331         * elmo.el (cache-changed): Abolish.
332         (status-changed): New signal.
333         (elmo-message-killed-p): New generic function and define for
334         elmo-folder.
335         (elmo-folder-recover-messages): Ditto.
336         (elmo-message-set-cached): Emit signal `status-changed' instead of
337         `cache-changed'.
338         (elmo-message-status): New macro.
339         (elmo-message-status-folder): Ditto.
340         (elmo-message-status-number): Ditto.
341         (elmo-message-status-set-flags): Ditto.
342         (elmo-message-status-set-killed): Ditto.
343         (elmo-message-status-flags): New function.
344         (elmo-message-status-cached-p): Ditto.
345         (elmo-message-status-killed-p): Ditto.
346
347         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
348         `status-changed' instead of `cache-changed'.
349         (elmo-folder-recover-messages): Define.
350         (elmo-message-killed-p): Ditto.
351
352         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
353         `status-changed' instead of `cache-changed'.
354
355         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
356         (elmo-message-killed-p): Define.
357         (elmo-folder-recover-messages): Ditto.
358
359         * elmo-version.el (elmo-version): Up to 2.15.3.
360
361 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
362
363         * elmo-signal.el (elmo-signal-bindings): Use cons to append
364         element into list.
365         (elmo-define-signal-handler): Add docstring.
366         (elmo-define-signal-filter): Ditto.
367
368         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
369
370 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
371
372         * elmo-util.el (elmo-flatten): Don't use recursive call.
373
374         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
375         assignment.
376         (elmo-folder-message-make-temp-files): Use `number-to-string'
377         instead of `int-to-string'.
378
379 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
380
381         * elmo-search.el (elmo-folder-delete-messages): Define.
382
383 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
384
385         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
386         customization type.
387         (elmo-mailing-list-count-spec-list): Ditto.
388
389         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
390         for `list-id'.
391
392 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
393
394         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
395         handling.
396
397 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
398
399         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
400         (elmo-mailing-list-count-spec-list): Ditto.
401
402         * elmo-util.el (elmo-map-until-success): New function.
403         (elmo-string-match-substring): Ditto.
404         (elmo-find-list-match-value): Ditto.
405
406         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
407         Removed.
408         (modb-entity-extract-ml-info-from-subject): Ditto.
409         (modb-entity-extract-ml-info-from-return-path): Ditto.
410         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
411         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
412         (modb-entity-extract-ml-info-from-mailman): Ditto.
413         (modb-entity-extract-mailing-list-info-functions): Ditto.
414         (modb-entity-extract-mailing-list-info): Rewrite with
415         `elmo-find-list-match-value'.
416
417 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
418
419         * elmo-net.el (elmo-network-session-retry-count): New user option.
420         (elmo-network-session-buffer-name): New internal function.
421         (elmo-network-session-buffer-create): Ditto.
422         (elmo-network-open-session): Retry open network session
423         `elmo-network-session-retry-count' times.
424
425 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
426
427         * elmo-util.el (elmo-list-filter): Rewritten.
428
429 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
430
431         * elmo-util.el (elmo-string-member): Allow symbol element in list.
432
433 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
434
435         * elmo-search.el (elmo-make-search-engine): Use prefix
436         `elmo-search-' for require symbol instead of `else-'.
437         (elmo-search-engine-extprog): New class.
438         (elmo-search-engine-do-search): Remove nil from argument
439         list. Added argument pattern to evaluate element as function.
440         (elmo-search-engine-local-file): Derived from
441         `elmo-search-engine-extprog'.
442         (elmo-search-engine-create-message-entity): Check existance of file.
443         (elmo-search-engine-fetch-message): Ditto.
444         (elmo-search-namazu-index): Follow the API change.
445         (elmo-search-grep-target): Ditto.
446
447 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
448
449         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
450         characters of working buffer.
451
452         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
453         Does not bind `default-mime-charset'.
454         (elmo-msgdb-create-message-entity-from-buffer): Removed
455         unnecessary local bind.
456
457         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
458         function.
459         (modb-entity-extract-mailing-list-info-functions): Added it.
460
461 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
462
463         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
464         when number and message-id are non-nil.
465
466         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
467
468         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
469         conditional steatment.
470         (elmo-pop3-auth-apop): Likewise.
471         (elmo-network-authenticate-session): Likewise.
472
473 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
474
475         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
476         symbol `fill-column'.
477         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
478         decode field value.
479
480         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
481         (elmo-decoded-field-body): Ditto.
482
483 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
484
485         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
486         `tokens' to `params'.
487
488 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
489
490         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
491         working buffer.
492
493 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
494
495         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
496         decide index.
497
498 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
499
500         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
501         Set default value as nil.
502         (toplevel): Register search engines by
503         `elmo-search-register-engine' if there are not defined.
504
505         * elmo.el (autoload): Added autoload setting for
506         `elmo-search-register-engine'.
507
508 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
509
510         * elmo.el (toplevel): `[' is redefined as the prefix of the search
511         folder instead of nmz folder.
512         (elmo-nmz-default-index-path): Added obsolete variable setting.
513         (elmo-nmz-index-alias-alist): Ditto.
514         (elmo-nmz-use-drive-letter): Ditto.
515
516         * elmo-search.el (elmo-search-register-engine): New function.
517
518         * elmo-nmz.el: Removed.
519
520         * elmo-version.el (elmo-version): Up to 2.15.2.
521
522 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
523
524         * elmo-search.el: New file.
525
526 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
527
528         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
529         condition `larger' and `smaller'.
530
531 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
532
533         * elmo-util.el (elmo-safe-filename): Rewrite to replace
534         `"' (double quote) into "_Q_".
535
536 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
537
538         * elmo-net.el (elmo-net-quote-chars): Abolish.
539         (elmo-net-format-quoted): Ditto.
540
541 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
542
543         * elmo.el (elmo-get-folder-function): New variable.
544         (elmo-get-folder): New function.
545         (elmo-folder-rename): Call `elmo-make-folder' with specified
546         mime-charset.
547
548         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
549         `elmo-make-folder'.
550         (elmo-split-subr): Ditto.
551
552         * elmo-multi.el (elmo-folder-initialize): Ditto.
553
554         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
555
556         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
557         (elmo-flag-get-folder): Ditto.
558
559         * elmo-filter.el (elmo-folder-initialize): Ditto.
560
561         * elmo-access.el (elmo-folder-initialize): Ditto.
562         (elmo-access-folder-update-children): Ditto.
563
564         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
565         (elmo-dop-queue-flush): Ditto.
566         (elmo-folder-append-buffer-dop-delayed): Ditto.
567         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
568         mime-charset.
569
570         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
571         instead of `elmo-make-folder'.
572         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
573         destination folder instead of send `elmo-folder-rename-internal'.
574
575         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
576         slot of subfolder instead of create it.
577
578 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
579
580         * elmo-util.el (elmo-collect-separators): New function.
581         (elmo-collect-separators-internal): Ditto.
582         (elmo-collect-trail-separators): Ditto.
583         (elmo-parse-separated-tokens): Ditto.
584         (elmo-parse-separated-tokens-internal): Ditto.
585         (elmo-quote-syntactical-element): Ditto.
586
587         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
588         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
589
590         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
591         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
592         (elmo-nntp-folder-list-subfolders): Quote a user name.
593
594         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
595         (elmo-net-parse-network): Abolish.
596         (elmo-net-folder-set-parameters): New function.
597         (elmo-folder-initialize): Follow the above change.
598
599         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
600         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
601         (elmo-folder-list-subfolders): Use
602         `elmo-quote-syntactical-element' instead of
603         `elmo-net-format-quoted' to quote mailbox and user name.
604
605 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
606
607         * elmo-util.el (elmo-token-valid-p): New function.
608         (elmo-parse-token): Add optional argument `requirement'.
609         (elmo-parse-prefixed-element): Likewise.
610
611         * elmo-net.el (elmo-net-quote-chars): Renamed from
612         `elmo-net-quote-chars-regexp'.
613         (elmo-net-format-quoted): Add optional argument `extra-chars'.
614
615         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
616         by info document. Check token `uidl' is started an alphabet.
617
618         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
619         by info document. Check token `user' is started an alphabet.
620
621         * elmo-imap4.el (elmo-folder-initialize): Ditto.
622         (elmo-folder-list-subfolders): Quote user.
623
624 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
625
626         * elmo-util.el (elmo-quoted-specials-list): New constant.
627         (elmo-quoted-token): New function.
628
629         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
630         (elmo-net-format-quoted): New function.
631         (elmo-net-parse-network): Ditto.
632         (elmo-folder-initialize): Use it.
633
634         * elmo-nntp.el (elmo-folder-initialize): Use
635         `elmo-net-parse-network' to parse network specification instead of
636         `elmo-folder-initialize#elmo-net'.
637
638         * elmo-pop3.el (elmo-folder-initialize): Ditto.
639
640         * elmo-imap4.el (elmo-folder-initialize): Ditto.
641         (elmo-folder-list-subfolders): Quote folder name by
642         `elmo-net-format-quoted'.
643
644 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
645
646         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
647         (elmo-folder-search): Use it.
648
649 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
650
651         * modb-standard.el (modb-standard-loaded-message-id): Use
652         `elmo-msgdb-message-entity-field'.
653
654 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
655
656         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
657         without filename.
658
659 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
660
661         * elmo-util.el (elmo-set-auto-coding): New function.
662         (elmo-object-load): Use it.
663
664 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
665
666         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
667         (elmo-time<): Define as alias of `elmo-time-less-p'.
668         (elmo-time-to-datevec): New function.
669
670         * elmo-date.el (elmo-time-to-days): New function.
671
672 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
673
674         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
675         is not cons cell.
676
677 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
678
679         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
680         parenthesis.
681
682         * elmo-util.el (elmo-map-recursive): New function.
683
684         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
685         (modb-entity-encode-string-recursive): Ditto.
686
687 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
688
689         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
690         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
691         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
692         compare sequence number when last modified time is nil.
693
694 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
695
696         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
697
698         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
699
700 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
701
702         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
703         modification time of the file.
704
705 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
706
707         * elmo-util.el (elmo-condition-optimize): Discriminated against
708         preserved fields, extra fields and the other weight.
709
710 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
711
712         * modb-entity.el (initialize-instance): Define.
713         (modb-entity-handler-mime-charset): New internal function.
714         (modb-standard-entity-set-field): Use it.
715         (elmo-msgdb-message-entity-field): Ditto.
716         (elmo-msgdb-message-entity-field): Ditto.
717
718         * modb.el (elmo-msgdb-match-condition): Rewrite with
719         `elmo-condition-match'.
720         (elmo-msgdb-match-condition-primitive): New function.
721
722         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
723         arguments `flags' and `numbers'.
724         (elmo-msgdb-match-condition-primitive): Abolished (merged to
725         `elmo-msgdb-message-match-condition').
726         (modb-buffer-entity-handler): New class.
727
728         * elmo.el (elmo-folder-search): Optimize condition to use
729         `elmo-condition-optimize'.
730         (elmo-message-buffer-match-condition): New function.
731         (elmo-message-match-condition): Use
732         `elmo-message-buffer-match-condition' instead of
733         `elmo-buffer-field-condition-match'.
734
735         * elmo-util.el (elmo-condition-match): New function.
736         (elmo-condition-optimize): Ditto.
737         (elmo-buffer-field-primitive-condition-match): Abolish.
738         (elmo-buffer-field-condition-match): Ditto.
739
740         * elmo-archive.el (elmo-archive-field-condition-match): Use
741         `elmo-message-buffer-match-condition' instead of
742         `elmo-buffer-field-condition-match'.
743
744 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
745
746         * elmo-flag.el (elmo-global-flags-initialize): Check the
747         existence of the flag directory.
748
749 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
750
751         * elmo-access.el (elmo-folder-initialize): Call
752         `elmo-multi-connect-signals'.
753
754         * elmo-pipe.el (elmo-folder-close): Define.
755
756         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
757         children folders.
758
759         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
760         with target folder.
761
762         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
763         `number'.
764
765         * elmo-multi.el (elmo-message-entity): Don't use return value of
766         `elmo-message-entity-set-number'.
767
768 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
769
770         * modb.el (modb-generic): Added slot `mime-charset'.
771
772         * modb-standard.el (modb-standard): Added slot `overview-handler'.
773         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
774         and `modb-entity-handler-dump-parameters'.
775         (modb-standard-default-entity-handler): Abolish.
776         (elmo-msgdb-message-entity-handler): Save created handler by
777         instance slot.
778
779         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
780         (modb-entity-handler-list-parameters): New method.
781         (modb-entity-handler-equal-p): New function.
782         (modb-entity-handler-dump-parameters): Ditto.
783         (modb-entity-parse-address-string): Encode return value.
784         (modb-entity-make-address-string): Decode argument value.
785         (modb-entity-decode-string-recursive): New function.
786         (modb-entity-encode-string-recursive): Ditto.
787         (modb-standard-entity-normalizer): Set to encode field value.
788         (modb-standard-entity-specializer): Follow the above change.
789         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
790         mime-charset of handler.
791         (elmo-msgdb-message-entity-field): Ditto.
792         (elmo-msgdb-copy-message-entity): Fixed reference to internal
793         structure.
794         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
795
796         * elmo.el (elmo-folder): Added slot `mime-charset'.
797         (elmo-make-folder): Added argument `mime-charset'.
798         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
799         `mime-charest'.
800
801         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
802         (elmo-make-msgdb): Likewise.
803
804         * elmo-internal.el (elmo-internal-folder-initialize): Call
805         `luna-make-entity' with :mime-charset parameter.
806
807 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
808
809         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
810         encoded words in `from' and `subject' field.
811
812 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
813
814         * modb.el (elmo-msgdb-message-field): Add argument `type'.
815         (elmo-msgdb-match-condition): Get handler from entity instead of
816         msgdb.
817
818         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
819         (modb-standard-load-entity): Treat new file format.
820         (modb-standard-save-entity-1): Save as new file format.
821         (modb-standard-save-entity): Split messages into section here.
822         (elmo-msgdb-message-field): Follow the API change.
823         (modb-standard-default-entity-handler): New internal variable.
824         (elmo-msgdb-message-entity-handler): Define.
825
826         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
827         to `elmo-vars.el'.
828         (modb-entity-field-extractor-alist): New user option.
829         (elmo-msgdb-message-entity-field): Removed argument `decode' and
830         added argument `type'.
831         (elmo-msgdb-copy-message-entity): Add optional argument
832         `make-handler'.
833         (modb-set-field-converter): New function.
834         (modb-convert-field-value): Ditto.
835         (modb-entity-string-decoder): Ditto.
836         (modb-entity-string-encoder): Ditto.
837         (modb-entity-parse-date-string): Ditto.
838         (modb-entity-make-date-string): Ditto.
839         (modb-entity-mime-decoder): Ditto.
840         (modb-entity-mime-encoder): Ditto.
841         (modb-entity-address-list-decoder): Ditto.
842         (modb-entity-address-list-encoder): Ditto.
843         (modb-entity-parse-address-string): Ditto.
844         (modb-entity-make-address-string): Ditto.
845         (modb-entity-create-field-indices): Ditto.
846         (modb-legacy-entity-field-slots): New constant.
847         (modb-legacy-entity-field-indices): Ditto.
848         (modb-legacy-entity-normalizer): New variable.
849         (modb-legacy-entity-specializer): Ditto.
850         (modb-legacy-entity-field-index): New macro.
851         (modb-legacy-entity-set-field): New function.
852         (modb-legacy-make-message-entity): Rewrite.
853         (elmo-msgdb-create-message-entity-from-buffer): Use
854         `elmo-msgdb-get-references-from-buffer'. Use
855         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
856         Use `modb-legacy-entity-set-field' instead of
857         `elmo-msgdb-message-entity-set-field'.
858         (elmo-msgdb-message-entity-field): Rewrite.
859         (elmo-msgdb-message-entity-set-field): Ditto.
860         (elmo-msgdb-copy-message-entity): Make new entity by
861         `make-handler' if it specified.
862         (elmo-msgdb-message-match-condition): Define a method of
863         `modb-entity-handler' and follow the API change.
864         (modb-standard-entity-handler): New class.
865         (modb-entity-extract-ml-info-from-x-sequence): New function.
866         (modb-entity-extract-ml-info-from-subject): Ditto.
867         (modb-entity-extract-ml-info-from-return-path): Ditto.
868         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
869         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
870         (modb-entity-extract-mailing-list-info): Ditto.
871         (modb-entity-extract-mailing-list-info-functions): New variable.
872
873         * elmo.el (elmo-message-field): Add optional argument `type'.
874
875         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
876         from `modb-entity.el'.
877
878         * elmo-util.el (elmo-object-load): Decode by coding-system from
879         `set-auto-coding-function'.
880         (elmo-object-save): Use `detect-mime-charset-region' and add
881         coding cookie if encode.
882         (elmo-msgdb-get-references-from-buffer): New function.
883         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
884
885         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
886
887         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
888         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
889         instead of `shimbun-make-header' and follow the API change.
890         (elmo-shimbun-update-overview): Follow the API change.
891         (elmo-map-folder-list-message-locations): Ditto.
892
893         * elmo-pipe.el (elmo-message-field): Ditto.
894
895         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
896         Ditto.
897
898         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
899
900         * elmo-multi.el (elmo-message-field): Ditto.
901
902         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
903         (elmo-msgdb-sort-by-date): Ditto.
904         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
905         `elmo-message-entity-field'.
906         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
907         change.
908         (elmo-msgdb-overview-entity-get-from): Ditto.
909         (elmo-msgdb-overview-entity-get-subject): Ditto.
910         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
911         (elmo-msgdb-overview-entity-get-date): Ditto.
912         (elmo-msgdb-overview-entity-get-to): Ditto.
913         (elmo-msgdb-overview-entity-get-cc): Ditto.
914
915         * elmo-mime.el (elmo-message-mime-entity): Ditto.
916         (elmo-mime-collect-message/partial-pieces): Ditto.
917
918         * elmo-filter.el (elmo-message-field): Ditto.
919
920         * elmo-date.el (elmo-datevec-to-time): New function.
921         (elmo-time-parse-date-string): Ditto.
922         (elmo-time-make-date-string): Ditto.
923         (elmo-time<): Ditto.
924
925         * elmo-version.el (elmo-version): Up to 2.15.1.
926
927 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
928
929         * elmo-flag.el (elmo-global-flags-initialize): Don't include
930         member of elmo-local-flags.
931
932 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
933
934         * elmo-version.el (elmo-version): Up to 2.15.0.
935
936 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
937
938         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
939         `ignore-msgdb' is non-nil.
940
941 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
942
943         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
944         (elmo-condition-in-msgdb-p): Ditto.
945         (elmo-file-field-primitive-condition-match): Ditto.
946         (elmo-file-field-condition-match): Ditto.
947
948         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
949
950 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
951
952         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
953         subdirectories here.
954         (elmo-global-flags-initialize): New function.
955
956         * elmo.el (toplevel): Added autoload setting for
957         `elmo-global-flags-initialize'.
958
959 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
960
961         * elmo.el (message-number-changed): Define new signal.
962         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
963         message-number-changed signal.
964         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
965         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
966         Respect `elmo-pack-number-check-strict'.
967
968 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
969
970         * elmo-signal.el (elmo-connect-signal): Document.
971         (elmo-emit-signal): Ditto.
972         (elmo-emit-signal): It should pass source argument to filter and
973         handler, not slot-source.
974
975 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
976
977         * modb.el (elmo-msgdb-update-entity): New API and define generic
978         implement.
979
980         * modb-standard.el (elmo-msgdb-update-entity): Define.
981
982         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
983         API and define generic implement.
984
985         * elmo.el (update-overview): New singnal.
986
987         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
988         `elmo-msgdb-update-entity' and emit signal `update-overview'.
989         (elmo-message-entity-parent): Define.
990
991         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
992         `update-overview'.
993
994         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
995
996         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
997
998 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
999
1000         * elmo.el (elmo-folder-synchronize): Sort the return value of
1001         `elmo-list-diff'.
1002
1003         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1004         list.
1005
1006 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1007
1008         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1009         `default-enable-multibyte-characters'.
1010         (elmo-object-load): Use `with-temp-buffer' instead of
1011         `elmo-set-work-buf'.
1012         (elmo-object-save): Ditto.
1013         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1014         `elmo-set-work-buf'.
1015         (elmo-decoded-field-body): Ditto.
1016
1017         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1018
1019         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1020         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1021
1022         * elmo-version.el (elmo-version): Up to 2.13.3.
1023
1024 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1025
1026         * elmo-util.el (elmo-list-diff): Fix the last change.
1027         Reverse order of result lists.
1028
1029 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1030
1031         * modb-standard.el (elmo-msgdb-set-flag): Use
1032         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1033         (elmo-msgdb-unset-flag): Ditto.
1034
1035         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1036         `elmo-list-diff'.
1037
1038         * elmo-util.el (elmo-list-diff): Rewrite.
1039         (elmo-list-diff-nonsortable): New function.
1040
1041 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1042
1043         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1044         `elmo-multibypte-buffer-name'.  All referers are updated.
1045
1046 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1047
1048         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1049         (elmo-mime-entity-fragment-p): New function.
1050         (mime-elmo-buffer-entity): Added slot `reassembled'.
1051         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1052         (elmo-message-mime-entity-internal): New function (renamed from
1053         `elmo-message-mime-entity').
1054         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1055         (elmo-mime-make-reassembled-mime-entity): New function.
1056         (elmo-message-reassembled-mime-entity): Ditto.
1057         (elmo-mime-collect-message/partial-pieces): Ditto.
1058
1059 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1060
1061         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1062
1063         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1064         (elmo-with-enable-multibyte): New macro.
1065
1066         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1067
1068 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1069
1070         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1071         argument `number'.
1072         (elmo-filter-connect-signals): Follow the above change.
1073
1074 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1075
1076         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1077
1078         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1079         that only the first flag is used.
1080
1081 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1082
1083         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1084         if available.
1085
1086 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1087
1088         * elmo-signal.el: New file.
1089
1090         * elmo.el (toplevel): Require elmo-signal.
1091         (flag-changing, flag-changed, cache-changed): New signal.
1092         (elmo-folder): Remove slog `handlers'.
1093         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1094         `elmo-folder-notify-event'.
1095         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1096         (elmo-folder-unset-flag): Ditto.
1097         (elmo-event-handler): Abolish.
1098         (elmo-event-handler-flag-changed): Ditto.
1099         (elmo-event-handler-cache-changed): Ditto.
1100         (elmo-folder-add-handler): Ditto.
1101         (elmo-folder-remove-handler): Ditto.
1102         (elmo-folder-notify-event): Ditto.
1103
1104         * elmo-pipe.el (toplevel): Require elmo-signal.
1105         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1106         (elmo-pipe-connect-signals): New function.
1107         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1108         (elmo-folder-set-flag): Ditto.
1109         (elmo-folder-unset-flag): Ditto.
1110         (elmo-message-set-cached): Ditto.
1111
1112         * elmo-multi.el (toplevel): Require elmo-signal.
1113         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1114         (elmo-multi-connect-signals): New function.
1115         (elmo-multi-map-numbers): Ditto.
1116         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1117         (elmo-message-fetch): Ditto.
1118         (elmo-folder-set-flag): Ditto.
1119         (elmo-folder-unset-flag): Ditto.
1120
1121         * elmo-filter.el (toplevel): Require elmo-signal.
1122         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1123         (elmo-filter-connect-signals): New function.
1124         (elmo-filter-add-flag-count): Ditto.
1125         (elmo-message-fetch): Does not call
1126         `elmo-filter-folder-countup-message-flags' and
1127         `elmo-folder-notify-event'.
1128         (elmo-message-set-cached): Ditto.
1129         (elmo-folder-set-flag): Ditto.
1130         (elmo-folder-unset-flag): Ditto.
1131
1132         * elmo-version.el (elmo-version): Up to 2.13.2.
1133
1134 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1135
1136         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1137         `flags'.
1138
1139 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1140
1141         * elmo-filter.el (elmo-message-set-cached): Call
1142         `elmo-folder-notify-event' with event `cache-changed'.
1143
1144         * elmo-multi.el (elmo-message-set-cached): Ditto.
1145
1146         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1147
1148 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1149
1150         * elmo.el (elmo-folder-encache): Abolish.
1151
1152 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1153
1154         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1155         (elmo-folder-next-message-number-dop): Return appropriate negative
1156         integer.
1157
1158 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1159
1160         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1161         clearing pending operations.
1162         (elmo-folder-next-message-number-dop): Return appropriate negative
1163         integer.
1164
1165 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1166
1167         * elmo.el (toplevel): Added autoload setting for `md5'.
1168         (elmo-msgdb-path-encode-threshold): New user option.
1169         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1170         longer than `elmo-msgdb-path-encode-threshold'.
1171
1172         * elmo-flag.el (elmo-global-mark-migrate): Use
1173         `elmo-folder-expand-msgdb-path' instead of
1174         `elmo-folder-msgdb-path'.
1175
1176 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1177
1178         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1179         element of the difference is nil.
1180
1181 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1182
1183         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1184         to the check logic of file systems which are weak in colon character.
1185
1186 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1187
1188         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1189
1190 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1191
1192         * elmo-maildir.el (elmo-maildir-move-file): New function.
1193         (elmo-folder-append-buffer): Use it.
1194         (elmo-folder-append-messages): Ditto.
1195         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1196
1197         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1198         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1199
1200         * elmo-maildir.el (elmo-maildir-separator): New user option.
1201         (elmo-maildir-adjust-separator): New macro.
1202         (elmo-maildir-list-location): Use it.
1203         (elmo-maildir-update-current): Ditto.
1204         (elmo-maildir-set-mark): Ditto.
1205         (elmo-maildir-delete-mark): Ditto.
1206         (These changes are based on Hiroya Murata's patch [wl: 13437])
1207
1208 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1209
1210         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1211
1212 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1213
1214         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1215         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1216         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1217
1218 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1219
1220         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1221         Use `with-temp-buffer'.
1222
1223 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1224
1225         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1226
1227         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1228         `wl-read-search-condition').
1229         (elmo-read-search-condition-internal): Likewise.
1230
1231         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1232         (elmo-flag-valid-p): New function.
1233         (elmo-folder-initialize): Check flag name is valid.
1234
1235 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1236
1237         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1238         delimiter to obtain root mailbox itself.
1239
1240 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1241
1242         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1243         type mismatch.
1244
1245 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1246
1247         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1248         as t.
1249
1250 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1251
1252         * elmo-shimbun.el (toplevel): Require cl at compile.
1253
1254         * elmo-nntp.el (toplevel): Ditto.
1255
1256         * elmo-nmz.el (toplevel): Ditto.
1257
1258         * elmo-multi.el (toplevel): Ditto.
1259
1260         * elmo-file.el (toplevel): Ditto.
1261
1262         * elmo-dop.el (toplevel): Ditto.
1263
1264         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1265
1266 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1267
1268         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1269         as nil.
1270
1271         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1272         size of elmo-message-fetch-internal is 0 byte.
1273
1274 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1275
1276         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1277
1278 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1279
1280         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1281         always plugged.
1282
1283 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1284
1285         * elmo-maildir.el (elmo-map-message-fetch): Call
1286         `elmo-map-folder-set-flag'.
1287
1288         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1289         (elmo-message-fetch): Merge from
1290         `elmo-message-fetch-with-cache-process'.
1291
1292         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1293         (elmo-message-fetch): Define.
1294
1295         * elmo-nntp.el (elmo-message-fetch): Renamed from
1296         `elmo-message-fetch-with-cache-process'.
1297
1298         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1299         (elmo-message-fetch): Define.
1300
1301         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1302         search-key.
1303
1304         * elmo-shimbun.el (shimbun-mua-search-id): Use
1305         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1306         (elmo-shimbun-folder-shimbun-header): Ditto.
1307         (elmo-shimbun-get-headers): Ditto.
1308         (elmo-shimbun-update-overview): Ditto.
1309
1310         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1311
1312         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1313         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1314
1315 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1316
1317         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1318         message is cached.
1319         (elmo-message-fetch-string): Fixed argument.
1320
1321 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1322
1323         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1324         exchange order of arguments `section' and `unread'.
1325         (elmo-message-encache): Follow the API change.
1326         (elmo-message-match-condition): Ditto.
1327         (elmo-generic-folder-append-messages): Ditto.
1328         (elmo-message-fetch-string): New function.
1329
1330         * elmo-split.el (elmo-split-subr): Ditto.
1331
1332         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1333
1334         * elmo-pipe.el (elmo-message-fetch): Ditto.
1335
1336         * elmo-multi.el (elmo-message-fetch): Ditto.
1337
1338         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1339
1340         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1341
1342         * elmo-filter.el (elmo-message-fetch): Ditto.
1343
1344         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1345
1346         * elmo-imap4.el (mime-imap-location-section-body): Use
1347         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1348         follow the API change.
1349
1350 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1351
1352         * elmo-access.el: New file.
1353
1354         * elmo-null.el: Ditto.
1355
1356         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1357
1358 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1359
1360         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1361         (elmo-network-session): New attribute `last-accessed'.
1362         (elmo-network-get-session): Discard network cache if elapsed time
1363         since last-accessed is larger than elmo-network-session-idle-timeout.
1364
1365 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1366
1367         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1368         and added `number', `require-entireness'.
1369         (elmo-find-fetch-strategy): Rewrite.
1370         (elmo-message-fetch): Unset `unread' flag when argument unread is
1371         non-nil.
1372
1373         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1374
1375         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1376         (elmo-message-fetch): Notify event `flag-changed'.
1377
1378         * elmo-pipe.el: Likewise.
1379
1380         * elmo-mime.el (elmo-mime-entity): New class.
1381         (elmo-mime-entity-display-p): New generic function.
1382         (elmo-mime-entity-display): Ditto.
1383         (elmo-mime-entity-display-as-is): Ditto.
1384         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1385         elmo-mime-entity.
1386         (elmo-make-mime-message-location): Removed.
1387         (elmo-mime-message-display): Ditto.
1388         (elmo-mime-display-as-is): Ditto.
1389         (elmo-message-mime-entity): New function.
1390
1391         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1392
1393         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1394         change.
1395         (elmo-message-fetch): Re-count flagged message number and notify
1396         event `flag-changed'.
1397
1398         * elmo-version.el (elmo-version): Up to 2.13.1.
1399
1400 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1401
1402         * elmo-filter.el (elmo-message-field): Define.
1403         (elmo-message-set-field): Ditto.
1404
1405 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1406
1407         * elmo.el (elmo-message-set-cached): Call
1408         `elmo-folder-notify-event' with cache-changed.
1409         (elmo-event-handler-cache-changed): New generic function.
1410
1411 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1412
1413         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1414         instead of elmo-add-name-to-file.
1415         (elmo-folder-append-messages): Ditto.
1416
1417 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1418
1419         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1420
1421 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1422
1423         * elmo-version.el (elmo-version): Up to 2.13.0.
1424
1425         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1426         `auto'.
1427
1428         * modb-standard.el (modb-standard-economize-entity-size): Changed
1429         default value to `t'.
1430
1431         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1432         `standard'.
1433
1434         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1435         after parsing greeting string.
1436
1437 2004-11-23  Daishi Kato <daishi@axlight.com>
1438
1439         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1440         New user option.
1441         (elmo-spam-spamoracle-call): Use it.
1442
1443 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1444
1445         * elmo.el (elmo-message-accessible-p): Message in dop spool
1446         is accessible.
1447
1448 2004-11-23  Daishi Kato <daishi@axlight.com>
1449
1450         * elsp-spamoracle.el: New file.
1451
1452 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1453
1454         * elmo.el (elmo-message-flags-for-append): New function.
1455         (elmo-generic-folder-append-messages): Use it.
1456
1457         * elmo-split.el (elmo-split-subr): Ditto.
1458
1459         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1460         `flags' and use elmo-folder-append-buffer instead of
1461         write-region-as-binary.
1462         (elmo-dop-filter-pending-messages): New function.
1463         (elmo-folder-append-buffer-dop): Call
1464         elmo-dop-spool-folder-append-buffer with `flag'.
1465         (elmo-folder-set-flag-dop): Filter messages by
1466         elmo-dop-filter-pending-messages.
1467         (elmo-folder-unset-flag-dop): Ditto.
1468         (elmo-folder-append-buffer-dop-delayed): Use
1469         elmo-message-flags-for-append to get flags of the message and
1470         simplify.
1471
1472 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1473
1474         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1475
1476 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1477
1478         * elmo.el (elmo-folder): Added handlers slot.
1479         (elmo-event-handler): New class.
1480         (elmo-event-handler-flag-changed): New API.
1481         (elmo-folder-add-handler): New function.
1482         (elmo-folder-remove-handler): Ditto.
1483         (elmo-folder-notify-event): Ditto.
1484         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1485         `flag-changed'.
1486         (elmo-folder-unset-flag): Ditto.
1487
1488         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1489         (elmo-folder-unset-flag): Ditto.
1490
1491         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1492         (elmo-folder-unset-flag): Ditto.
1493
1494         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1495         (elmo-folder-unset-flag): Ditto.
1496
1497         * elmo-version.el (elmo-version): Up to 2.11.33.
1498
1499 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1500
1501         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1502
1503 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1504
1505         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1506
1507         * elmo-flag.el (elmo-folder-unset-flag): Define.
1508         (elmo-global-flag-detach): Do process when the flag is not target
1509         flag.
1510
1511 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1512
1513         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1514         variable.
1515         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1516
1517 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1518
1519         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1520         function.
1521         (elmo-folder-delete-messages): Detach messages before delete
1522         messages from target folder.
1523         (elmo-folder-detach-messages): Set updated number-list to slot.
1524
1525 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1526
1527         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1528
1529 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1530
1531         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1532
1533 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1534
1535         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1536         internal use only).
1537         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1538         not modified.
1539         (elmo-folder-delete-messages): Define.
1540         (elmo-folder-move-messages): Don't call
1541         `elmo-folder-detach-messages'.
1542         (elmo-folder-synchronize): Rewrite.
1543         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1544
1545         * elmo-util.el (elmo-last): New function.
1546         (elmo-set-list): Ditto.
1547         (elmo-number-set-delete-list): Ditto.
1548         (elmo-number-set-delete): Ditto.
1549
1550         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1551
1552         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1553         `elmo-folder-delete-messages' and don't delete location map.
1554         (elmo-folder-detach-messages): Define.
1555
1556         * elmo-imap4.el (elmo-folder-delete): Use
1557         `elmo-folder-delete-messages-internal' instead of
1558         `elmo-folder-delete-messages'.
1559
1560         * elmo-filter.el (elmo-folder-delete-messages): Call
1561         `elmo-folder-detach-messages'.
1562         (elmo-folder-detach-messages): Don't call
1563         `elmo-folder-detach-messages' for target folder.
1564
1565         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1566         message deletion is succeeded.
1567
1568         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1569
1570         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1571         from `elmo-folder-delete-messages'.
1572
1573         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1574
1575         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1576
1577         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1578
1579         * elmo-version.el (elmo-version): Up to 2.11.32.
1580
1581 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1582
1583         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1584         (elmo-global-flag-list): Added obsolete variable setting.
1585
1586         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1587
1588         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1589         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1590         `elmo-mime-display-header-analysis' is nil.
1591
1592         * elmo-flag.el (elmo-global-flags): Renamed from
1593         `elmo-global-flag-list' (All other related portions are changed).
1594         (elmo-local-flags): New variable.
1595         (elmo-local-flag-p): New function.
1596         (elmo-global-flag-set-internal): Cause an error when flag is not
1597         global.
1598
1599 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1600
1601         * elmo-util.el (elmo-concat-path): Treat empty path.
1602
1603 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1604
1605         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1606         field-or-fields).
1607         (elmo-split-address-match): Ditto.
1608         (elmo-split-equal): Ditto.
1609         (elmo-split-match): Ditto.
1610
1611 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1612
1613         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1614         (elmo-generic-folder-append-messages): If src message exists but
1615         has no flag, pass (read) for the FLAG argument of
1616         `elmo-folder-append-buffer'. Otherwise, pass nil.
1617
1618         * elmo-split.el (elmo-split-subr): Likewise.
1619
1620         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1621
1622         * elmo-multi.el (elmo-message-flags): Ditto.
1623
1624         * elmo-filter.el (elmo-message-flags): Ditto.
1625
1626         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1627         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1628         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1629         
1630 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1631
1632         * elmo-split.el (elmo-split-rule): Update comment.
1633         (elmo-split-address-equal): Allow 2nd argument to be a list.
1634         (elmo-split-address-match): Ditto.
1635         (elmo-split-equal): Ditto.
1636         (elmo-split-match): Ditto.
1637
1638 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1639
1640         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1641         (elmo-folder-append-msgdb): Don't treat `read'.
1642         (elmo-message-flags): Don't return `read'.
1643
1644         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1645         (elmo-folder-unset-read-delayed): Ditto.
1646
1647         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1648
1649 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1650
1651         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1652         deletion.
1653
1654 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1655
1656         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1657         header.
1658
1659 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1660
1661         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1662         here.
1663         (elmo-msgdb-save): Bind inhibit-quit.
1664         (modb-standard-message-entity): Ditto.
1665
1666 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1667
1668         * elmo-database.el: No need to require elmo-msgdb.
1669
1670 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1671
1672         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1673         instead of `elmo-list-subdirectories'.
1674
1675 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1676
1677         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1678         group entry.
1679         (elmo-folder-exists-p): "[" is empty.
1680         (elmo-folder-list-subfolders): Define.
1681         (elmo-folder-have-subfolder-p): Ditto.
1682
1683 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1684
1685         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1686
1687 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1688
1689         * elmo-filter.el (elmo-folder-local-p): Define.
1690
1691 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1692
1693         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1694         when entity is garbaged.
1695         (modb-standard-save-entity-1): Don't modify the original entity.
1696
1697 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1698
1699         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1700
1701 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1702
1703         * elmo.el (elmo-strict-folder-diff): Use
1704         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1705
1706 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1707
1708         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1709         (elmo-msgdb-message-number): Ditto.
1710         (elmo-msgdb-message-field): Ditto.
1711
1712         * modb-standard.el (modb-standard-economize-entity-size): New user
1713         option.
1714         (modb-standard-loaded-message-id): New inline function.
1715         (modb-standard-load-entity): Use it.
1716         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1717         throw message-id string away.
1718         (elmo-msgdb-flag-available-p): Define.
1719         (elmo-msgdb-message-number): Ditto.
1720         (elmo-msgdb-message-field): Ditto.
1721
1722         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1723         (suppoted -> supported).
1724         (modb-legacy-supported-flag-p): Ditto.
1725         (elmo-msgdb-set-flag): Ditto.
1726         (elmo-msgdb-unset-flag): Ditto.
1727         (elmo-msgdb-flag-available-p): Define.
1728
1729         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1730         is `t', treat it as legacy entity.
1731         
1732         * elmo.el (elmo-message-flag-available-p): New generic function.
1733         (elmo-message-number): Ditto.
1734         (elmo-message-field): Use `elmo-msgdb-message-field'.
1735
1736         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1737
1738         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1739         (elmo-message-number): Ditto.
1740
1741         * elmo-multi.el (elmo-message-number): Define.
1742         (elmo-message-flag-available-p): Ditto.
1743
1744         * elmo-filter.el (elmo-message-flag-available-p): Define.
1745         (elmo-message-number): Ditto.
1746
1747         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1748         (elmo-folder-initialize): Load `max-number'.
1749         (elmo-folder-commit): Save it.
1750         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1751         (elmo-global-flag-set-internal): Set up max-number slot.
1752
1753 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1754
1755         * elmo-version.el (elmo-version): Up to 2.11.31.
1756
1757 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1758
1759         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1760         unibyte string of the current buffer for the argument of `md5'
1761         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1762
1763 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1764
1765         * modb-legacy.el (modb-legacy-flag-list): New constant.
1766         (modb-legacy-suppoted-flag-p): New internal function.
1767         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1768         (elmo-msgdb-unset-flag): Ditto.
1769
1770 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1771
1772         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1773
1774         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1775         from msgdb.
1776
1777 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1778
1779         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1780         (follow the API change).
1781
1782         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1783
1784 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1785
1786         * modb-standard.el (modb-standard-digest-flags): Abolish.
1787         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1788
1789         * elmo-vars.el (elmo-digest-flags): New variable.
1790         (elmo-preserved-flags): Moved from elmo-flag.el.
1791
1792         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1793         (elmo-imap4-flag-to-imap-criteria): Ditto.
1794         (elmo-imap4-folder-list-flagged): Use it.
1795
1796         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1797
1798         * elmo.el (elmo-folder-count-flags): Changed return value.
1799
1800         * elmo-flag.el (elmo-preserved-flags): New variable.
1801         (elmo-get-global-flags): Use it.
1802
1803         * modb-standard.el (modb-standard-digest-flags): New variable.
1804         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1805         Changed behavior of `any'.
1806
1807         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1808         which are defined the Internet draft
1809         (draft-melnikov-imap-keywords-03.txt).
1810         (elmo-imap4-flags-to-imap): New function.
1811         (elmo-folder-append-buffer): Use it.
1812
1813         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1814         in the docstring.
1815
1816         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1817         avoid the bug of Emacs 21.3.
1818
1819 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1820
1821         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1822         function find-coding-system does not exist.
1823
1824 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1825
1826         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1827         parsing.
1828
1829 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1830
1831         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1832         response codes.
1833
1834 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1835
1836         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1837         (elmo-network-close-session): Follow the changes in
1838         `elmo-pop3-read-response'.
1839         (elmo-pop3-auth-user): Ditto.
1840         (elmo-pop3-auth-apop): Ditto.
1841         (elmo-network-initialize-session): Ditto.
1842         (elmo-network-authenticate-session): Ditto.
1843         (elmo-network-setup-session): Ditto.
1844         (elmo-folder-status): Ditto.
1845         (elmo-message-fetch-plugged): Ditto.
1846         (elmo-pop3-delete-msg): Ditto.
1847
1848 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1849
1850         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1851         on failure.
1852
1853 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1854
1855         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1856         style.
1857         (elmo-bind-directory): Ditto.
1858
1859 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1860
1861         * elmo.el (elmo-folder-append-messages): Note on return value.
1862         * elmo-archive.el (elmo-folder-append-messages): Don't return
1863         message numbers which could not be appended.
1864
1865 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1866
1867         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1868
1869 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1870
1871         * elmo-version.el (elmo-version): Up to 2.11.30.
1872
1873 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1874
1875         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1876         `mask'.
1877
1878         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1879
1880         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1881         (elmo-multi-split-numbers): Add elmo-folder object into each
1882         element of return value at first.
1883         (elmo-folder-delete-messages): Follow the above change.
1884         (elmo-folder-detach-messages): Ditto.
1885
1886         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1887         number which is synchronized in target folder.
1888
1889 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1890
1891         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1892         Change default value to symbol `all'.
1893         (elmo-map-message-fetch): Change condition to update overview
1894         follow the above.
1895
1896 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1897
1898         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1899         behavior to update overview.
1900         (elmo-shimbun-update-overview-folder-list): Note it.
1901
1902 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1903
1904         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1905         recursive call.
1906
1907 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1908
1909         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1910         buffer-disable-undo, it is unnecessary.
1911         (elmo-spam-register-good-messages): Ditto.
1912
1913         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1914         Ditto.
1915
1916         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1917
1918 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1919
1920         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1921         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1922         elmo-set-buffer-multibyte.
1923         (elmo-object-load): Ditto.
1924         (elmo-save-buffer): Ditto.
1925         (elmo-delete-char): Ditto.
1926         (elmo-file-field-primitive-condition-match): Ditto.
1927         (elmo-mime-string): Ditto.
1928
1929         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1930         (elmo-archive-field-condition-match): Ditto.
1931
1932         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1933
1934         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1935
1936         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1937         (elmo-nntp-msgdb-create-message): Ditto.
1938
1939         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1940
1941         * elmo.el (elmo-message-match-condition): Ditto.
1942         (elmo-message-match-condition): Ditto.
1943
1944         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1945         Ditto.
1946
1947         * elmo-version.el (elmo-version): Up to 2.11.29.
1948
1949         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1950         (elsp-header): New backend.
1951
1952         * elmo-util.el (elmo-decoded-field-body): New function.
1953
1954 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1955
1956         * elmo-version.el (elmo-version): Up to 2.11.28.
1957
1958 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1959
1960         * elmo-filter.el: Rewrite.
1961
1962         * elmo-version.el (elmo-version): Up to 2.11.27.
1963
1964 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1965
1966         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1967         msgdb path for the localdir folder with absolute path.
1968
1969         * utf7.el: Synch up with latest gnus/utf7.el;
1970         Modified for latest Emacs.
1971
1972 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1973
1974         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1975         shimbun backend couldn't open.
1976
1977 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1978
1979         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1980         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1981         when a destination folder is a filter folder.
1982
1983 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1984
1985         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1986         (elmo-generic-folder-append-messages): Call elmo-message-flags
1987         with argument `msgid'.
1988
1989         * elmo-split.el (elmo-split-subr): Ditto.
1990
1991         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1992
1993         * elmo-multi.el (elmo-message-flags): Ditto.
1994
1995 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1996
1997         * elmo.el (elmo-folder): Add new slot `flag-table'.
1998         (elmo-folder-flag-table): New API.
1999         (elmo-folder-close-flag-table): Ditto.
2000         (elmo-folder-preserve-flags): New function.
2001         (elmo-generic-folder-append-messages): Use
2002         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2003         Flag of a non-registered message, it sets to nil.
2004         Does not set flag to flag-table.
2005
2006         * elmo-maildir.el (elmo-folder-append-buffer): Use
2007         `elmo-folder-preserve-flags'.
2008         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2009         `elmo-folder-close-flag-table'.
2010
2011         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2012         (elmo-archive-folder-append-buffer): Use
2013         `elmo-folder-preserve-flags'.
2014
2015         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2016
2017         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2018
2019         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2020         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2021         `elmo-folder-close-flag-table'.
2022
2023         * elmo-version.el (elmo-version): Up to 2.11.26.
2024
2025 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2026
2027         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2028
2029         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2030         md5's 4th and 5th argument (non-existent in flim one).
2031
2032 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2033
2034         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2035         message, It sets to nil.
2036
2037 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2038
2039         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2040         list is non-nil.
2041
2042 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2043
2044         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2045
2046         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2047
2048         * elmo-util.el (elmo-uniq-sorted-list): New function.
2049         (elmo-make-number-list): Ditto.
2050         (elmo-number-set-to-number-list): Use elmo-make-number-list
2051         and don't use nreverse.
2052
2053 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2054
2055         * elmo-version.el (elmo-version): Up to 2.11.25.
2056
2057 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2058
2059         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2060         field not exists in message, Use md5 message digest of header.
2061
2062 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2063
2064         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2065         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2066         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2067         * elmo-split.el (elmo-split-subr): Check return value of
2068         elmo-folder-append-buffer.
2069
2070         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2071         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2072
2073         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2074         message-id.
2075
2076 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2077
2078         * elmo-split.el (elmo-split-subr): Append message with flag.
2079
2080         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2081         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2082         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2083
2084 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2085
2086         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2087         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2088         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2089
2090 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2091
2092         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2093         with a function call of `process-buffer'.  All callers are updated.
2094         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2095         Remove redundant `set-buffer' in a while loop.
2096
2097 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2098
2099         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2100         calls.
2101
2102 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2103
2104         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2105         elsp-spamfilter-register-buffer-internal with current buffer.
2106         (elmo-spam-register-spam-buffer): Ditto.
2107         (elmo-spam-register-good-buffer): Ditto.
2108
2109 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2110
2111         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2112         if it is not contained in the response(A workaround for courier-imap).
2113
2114 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2115
2116         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2117         parenthesis.
2118
2119 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2120
2121         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2122         range.
2123
2124 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2125
2126         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2127         of nconc.
2128
2129         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2130         argument handler.
2131         (elmo-msgdb-message-match-condition): Follow the change above.
2132
2133 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2134
2135         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2136         folder name.
2137
2138 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2139
2140         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2141
2142 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2143
2144         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2145
2146 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2147
2148         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2149         not found.
2150
2151 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2152
2153         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2154         value.
2155         (elmo-file-command-argument): Undo last change for cygwin.
2156         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2157         Don't return nil.
2158         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2159
2160 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2161
2162         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2163         value returned from elmo-file-find is nil.
2164
2165 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2166
2167         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2168         to elmo-vars.el.
2169
2170         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2171         instead of insert-file-contents-as-binary.
2172         (elmo-message-set-field): New generic function.
2173
2174         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2175         behavior change on `split-string'.
2176
2177         * elmo-file.el (elmo-file-find): New function.
2178         (elmo-file-command): New user option.
2179         (elmo-file-command-argument): Ditto.
2180         (elmo-file-fetch-max-size): Ditto.
2181         (elmo-file-detect-format): New function.
2182         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2183         Use elmo-file-detect-format.
2184         (elmo-map-folder-list-message-locations): Don't treat directories.
2185
2186 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2187
2188         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2189         (elmo-passwd-alist-clear): Shred password before clear.
2190         (elmo-remove-passwd): Remove all mached pair.
2191
2192 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2193
2194         * elmo.el (elmo-folder-synchronize): Fix description of the return
2195         value.
2196
2197 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2198
2199         * elmo.el (elmo-message-fetch-bodystructure): New method.
2200         (elmo-message-fetch-bodystructure): Define default.
2201
2202         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2203         elmo-message-fetch-bodystructure.
2204         (elmo-message-fetch-bodystructure): Define.
2205
2206         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2207
2208 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2209
2210         * elmo-filter.el (elmo-message-folder): Define.
2211
2212 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2213
2214         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2215         elmo-delete-cr-buffer.
2216
2217         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2218
2219         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2220
2221         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2222
2223         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2224         type seems to be a text.
2225
2226 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2227
2228         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2229         (elmo-spam-register-good-buffer): Ditto.
2230         (elmo-spam-spamassassin-register-messages): Ditto.
2231
2232         * elmo-util.el (elmo-string-member-ignore-case): Define with
2233         static-cond.
2234
2235 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2236
2237         * elmo.el (elmo-folder-type): Undo last change.
2238
2239         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2240
2241         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2242         warnings.
2243
2244         * elmo-file.el: New file.
2245         
2246         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2247
2248         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2249         variable.
2250         (elmo-spam-spamassassin-register-messages): New inline function.
2251         (elmo-spam-register-spam-messages): Define.
2252         (elmo-spam-register-good-messages): Ditto.
2253
2254         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2255         Fixed typo.
2256
2257         * elmo.el (toplevel): Added autoload setting for
2258         `elmo-get-global-flags'.
2259         (elmo-message-has-global-flag-p): New function.
2260         (elmo-message-set-global-flags): Ditto.
2261         (elmo-folder-type): Improvement for name: format.
2262
2263         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2264         availability of keyword flags.
2265         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2266         (elmo-folder-list-flagged-plugged): Renamed from
2267         elmo-folder-list-flagged-unplugged.
2268         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2269         accept any flag as keyword flag.
2270         (elmo-folder-set-flag-plugged): Accept keyword flags.
2271         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2272
2273         * elmo-flag.el (elmo-get-global-flags): New function.
2274
2275         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2276         folders.
2277
2278         * elmo-version.el (elmo-version): Up to 2.11.24.
2279
2280 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2281
2282         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2283         elmo-multiple-field-body instead of std11-field-body to check all
2284         headers.
2285
2286 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2287
2288         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2289         or "size".
2290
2291 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2292
2293         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2294         unintern is unbound.
2295
2296 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2297
2298         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2299         Protect from infinite loop.
2300
2301 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2302
2303         * elsp-bogofilter.el
2304         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2305         (elmo-spam-bogofilter-register-messages): New internal function.
2306         (elmo-spam-register-spam-messages): Define.
2307         (elmo-spam-register-good-messages): Ditto.
2308
2309 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2310
2311         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2312         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2313         (elmo-spam-bogofilter-call): Fixed the last change.
2314         (elmo-spam-bogofilter-arguments): Ditto.
2315
2316         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2317         Follow the options change of latest bogofilter.
2318
2319         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2320         (elmo-spam-bogofilter-good-switch): Ditto.
2321         (elmo-spam-bogofilter-arguments-alist): New user option.
2322         (elmo-spam-bogofilter-debug): Ditto.
2323         (elmo-spam-bogofilter-call): Renamed from
2324         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2325         is non-nil, insert output in buffer for debug.
2326         (elmo-spam-bogofilter-arguments): New macro.
2327         (elmo-spam-buffer-spam-p): Use it.
2328         (elsp-bogofilter-register-buffer): Ditto.
2329
2330 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2331
2332         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2333         regexp.
2334
2335 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2336
2337         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2338         value as "ruby".
2339         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2340         (elmo-spam-bsfilter-program): Set default value as full path for
2341         `bsfilter'.
2342         (elmo-spam-bsfilter-debug): New user option.
2343         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2344         non-nil, insert output in buffer for debug. Fix treating of
2345         argument.
2346
2347 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2348
2349         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2350         `elmo-maildir-flag-specs' element instead of one.
2351         (elmo-map-folder-unset-flag): Ditto.
2352         (Reported by Ken Makimura <macky@astem.or.jp>)
2353
2354         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2355         (elmo-folder-unset-flag-plugged): Ditto.
2356
2357 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2358
2359         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2360         to `reads' slot only if `in-msgdb' is nil.
2361
2362 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2363
2364         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2365         and complement argument list.
2366
2367 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2368
2369         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2370         instead of elmo-folder-list-flagged.
2371
2372 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2373
2374         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2375
2376         * elsp-bsfilter.el: New file.
2377
2378         * elmo-pipe.el (elmo-folder-list-unreads,
2379         elmo-folder-list-answereds,
2380         elmo-folder-list-importants,
2381         elmo-folder-flag-as-important,
2382         elmo-folder-unflag-important,
2383         elmo-folder-flag-as-read,
2384         elmo-folder-unflag-read,
2385         elmo-folder-flag-as-answered,
2386         elmo-folder-unflag-answered): Remove.
2387         (elmo-folder-set-flag): Define.
2388         (elmo-folder-unset-flag): Ditto.
2389
2390         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2391         (elmo-folder-set-flag): Define.
2392         (elmo-folder-unset-flag): Ditto.
2393         (elmo-folder-list-unreads): Remove.
2394         (elmo-folder-list-flagged): Define.
2395
2396         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2397         (elmo-folder-list-unreads,
2398         elmo-folder-list-importants,
2399         elmo-folder-list-answereds,
2400         elmo-folder-list-unreads-plugged,
2401         elmo-folder-list-importants-plugged,
2402         elmo-folder-list-answereds-plugged): Remove.
2403         (elmo-folder-list-flagged-plugged): New method.
2404         (elmo-folder-unflag-important,
2405         elmo-folder-flag-as-important,
2406         elmo-folder-unflag-read,
2407         elmo-folder-flag-as-read,
2408         elmo-folder-unflag-answered,
2409         elmo-folder-flag-as-answered,
2410         elmo-folder-flag-as-read-unplugged,
2411         elmo-folder-unflag-read-unplugged,
2412         elmo-folder-flag-as-important-unplugged,
2413         elmo-folder-unflag-important-unplugged,
2414         elmo-folder-flag-as-answered-unplugged,
2415         elmo-folder-unflag-answered-unplugged): Remove.
2416         (elmo-folder-set-flag): Define.
2417         (elmo-folder-unset-flag): Ditto.
2418         (elmo-folder-set-flag-unplugged): Ditto.
2419         (elmo-folder-unset-flag-unplugged): Ditto.
2420
2421         * elmo-multi.el (elmo-folder-list-unreads,
2422         elmo-folder-list-answereds,
2423         elmo-folder-list-importants,
2424         elmo-folder-flag-as-important,
2425         elmo-folder-unflag-important,
2426         elmo-folder-flag-as-read,
2427         elmo-folder-unflag-read,
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-map.el (elmo-map-folder-unflag-important,
2434         elmo-map-folder-flag-as-important,
2435         elmo-map-folder-unflag-read,
2436         elmo-map-folder-flag-as-read,
2437         elmo-map-folder-unflag-answered,
2438         elmo-map-folder-flag-as-answered): Remove.
2439         (elmo-map-folder-set-flag): New method.
2440         (elmo-map-folder-unset-flag): Ditto.
2441         (elmo-map-folder-list-unreads,
2442         elmo-map-folder-list-importants,
2443         elmo-map-folder-list-answereds): Remove.
2444         (elmo-folder-list-flagged-internal): Define.
2445         (elmo-map-folder-list-flagged): New method.
2446
2447         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2448         (elmo-map-folder-list-unreads,
2449         elmo-map-folder-list-importants,
2450         elmo-map-folder-list-flagged): Remove.
2451         (elmo-map-folder-list-flagged): Define.
2452         (elmo-map-folder-flag-as-important,
2453         elmo-map-folder-unflag-important,
2454         elmo-map-folder-flag-as-read,
2455         elmo-map-folder-unflag-read,
2456         elmo-map-folder-flag-as-answered,
2457         elmo-map-folder-unflag-answered): Remove.
2458         (elmo-maildir-set-mark-messages): New internal function.
2459         (elmo-map-folder-set-flag): Define.
2460         (elmo-map-folder-unset-flag): Ditto.
2461
2462         * elmo.el (toplevel): Added autoload setting for
2463         `elmo-folder-list-global-flag-messages'.
2464         (elmo-folder-list-unreads,
2465         elmo-folder-list-importants,
2466         elmo-folder-list-answereds): Remove.
2467         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2468         Return a list whitch merged with messages have global flag.
2469         (elmo-folder-list-flagged-internal): New method.
2470         (elmo-folder-unflag-important,
2471         elmo-folder-flag-as-important,
2472         elmo-folder-unflag-read,
2473         elmo-folder-flag-as-read,
2474         elmo-folder-unflag-answered,
2475         elmo-folder-flag-as-answered): Remove.
2476         (elmo-folder-set-flag): New method.
2477         (elmo-folder-unset-flag): Ditto.
2478         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2479         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2480
2481         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2482         (elmo-folder-list-unreads-plugged,
2483         elmo-folder-list-importants-plugged,
2484         elmo-folder-list-answereds-plugged,
2485         elmo-folder-list-flagged-unplugged,
2486         elmo-folder-unflag-important-plugged,
2487         elmo-folder-flag-as-important-plugged,
2488         elmo-folder-unflag-read-plugged,
2489         elmo-folder-flag-as-read-plugged,
2490         elmo-folder-unflag-answered-plugged,
2491         elmo-folder-flag-as-answered-plugged): Remove.
2492         (elmo-folder-set-flag-plugged,
2493         elmo-folder-unset-flag-plugged): Define.
2494
2495         * elmo-flag.el (elmo-folder-initialize): Register to
2496         `elmo-global-flag-list' if flag is not global.
2497         (elmo-folder-append-messages): Set flag to source messages.
2498
2499         * elmo-filter.el (elmo-filter-folder-list-unreads,
2500         elmo-folder-list-unreads,
2501         elmo-filter-folder-list-importants,
2502         elmo-folder-list-importants,
2503         elmo-folder-flag-as-read,
2504         elmo-folder-unflag-read,
2505         elmo-folder-flag-as-important,
2506         elmo-folder-unflag-important,
2507         elmo-folder-flag-as-answered,
2508         elmo-folder-unflag-answered): Remove.
2509         (elmo-folder-set-flag): Define.
2510         (elmo-folder-unset-flag): Ditto.
2511
2512         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2513         elmo-folder-unflag-read-dop,
2514         elmo-folder-flag-as-important-dop,
2515         elmo-folder-unflag-important-dop,
2516         elmo-folder-flag-as-answered-dop,
2517         elmo-folder-unflag-answered-dop): Remove.
2518         (elmo-folder-set-flag-dop,
2519         elmo-folder-unset-flag-dop,
2520         elmo-folder-set-important-delayed,
2521         elmo-folder-unset-important-delayed,
2522         elmo-folder-set-read-delayed,
2523         elmo-folder-unset-read-delayed,
2524         elmo-folder-set-answered-delayed,
2525         elmo-folder-unset-answered-delayed): New function.
2526         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2527         (elmo-dop-queue-method-name-alist): Ditto.
2528
2529         * elmo-version.el (elmo-version): Up to 2.11.23.
2530
2531 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2532
2533         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2534
2535         * elsp-sa.el: New file.
2536
2537 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2538
2539         * modb-standard.el (modb-standard-message-entity): New function.
2540         (elmo-msgdb-message-entity): Use it.
2541
2542 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2543
2544         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2545         behavior when one-level is nil.
2546
2547         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2548
2549         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2550
2551 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2552
2553         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2554         get max number.
2555         (elmo-generic-folder-diff): Ditto.
2556
2557         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2558         (elmo-folder-update-number): Ditto.
2559
2560         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2561         (elmo-folder-next-message-number-dop): Ditto.
2562
2563 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2564
2565         * elmo-filter.el (elmo-folder-msgdb-create): Use
2566         `elmo-message-entity' and `elmo-message-flags' instead of
2567         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2568
2569 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2570
2571         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2572         `if-exists'.
2573
2574 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2575
2576         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2577
2578         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2579
2580         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2581
2582 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2583
2584         * elmo-version.el (elmo-version): Up to 2.11.22.
2585
2586 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2587
2588         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2589
2590 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2591
2592         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2593         if the message dose not exist.
2594
2595 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2596
2597         * elmo-version.el (elmo-version): Up to 2.11.21.
2598
2599 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2600
2601         * modb-standard.el (toplevel): Don't require mime.
2602
2603 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2604
2605         * elsp-bogofilter.el (toplevel): Don't require path-util.
2606         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2607         (elmo-spam-bogofilter-header): Abolish.
2608         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2609         (elmo-spam-bogofilter-args): New user option.
2610         (elsp-bogofilter-call-bogofilter): New internal function.
2611         (elmo-spam-buffer-spam-p): Use it.
2612         (elsp-bogofilter-register-buffer): Renamed from
2613         `elmo-spam-bogofilter-register-buffer';
2614         Use `elsp-bogofilter-call-bogofilter'.
2615         (elmo-spam-register-spam-buffer): Follow the change above.
2616         (elmo-spam-register-good-buffer): Ditto.
2617
2618 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2619
2620         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2621         message-id is nil do nothing.
2622
2623 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2624
2625         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2626         Revival.
2627         (elmo-imap4-session): Removed use-flag slot.
2628         (elmo-imap4-session-select-mailbox): Undo last change.
2629         (elmo-folder-use-flag-p): Use
2630         elmo-imap4-disuse-server-flag-mailbox-regexp.
2631
2632 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2633
2634         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2635         (elmo-imap4-session-select-mailbox): Set it up.
2636         (elmo-folder-use-flag-p): Return value of use-flag slot.
2637
2638 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2639
2640         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2641         message-id is nil.
2642         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2643
2644         * modb-entity.el (elmo-message-entity-handler): Likewise.
2645
2646 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2647
2648         * elmo.el (toplevel): Remove setting of autoloding for
2649         elmo-global-flag-initialize.
2650         (elmo-init): Don't call elmo-global-flag-initialize.
2651         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2652
2653         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2654         (elmo-global-mark-migrate): Don't call it.
2655         (elmo-global-mark-upgrade): Ditto.
2656
2657 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2658
2659         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2660         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2661
2662         * elmo-vars.el (elmo-init-hook): New user option.
2663
2664         * elmo.el (elmo-init): Run the elmo-init-hook.
2665
2666         * elmo-flag.el (elmo-global-mark-migrate): New function.
2667
2668 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2669
2670         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2671         Undo last change (move to elmo-msgdb-unset-flag).
2672         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2673         flag is unset.
2674
2675 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2676
2677         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2678         read flag is set.
2679         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2680         (elmo-msgdb-unset-flag): Ditto.
2681
2682 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2683
2684         * elmo-split.el (elmo-split): Return split message count.
2685
2686 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2687
2688         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2689         is nil.
2690
2691 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2692
2693         * elmo.el (elmo-folder-unflag-important): Call
2694         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2695         a symbol `always'.
2696
2697         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2698         before unset flag.
2699         (elmo-global-flag-detach): Delete the message from flag folder, if
2700         `delete-if-none' is a symbol `always'.
2701
2702 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2703
2704         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2705         `elmo-spam-spamfilter-decode-buffer'.
2706         (elsp-spamfilter-register-buffer-internal): New internal function.
2707         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2708         (elmo-spam-register-spam-buffer): Ditto.
2709         (elmo-spam-register-good-buffer): Ditto.
2710
2711         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2712         change.
2713         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2714         (elmo-spam-register-spam-buffer): Follow the API change.
2715         (elmo-spam-register-good-buffer): Ditto.
2716
2717         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2718         (elmo-split-spam-p): Added argument plist; Call
2719         `elmo-spam-buffer-spam-p' with new argument register.
2720
2721         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2722         `register'.
2723         (elmo-spam-message-spam-p): Ditto.
2724         (elmo-spam-register-spam-buffer): Added optional argument
2725         `restore'.
2726         (elmo-spam-register-good-buffer): Ditto.
2727         (elmo-spam-register-spam-messages): Ditto.
2728         (elmo-spam-register-good-messages): Ditto.
2729
2730 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2731
2732         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2733         register into good corpus.
2734         (elmo-spam-register-good-buffer): Fixed to register into bad
2735         corpus.
2736
2737 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2738
2739         * elmo-version.el (elmo-version): Up to 2.11.20.
2740
2741         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2742         change.
2743
2744         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2745         flag without depending on \Recent flag.
2746
2747 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2748
2749         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2750         (elmo-spam-modified-p): Defined.
2751         (elmo-spam-save-status): Set `modified' slot to nil.
2752         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2753         (elmo-spam-register-good-buffer): Ditto.
2754
2755         * elmo-spam.el (elmo-spam-modified-p): New API.
2756
2757 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2758
2759         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2760         duplicate definition.
2761
2762         * elmo-util.el (elmo-unfold-field-body): New function.
2763         (elmo-msgdb-get-message-id-from-buffer): Use it.
2764
2765         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2766         Fixed the last change; Use elmo-unfold-field-body.
2767
2768 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2769
2770         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2771         Unfold date value.
2772
2773 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2774
2775         * elmo-spam.el (elmo-spam-save-status): New API.
2776
2777         * elsp-spamfilter.el: New file.
2778
2779 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2780
2781         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2782
2783 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2784
2785         * elmo-split.el (elmo-split-spam-p): New function.
2786
2787         * elmo-spam.el: New file.
2788
2789         * elsp-bogofilter.el: Ditto.
2790
2791 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2792
2793         * elmo.el (elmo-folder-next-message-number): New API.
2794         (elmo-folder-next-message-number): Define.
2795         (elmo-message-field): Don't check folder length.
2796
2797         * elmo-net.el (elmo-folder-next-message-number): Define.
2798         (elmo-folder-next-message-number-unplugged): Define.
2799
2800         * elmo-map.el (elmo-folder-next-message-number): Define.
2801         (elmo-folder-delete-messages): Clear hash value.
2802
2803         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2804
2805         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2806         (elmo-folder-delete-messages-dop-delayed): Always return t.
2807
2808         * elmo-version.el (elmo-version): Up to 2.11.19.
2809
2810 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2811
2812         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2813         change.
2814
2815         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2816         identical cons cell into the mark-alist and the hash table.
2817
2818 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2819
2820         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2821         elmo-folder-list-messages with argument `visible-only' as t.
2822
2823         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2824         (elmo-folder-msgdb-create): Check the target folder.
2825
2826 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2827
2828         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2829         `permanentflag' instead of `flags'.
2830         (elmo-folder-open): Ditto.
2831         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2832         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2833         (elmo-folder-use-flag-p): Always return t.
2834         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2835         `permanentflags' does not exist.
2836         (elmo-folder-open): Ditto.
2837
2838 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2839
2840         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2841         is nil.
2842         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2843
2844         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2845         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2846         response.
2847         (elmo-folder-open): Ditto.
2848         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2849         slot of the session includes the flag.
2850         (elmo-imap4-session-flag-available-p): New function.
2851         (elmo-imap4-folder-list-flagged): Ditto.
2852         (elmo-folder-list-unreads-plugged): Use it.
2853         (elmo-folder-list-importants-plugged): Ditto.
2854         (elmo-folder-list-answereds-plugged): Ditto.
2855         (elmo-imap4-search-internal-primitive): Ditto.
2856         (elmo-imap4-folder-list-any-plugged,
2857         elmo-imap4-folder-list-digest-plugged): Abolish.
2858
2859         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2860         if numbers is nil.
2861
2862 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2863
2864         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2865
2866 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2867
2868         * elmo-util.el (elmo-get-hash-val): Simplify.
2869         (elmo-set-hash-val): Rewrite.
2870
2871 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2872
2873         * elmo.el (elmo-folder-list-messages): Append killed messages into
2874         result if `visible-only' is nil and `in-msgdb' is non-nil.
2875
2876         * elmo-util.el (elmo-uniq-list): Added optional argument
2877         `delete-function'.
2878
2879         * modb.el (elmo-msgdb-flag-count): New API.
2880
2881         * modb-standard.el (modb-standard): Added slot flag-count.
2882         (modb-standard-countup-flags): New function.
2883         (modb-standard-load-flag): Call it.
2884         (elmo-msgdb-append): Ditto.
2885         (elmo-msgdb-clear): Clear slot flag-count.
2886         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2887         (elmo-msgdb-unset-flag): Treat `all' flag and call
2888         modb-standard-countup-flags.
2889         (elmo-msgdb-flag-count): Define.
2890         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2891         (elmo-msgdb-delete-messages): Ditto.
2892
2893         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2894         (elmo-msgdb-flag-count): Define.
2895
2896         * elmo.el (elmo-folder-list-messages): Undo last change.
2897         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2898         (elmo-folder-kill-messages): Unset all flags to numbers.
2899
2900         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2901         elmo-folder-kill-messages.
2902
2903         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2904         (elmo-nntp-folder-delete-messages): Abolish.
2905
2906         * elmo-version.el (elmo-version): Up to 2.11.18.
2907
2908 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2909
2910         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2911         (elmo-folder-kill-messages-range): New function.
2912         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2913         instead of elmo-folder-kill-messages-before.
2914
2915 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2916
2917         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2918         elmo-imap4-current-msgdb to decide entity handler.
2919
2920 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2921
2922         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2923
2924         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2925         inline function.
2926         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2927         (elmo-msgdb-overview-entity-set-number,
2928         elmo-msgdb-overview-entity-get-references,
2929         elmo-msgdb-overview-entity-set-references,
2930         elmo-msgdb-overview-entity-get-from-no-decode,
2931         elmo-msgdb-overview-entity-get-from,
2932         elmo-msgdb-overview-entity-set-from,
2933         elmo-msgdb-overview-entity-get-subject,
2934         elmo-msgdb-overview-entity-get-subject-no-decode,
2935         elmo-msgdb-overview-entity-set-subject,
2936         elmo-msgdb-overview-entity-get-date,
2937         elmo-msgdb-overview-entity-set-date,
2938         elmo-msgdb-overview-entity-get-to,
2939         elmo-msgdb-overview-entity-get-cc,
2940         elmo-msgdb-overview-entity-get-size,
2941         elmo-msgdb-overview-entity-set-size,
2942         elmo-msgdb-overview-entity-get-extra,
2943         elmo-msgdb-overview-entity-set-extra,
2944         elmo-msgdb-overview-entity-get-extra-field,
2945         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2946         (elmo-msgdb-make-index): Use
2947         `elmo-msgdb-overview-entity-get-number-internal'.
2948         (elmo-msgdb-clear-index): Ditto.
2949         (elmo-msgdb-append-entity): Ditto;
2950         Use `elmo-msgdb-overview-entity-get-id-internal'.
2951
2952         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2953         elmo-msgdb-overview-entity-set-number,
2954         elmo-msgdb-overview-entity-get-references,
2955         elmo-msgdb-overview-entity-set-references,
2956         elmo-msgdb-overview-entity-get-from-no-decode,
2957         elmo-msgdb-overview-entity-get-from,
2958         elmo-msgdb-overview-entity-set-from,
2959         elmo-msgdb-overview-entity-get-subject,
2960         elmo-msgdb-overview-entity-get-subject-no-decode,
2961         elmo-msgdb-overview-entity-set-subject,
2962         elmo-msgdb-overview-entity-get-date,
2963         elmo-msgdb-overview-entity-set-date,
2964         elmo-msgdb-overview-entity-get-to,
2965         elmo-msgdb-overview-entity-get-cc,
2966         elmo-msgdb-overview-entity-get-size,
2967         elmo-msgdb-overview-entity-set-size,
2968         elmo-msgdb-overview-entity-get-extra,
2969         elmo-msgdb-overview-entity-set-extra,
2970         elmo-msgdb-overview-entity-get-extra-field,
2971         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2972         and rewrote for backward compatibility.
2973
2974 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2975
2976         * elmo.el (elmo-message-entity-number,
2977         elmo-message-entity-set-number,
2978         elmo-message-entity-field,
2979         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2980
2981         * elmo-msgdb.el (elmo-message-entity-number,
2982         elmo-message-entity-set-number,
2983         elmo-message-entity-field,
2984         elmo-message-entity-set-field): Moved from elmo.el.
2985
2986 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2987
2988         * elmo.el (toplevel): Changed definition orders.
2989
2990 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2991
2992         * modb.el (elmo-msgdb-search): New API .
2993         (elmo-msgdb-match-condition): Ditto.
2994
2995         * modb-standard.el (elmo-msgdb-search): Define.
2996
2997         * modb-legacy.el (elmo-msgdb-search): Ditto.
2998
2999         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3000         from elmo-msgdb-match-condition-internal.
3001
3002         * elmo.el (elmo-folder-search-fast): Abolish.
3003         (elmo-folder-search): Use elmo-msgdb-search and
3004         elmo-with-progress-display.
3005
3006         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3007         as msgdb API.
3008
3009         * elmo.el (elmo-folder): Remove slot message-modified and
3010         flag-modified.
3011         (elmo-folder-set-message-modified): Abolish.
3012         (elmo-generic-folder-commit): Follow the change above.
3013         (elmo-folder-synchronize): Ditto.
3014
3015         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3016
3017         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3018
3019         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3020
3021 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3022
3023         * modb-standard.el (modb-standard-make-message-entity,
3024         elmo-msgdb-make-message-entity,
3025         elmo-msgdb-create-message-entity-from-buffer,
3026         elmo-msgdb-message-entity-number,
3027         elmo-msgdb-message-entity-set-number,
3028         elmo-msgdb-message-entity-field,
3029         elmo-msgdb-message-entity-set-field,
3030         elmo-msgdb-copy-message-entity,
3031         elmo-msgdb-match-condition-internal): Remove.
3032
3033         * modb-entity.el: New file (again).
3034
3035         * modb.el (toplevel): Require modb-entity.
3036         (elmo-msgdb-message-entity-handler): New method.
3037
3038         * modb-standard.el (modb-standard-entity-id): Use
3039         elmo-message-entity-handler.
3040         (modb-standard-load-entity): Ditto.
3041         (elmo-msgdb-append-entity): Ditto.
3042         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3043
3044         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3045         elmo-msgdb-decoded-cache-hashtb,
3046         (modb-legacy-make-message-entity,
3047         elmo-msgdb-make-message-entity,
3048         elmo-msgdb-create-message-entity-from-buffer,
3049         elmo-msgdb-message-entity-number,
3050         elmo-msgdb-message-entity-set-number,
3051         elmo-msgdb-message-entity-field,
3052         elmo-msgdb-message-entity-set-field,
3053         elmo-msgdb-copy-message-entity,
3054         elmo-msgdb-match-condition-internal,
3055         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3056
3057         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3058         (elmo-message-entity-set-number): Ditto.
3059         (elmo-message-entity-field): Ditto.
3060         (elmo-message-entity-set-field): Ditto.
3061
3062         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3063
3064         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3065
3066         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3067
3068         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3069         (elmo-nntp-msgdb-create-message): Ditto.
3070
3071         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3072         (elmo-folder-msgdb-create): Add unread flag.
3073
3074         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3075
3076         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3077
3078         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3079
3080         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3081
3082         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3083         elmo-msgdb-messge-entity-handler.
3084         * elmo-version.el (elmo-version): Up to 2.11.17.
3085
3086 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3087
3088         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3089         change.
3090
3091 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3092
3093         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3094
3095         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3096         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3097         (elmo-msgdb-flag-table): Ditto.
3098         (elmo-msgdb-sort-by-date): Ditto.
3099
3100         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3101
3102         * modb-standard.el (toplevel): Require mime.
3103         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3104         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3105         elmo-msgdb-message-entity-number.
3106         (elmo-msgdb-append-entity): Ditto.
3107         (elmo-msgdb-create-message-entity-from-file): Remove.
3108         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3109         corresponds to the entity.
3110         (elmo-msgdb-message-entity-number): Do nothing currently.
3111         (elmo-msgdb-message-entity-field): Ditto.
3112         (elmo-msgdb-message-entity-set-field): Ditto.
3113         (elmo-msgdb-copy-message-entity): Ditto.
3114         (elmo-msgdb-match-condition-internal): Ditto.
3115
3116         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3117         elmo-util.el.
3118         (elmo-msgdb-create-message-entity-from-file): Remove.
3119
3120         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3121         modb-legacy.el.
3122         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3123
3124         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3125
3126 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3127
3128         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3129         (elmo-msgdb-message-entity-field): Ditto.
3130         (elmo-msgdb-message-entity-number): Ditto.
3131
3132 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3133
3134         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3135         Fixed how to set extra field into entity.
3136         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3137         symbol.
3138
3139         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3140         Fixed how to set extra field into entity.
3141         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3142         symbol.
3143
3144 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3145
3146         * modb.el (elmo-message-entity-db): New function.
3147         (elmo-msgdb-make-message-entity): New API.
3148         (elmo-msgdb-message-entity-number): Ditto.
3149         (elmo-msgdb-message-entity-set-number): Ditto.
3150         (elmo-msgdb-message-entity-field): Ditto.
3151         (elmo-msgdb-message-entity-set-field): Ditto.
3152         (elmo-msgdb-copy-message-entity): Ditto.
3153         (elmo-msgdb-create-message-entity-from-file): Ditto.
3154         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3155         (elmo-msgdb-match-condition-internal): Ditto.
3156
3157         * modb-standard.el (modb-legacy): Require modb-legacy.
3158         (modb-standard-make-message-entity): New inline function.
3159         (elmo-msgdb-make-message-entity): Define.
3160         (elmo-msgdb-create-message-entity-from-file): Ditto.
3161         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3162         (elmo-msgdb-message-entity-field): Ditto.
3163         (elmo-msgdb-message-entity-set-field): Ditto.
3164         (elmo-msgdb-copy-message-entity): Ditto.
3165         (elmo-msgdb-match-condition-internal): Ditto.
3166
3167         * modb-legacy.el: Don't require modb-entity.
3168         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3169         (elmo-msgdb-match-condition-primitive): Ditto.
3170         (elmo-msgdb-get-decoded-cache): Ditto.
3171         (elmo-msgdb-overview-entity-get-id): Ditto.
3172         (elmo-msgdb-overview-entity-get-number): Ditto.
3173         (elmo-msgdb-overview-entity-set-number): Ditto.
3174         (elmo-msgdb-overview-entity-get-references): Ditto.
3175         (elmo-msgdb-overview-entity-set-references): Ditto.
3176         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3177         (elmo-msgdb-overview-entity-get-from): Ditto.
3178         (elmo-msgdb-overview-entity-set-from): Ditto.
3179         (elmo-msgdb-overview-entity-get-subject): Ditto.
3180         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3181         (elmo-msgdb-overview-entity-set-subject): Ditto.
3182         (elmo-msgdb-overview-entity-get-date): Ditto.
3183         (elmo-msgdb-overview-entity-set-date): Ditto.
3184         (elmo-msgdb-overview-entity-get-to): Ditto.
3185         (elmo-msgdb-overview-entity-get-cc): Ditto.
3186         (elmo-msgdb-overview-entity-get-size): Ditto.
3187         (elmo-msgdb-overview-entity-set-size): Ditto.
3188         (elmo-msgdb-overview-entity-get-extra): Ditto.
3189         (elmo-msgdb-overview-entity-set-extra): Ditto.
3190         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3191         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3192         (elmo-msgdb-number-load): Ditto.
3193         (elmo-msgdb-overview-load): Ditto.
3194         (elmo-msgdb-mark-load): Ditto.
3195         (elmo-msgdb-number-save): Ditto.
3196         (elmo-msgdb-mark-save): Ditto.
3197         (elmo-msgdb-overview-save): Ditto.
3198         (modb-legacy-make-message-entity): New inline function.
3199         (elmo-msgdb-insert-file-header): Ditto.
3200         (elmo-msgdb-make-message-entity): Define.
3201         (elmo-msgdb-create-message-entity-from-file): Ditto.
3202         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3203         (elmo-msgdb-message-entity-number): Ditto.
3204         (elmo-msgdb-message-entity-set-number): Ditto.
3205         (elmo-msgdb-message-entity-field): Ditto.
3206         (elmo-msgdb-message-entity-set-field): Ditto.
3207         (elmo-msgdb-copy-message-entity): Ditto.
3208         (elmo-msgdb-match-condition-internal): Ditto.
3209
3210         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3211         (elmo-message-copy-entity): Rewrite.
3212         (elmo-message-entity-number): Ditto.
3213         (elmo-message-entity-set-number): Ditto.
3214         (elmo-message-entity-field): Use elmo-message-entity-db.
3215         (elmo-message-entity-set-field): Ditto.
3216         (elmo-message-field): Rewrite.
3217
3218         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3219         elmo-msgdb.el
3220         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3221
3222         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3223         elmo-message-entity-field.
3224         (elmo-shimbun-folder-shimbun-header): Ditto.
3225         (elmo-shimbun-entity-to-header): Ditto.
3226         (elmo-folder-msgdb-create): Ditto.
3227         (elmo-shimbun-msgdb-create-entity): Ditto;
3228         Use elmo-msgdb-create-message-entity-from-buffer.
3229         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3230         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3231
3232         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3233         elmo-msgdb-create-message-entity-from-file and 
3234         elmo-message-entity-field.
3235
3236         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3237         elmo-message-entity-number.
3238         (elmo-pop3-msgdb-create-message): Use
3239         elmo-msgdb-create-message-entity-from-buffer,
3240         elmo-message-entity-set-field, elmo-message-entity-number and
3241         elmo-message-entity-set-number.
3242
3243         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3244         the API change in elmo-msgdb-make-message-entity.
3245         (elmo-nntp-msgdb-create-message): Use
3246         elmo-msgdb-create-message-entity-from-buffer.
3247
3248         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3249         elmo-message-entity-field and
3250         elmo-msgdb-create-message-entity-from-file.
3251
3252         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3253         (elmo-msgdb-get-field): Abolish.
3254         (elmo-msgdb-get-number): Rewrite.
3255         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3256         (elmo-msgdb-flag-table): Ditto.
3257         (elmo-msgdb-get-last-message-id,
3258         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3259         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3260         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3261         (elmo-msgdb-create-overview-from-buffer,
3262         elmo-msgdb-overview-get-parent-entity): Abolish.
3263
3264         * elmo-mime.el (elmo-mime-display-as-is): Use
3265         elmo-message-entity-field.
3266
3267         * elmo-map.el (elmo-folder-pack-numbers): Use
3268         elmo-message-entity-set-number.
3269
3270         * elmo-maildir.el (elmo-folder-msgdb-create): 
3271         elmo-msgdb-create-message-entity-from-file instead of
3272         elmo-msgdb-create-overview-entity-from-file.
3273
3274         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3275         msgdb.
3276         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3277         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3278
3279         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3280         elmo-messge-entity-field and elmo-message-entity-number.
3281         (elmo-imap4-fetch-callback-1): Call
3282         elmo-msgdb-create-message-entity-from-buffer instead of
3283         elmo-msgdb-create-overview-from-buffer. 
3284         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3285         (elmo-find-fetch-strategy): Likewise.
3286
3287         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3288         elmo-localdir-msgdb-create-entity with argument msgdb.
3289
3290         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3291         and elmo-message-entity-set-number.
3292
3293         * elmo-cache.el (elmo-folder-msgdb-create): Use
3294         elmo-message-entity-field.
3295         (elmo-folder-msgdb-create): Call
3296         elmo-msgdb-create-message-entity-from-file instead of
3297         elmo-msgdb-create-overview-entity-from-file.
3298
3299         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3300         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3301         instead of elmo-msgdb-create-overview-from-buffer.
3302         (elmo-archive-msgdb-create-entity): Ditto.
3303         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3304         elmo-message-entity-field.
3305         (elmo-archive-parse-mmdf): Ditto.
3306
3307         * modb-entity.el: Removed.
3308
3309         * elmo-version.el (elmo-version): Up to 2.11.16.
3310
3311 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3312
3313         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3314         `is-local'.
3315         (elmo-folder-flag-as-answered): Ditto.
3316
3317 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3318
3319         * modb-standard.el: New file.
3320
3321         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3322         elmo-msgdb-convert-type is `sync'.
3323
3324         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3325         (elmo-msgdb-convert-type): New user option.
3326
3327         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3328         (elmo-load-msgdb): Auto detect saved type.
3329
3330         * elmo-version.el (elmo-version): Up to 2.11.15.
3331
3332 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3333
3334         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3335
3336         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3337         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3338         with argument `delete-if-none' when dst-folder is 'null.
3339
3340         * elmo-flag.el (elmo-folder-append-messages): Defined.
3341         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3342
3343 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3344
3345         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3346
3347 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3348
3349         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3350         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3351         (elmo-folder-commit): Ditto.
3352
3353 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3354
3355         * elmo-flag.el: New file.
3356
3357         * elmo-mark.el: Removed.
3358
3359         * modb-legacy.el (modb-legacy-new-mark,
3360         modb-legacy-unread-uncached-mark,
3361         modb-legacy-unread-cached-mark,
3362         modb-legacy-read-uncached-mark,
3363         modb-legacy-answered-cached-mark,
3364         modb-legacy-answered-uncached-mark,
3365         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3366         All other related portions are changed.
3367
3368         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3369         (elmo-folder-list-messages-with-global-mark): Abolish.
3370         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3371         (elmo-folder-flag-as-important): Ditto.
3372         (elmo-folder-unflag-read): Ditto.
3373         (elmo-folder-flag-as-read): Ditto.
3374         (elmo-folder-unflag-answered): Ditto.
3375         (elmo-folder-flag-as-answered): Ditto.
3376         (elmo-message-encache): Return the cache path.
3377         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3378         (elmo-message-set-flag): Transitional implementation.
3379         (elmo-message-unset-flag): Ditto.
3380         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3381         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3382         (elmo-init): Call elmo-global-flag-initialize.
3383         (toplevel): Added autoload settings for elmo-flag.
3384
3385         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3386
3387         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3388         (elmo-file-cache-delete): Don't treat global-mark.
3389
3390         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3391
3392         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3393
3394         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3395         `elmo-global-flags-set'.
3396
3397         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3398         `flag'.
3399         (elmo-folder-unflag-read): Ditto.
3400         (elmo-folder-unflag-important): Ditto.
3401         (elmo-folder-flag-as-important): Ditto.
3402         (elmo-folder-unflag-answered): Ditto.
3403         (elmo-folder-flag-as-answered): Ditto.
3404
3405         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3406         `elmo-global-flags-set'.
3407         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3408
3409         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3410
3411         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3412         `flag'.
3413         (elmo-folder-flag-as-important): Ditto.
3414         (elmo-folder-unflag-important): Ditto.
3415         (elmo-folder-flag-as-important): Ditto.
3416         (elmo-folder-unflag-read): Ditto.
3417         (elmo-folder-flag-as-read): Ditto.
3418         (elmo-folder-unflag-answered): Ditto.
3419         (elmo-folder-flag-as-answered): Ditto.
3420
3421         * elmo-multi.el (elmo-folder-list-importants): Don't call
3422         elmo-folder-list-messages-with-global-mark.
3423         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3424         (elmo-folder-unflag-important): Ditto.
3425         (elmo-folder-flag-as-read): Ditto.
3426         (elmo-folder-unflag-read): Ditto.
3427         (elmo-folder-flag-as-answered): Ditto.
3428         (elmo-folder-unflag-answered): Ditto.
3429
3430         * elmo-msgdb.el (elmo-msgdb-new-mark,
3431         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3432         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3433         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3434         (Moved to modb-legacy.el).
3435         (elmo-flag-table-get): Treat important flag too.
3436
3437         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3438         `mark' to `flag'.
3439         (elmo-map-folder-flag-as-important): Ditto.
3440         (elmo-map-folder-unflag-read): Ditto.
3441         (elmo-map-folder-flag-as-read): Ditto.
3442         (elmo-map-folder-unflag-answered): Ditto.
3443         (elmo-map-folder-flag-as-answered): Ditto.
3444         (elmo-folder-unflag-important): Ditto.
3445         (elmo-folder-flag-as-important): Ditto.
3446         (elmo-folder-unflag-read): Ditto.
3447         (elmo-folder-flag-as-read): Ditto.
3448         (elmo-folder-unflag-answered): Ditto.
3449         (elmo-folder-flag-as-answered): Ditto.
3450
3451         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3452         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3453         `flag'.
3454         (elmo-map-folder-unflag-important): Ditto.
3455         (elmo-map-folder-flag-as-read): Ditto.
3456         (elmo-map-folder-unflag-read): Ditto.
3457         (elmo-map-folder-flag-as-answered): Ditto.
3458         (elmo-map-folder-unflag-answered): Ditto.
3459
3460         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3461         `elmo-global-flags-set'.
3462         (elmo-global-flags-set): Added autoload setting.
3463
3464         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3465         `flag'.
3466
3467         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3468         `elmo-msgdb-global-mark-set'.
3469         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3470         Call `elmo-global-flags-set'.
3471         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3472         `flag'.
3473         (elmo-folder-flag-as-important-plugged): Ditto.
3474         (elmo-folder-unflag-read-plugged): Ditto.
3475         (elmo-folder-flag-as-read-plugged): Ditto.
3476         (elmo-folder-unflag-answered-plugged): Ditto.
3477         (elmo-folder-flag-as-answered-plugged): Ditto.
3478         (elmo-global-flags-set): Added autoload setting.
3479
3480         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3481         `flag'.
3482         (elmo-folder-unflag-read): Ditto.
3483         (elmo-folder-flag-as-important): Ditto.
3484         (elmo-folder-unflag-important): Ditto.
3485         (elmo-folder-flag-as-answered): Ditto.
3486         (elmo-folder-unflag-answered): Ditto.
3487
3488         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3489         change of `mark'->`flag'.
3490         (elmo-dop-queue-method-name-alist): Ditto.
3491         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3492         (elmo-folder-unflag-read-dop): Ditto.
3493         (elmo-folder-flag-as-important-dop): Ditto.
3494         (elmo-folder-unflag-important-dop): Ditto.
3495         (elmo-folder-flag-as-answered-dop): Ditto.
3496         (elmo-folder-unflag-answered-dop): Ditto.
3497
3498         * elmo-cache.el (elmo-folder-msgdb-create): Call
3499         `elmo-global-flags-set'.
3500
3501         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3502         Call `elmo-global-flags-set'.
3503         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3504         elmo-archive-parse-mmdf with argument `folder'.
3505         (elmo-archive-parse-mmdf): Added argument `folder';
3506         Call `elmo-global-flags-set'.
3507
3508         * elmo-version.el (elmo-version): Up to 2.11.14.
3509
3510 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3511
3512         * modb.el (elmo-msgdb-length): Define.
3513
3514         * elmo.el (elmo-make-folder): Fixed.
3515         (elmo-generic-folder-append-messages): Follow the API change.
3516
3517         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3518         API change.
3519
3520 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3521
3522         * modb.el: New file.
3523
3524         * modb-entity.el: Ditto.
3525
3526         * modb-legacy.el: Ditto.
3527
3528         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3529         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3530         of `elmo-msgdb-overview-get-entity'.
3531         (elmo-msgdb-get-field): Ditto.
3532         (elmo-msgdb-merge): Moved to `elmo.el'.
3533         (elmo-msgdb-length): Removed; redefine as modb method.
3534         (elmo-msgdb-change-mark): Abolish.
3535         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3536         (elmo-msgdb-match-condition): Don't use mark.
3537         (elmo-msgdb-overview-get-entity): Abolish.
3538         Split modb part into `modb*.el'.
3539
3540         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3541
3542         * elmo-shimbun.el (shimbun-mua-search-id): Use
3543         `elmo-msgdb-message-entity' instead of
3544         `elmo-msgdb-overview-get-entity'.
3545         (elmo-shimbun-folder-shimbun-header): Ditto.
3546         (elmo-shimbun-get-headers): Ditto.
3547         (elmo-shimbun-update-overview): Ditto.
3548
3549         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3550
3551         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3552
3553         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3554         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3555
3556         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3557         `elmo-msgdb-mark-to-flags'.
3558
3559         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3560         `elmo-msgdb-set-path'.
3561
3562         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3563  
3564         * elmo-version.el (elmo-version): Up to 2.11.13.
3565
3566         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3567
3568         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3569         of mark.
3570
3571 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3572
3573         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3574         mismatch.
3575
3576 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3577
3578         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3579         instead of `elmo-msgdb-get-cached'.
3580         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3581
3582         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3583         (elmo-msgdb-set-cached): Ditto.
3584         (elmo-msgdb-set-flag): Rewrite.
3585         (elmo-msgdb-unset-flag): Ditto.
3586
3587         * elmo-msgdb.el: Rewrite with luna.
3588
3589         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3590         (elmo-folder-msgdb): Follow the change above.
3591         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3592         (elmo-folder-unmark-important): Follow the API change.
3593         (elmo-folder-mark-as-important): Ditto.
3594         (elmo-folder-unmark-read): Ditto.
3595         (elmo-folder-mark-as-read): Ditto.
3596         (elmo-folder-unmark-answered): Ditto.
3597         (elmo-folder-mark-as-answered): Ditto.
3598         (elmo-folder-clear): Likewise.
3599
3600         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3601         instead of `elmo-msgdb-load' (renamed).
3602
3603         * elmo-version.el (elmo-version): Up to 2.11.12.
3604
3605 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3606
3607         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3608         change.
3609         (elmo-message-mark): Abolish.
3610         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3611         instead of `elmo-msgdb-change-mark'.
3612
3613         * elmo-pipe.el (elmo-message-mark): Abolish.
3614
3615         * elmo-multi.el (elmo-message-mark): Ditto.
3616
3617         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3618         (elmo-msgdb-unread-uncached-mark): Ditto.
3619         (elmo-msgdb-unread-cached-mark): Ditto.
3620         (elmo-msgdb-read-uncached-mark): Ditto.
3621         (elmo-msgdb-answered-cached-mark): Ditto.
3622         (elmo-msgdb-answered-uncached-mark): Ditto.
3623         (elmo-msgdb-important-mark): Ditto.
3624         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3625         `use-cache'.
3626         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3627         `flags'.
3628         (elmo-flag-table-load): Changed flag to list of flag.
3629         (elmo-flag-table-set): If flags is nil, set read flag.
3630         (elmo-flag-table-get): Return derived flags from global mark,
3631         cache status and saved flags.
3632         (elmo-msgdb-flag-table): Follow the change above.
3633         (elmo-msgdb-out-of-date-messages): New function.
3634
3635         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3636
3637         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3638
3639         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3640
3641         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3642         (elmo-nntp-msgdb-create-message): Ditto.
3643
3644         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3645
3646         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3647         independent.
3648         (elmo-folder-msgdb-create): Follow the API change.
3649
3650         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3651         (elmo-folder-append-messages): Ditto.
3652
3653         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3654         (elmo-folder-append-buffer): Ditto.
3655
3656         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3657
3658         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3659
3660         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3661         (elmo-archive-parse-mmdf): Ditto.
3662
3663         * elmo-version.el (elmo-version): Up to 2.11.11.
3664
3665 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3666
3667         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3668         `elmo-msgdb-mark'.
3669
3670         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3671
3672         * elmo-pipe.el (elmo-message-flags): Defined.
3673
3674         * elmo-multi.el (elmo-message-flags): Ditto.
3675
3676 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3677
3678         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3679         `elmo-msgdb-delete-msgs'.
3680
3681         * elmo.el (elmo-folder-count-flags): Don't use
3682         `elmo-msgdb-get-mark-alist'.
3683         (elmo-folder-detach-messages): Follow the API change.
3684
3685         * elmo.el (elmo-folder-list-messages): Append killed messages into
3686         result if `visible-only' is nil.
3687
3688         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3689         canceled messages.
3690         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3691         (elmo-folder-update-number): Likewise.
3692
3693         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3694         (elmo-pop3-sort-msgdb-by-original-number): Use
3695         `elmo-msgdb-sort-entities'.
3696
3697         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3698         (elmo-msgdb-sort-by-date): Use it.
3699         (elmo-msgdb-overview-sort-by-date): Abolish.
3700
3701         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3702
3703         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3704         (elmo-msgdb-flags): New function.
3705         (elmo-msgdb-merge): Use elmo-msgdb-append.
3706
3707         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3708         change.
3709
3710         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3711
3712         * elmo-dop.el (elmo-folder-status-dop): Use
3713         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3714
3715 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3716
3717         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3718
3719         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3720
3721         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3722
3723         * elmo-util.el (elmo-with-progress-display): New macro.
3724
3725         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3726
3727 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3728
3729         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3730         `elmo-folder-list-message-entities' instead of
3731         `elmo-msgdb-get-overview'.
3732         (elmo-map-folder-list-message-locations): Ditto.
3733
3734         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3735         methods instead of treat directly).
3736         (elmo-msgdb-clear): Ditto.
3737         (elmo-msgdb-delete-msgs): Ditto.
3738         (elmo-msgdb-sort-by-date): Ditto.
3739
3740         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3741         local variables.
3742         (elmo-nntp-folder-msgdb-create): Follow the API change.
3743
3744         * elmo-version.el (elmo-version): Up to 2.11.10.
3745
3746 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3747
3748         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3749         (elmo-msgdb-flags-to-mark): Ditto.
3750         (elmo-msgdb-append-entity): Ditto.
3751
3752         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3753         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3754         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3755         (elmo-archive-parse-mmdf): Ditto.
3756
3757         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3758
3759         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3760
3761         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3762
3763         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3764
3765         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3766
3767         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3768
3769         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3770
3771         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3772
3773         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3774         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3775         to empty msgdb.
3776
3777         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3778         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3779         instead of directly construction.
3780         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3781         instead of construct msgdb.
3782
3783         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3784         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3785         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3786         instead of construct msgdb.
3787
3788 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3789
3790         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3791         when field is from or subject.
3792
3793 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3794
3795         * elmo-multi.el (elmo-message-entity-parent): Define.
3796         (elmo-folder-search): Rewrite.
3797
3798 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3799
3800         * elmo-multi.el (elmo-message-cached-p): Define.
3801
3802         * elmo.el (elmo-message-cached-p): New method.
3803         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3804         (elmo-message-flags): New method.
3805         (elmo-message-flagged-p): New function.
3806
3807         * elmo-version.el (elmo-version): Up to 2.11.9.
3808
3809 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3810
3811         * elmo-version.el (elmo-version): Up to 2.11.8.
3812
3813         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3814
3815         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3816
3817 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3818
3819         * elmo.el (elmo-folder-detach-messages): Undo last change.
3820
3821 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3822
3823         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3824
3825         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3826         only when src folder type is pop3.
3827
3828 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3829
3830         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3831         elmo-msgdb-overview-entity-get-number instead of
3832         elmo-message-entity-number.
3833
3834 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3835
3836         * elmo-version.el (elmo-version): Up to 2.11.7.
3837
3838 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3839
3840         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3841         function.
3842
3843         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3844         (elmo-msgdb-merge): New function.
3845         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3846         (elmo-msgdb-make-index): Rewrite.
3847
3848         * elmo-version.el (elmo-version): Up to 2.11.6.
3849
3850         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3851         use it as a the path for loading message entities.
3852
3853         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3854
3855 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3856
3857         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3858         message-modified slot of itself if it does not require target msgdb.
3859
3860         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3861         if folder length is zero.
3862         (elmo-mime-display-as-is): Ditto.
3863
3864         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3865
3866         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3867
3868 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3869
3870         * elmo.el (elmo-folder-set-message-modified): New method.
3871         (elmo-generic-folder-commit): Use it.
3872         (elmo-folder-synchronize): Ditto.
3873
3874         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3875         (elmo-folder-commit): Remove duplicate definition.
3876
3877 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3878
3879         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3880
3881 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3882
3883         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3884         (elmo-strict-folder-diff): Ditto.
3885         (elmo-folder-set-info-max-by-numdb): Simplify.
3886
3887         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3888         elmo-msgdb-list-messages.
3889
3890         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3891         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3892
3893 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3894
3895         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3896         visible-only is non-nil.
3897         (elmo-folder-confirm-appends): Changed message.
3898         (elmo-folder-synchronize): Added argument disable-killed.
3899
3900         * elmo-multi.el (elmo-folder-synchronize): Added argument
3901         disable-killed.
3902
3903         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3904
3905         * elmo-version.el (elmo-version): Up to 2.11.5.
3906
3907         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3908         elmo-list-filter.
3909
3910         * elmo-util.el (elmo-list-filter): Simplify.
3911
3912         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3913         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3914         (elmo-generic-folder-diff): Abolish argument.
3915         (elmo-msgdb-load): Don't use number-alist.
3916
3917         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3918
3919         * elmo-pipe.el (elmo-folder-diff): Ditto.
3920
3921         * elmo-nmz.el (elmo-folder-diff): Ditto.
3922
3923         * elmo-net.el (elmo-folder-diff): Ditto.
3924
3925         * elmo-maildir.el (elmo-folder-diff): Ditto.
3926
3927         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3928
3929         * elmo-multi.el (elmo-folder-diff): Ditto
3930         (elmo-multi-folder-diff): Rewrite.
3931
3932 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3933
3934         * elmo-pipe.el (elmo-folder-msgdb): Define.
3935
3936 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3937
3938         * elmo.el (elmo-message-set-cached): Define as a method.
3939
3940         * elmo-pipe.el (elmo-message-set-cached): Define.
3941         (elmo-find-fetch-strategy): Ditto.
3942
3943         * elmo-multi.el (elmo-message-set-cached): Define.
3944         (elmo-find-fetch-strategy): Rewrite.
3945
3946         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3947
3948         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3949
3950 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3951
3952         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3953         instead of number-alist.
3954
3955         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3956         mark nor message-id when msgdb of source folder is not loaded.
3957
3958         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3959
3960         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3961
3962 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3963
3964         * elmo.el (elmo-folder-length): Don't require msgdb.
3965
3966 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3967
3968         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3969         (elmo-message-field): Ditto.
3970
3971         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3972         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3973         slot.
3974         (elmo-map-folder-list-answereds): Define.
3975         (elmo-maildir-list-location): Treat 'R' info.
3976         (elmo-folder-msgdb-create): Treat flag-table.
3977         (elmo-folder-append-messages): Save flag-table.
3978
3979 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3980
3981         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3982         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3983
3984 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3985
3986         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3987
3988         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3989         'read when mark is null.
3990
3991 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3992
3993         * elmo-version.el (elmo-version): Up to 2.11.4.
3994
3995 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3996
3997         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3998         (elmo-folder-mark-as-answered): Ditto.
3999
4000 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4001
4002         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4003         (elmo-pop3-get-session): Make msgdb directory after session.
4004         (elmo-folder-exists-p): Check exactly at the first time even when the
4005         elmo-pop3-exists-exactly is nil.
4006
4007         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4008         (elmo-folder-list-messages): Define instead of
4009         elmo-folder-list-messages-internal.
4010         (elmo-folder-check): Check destination folder.
4011         (elmo-folder-synchronize): Drain the pipe.
4012
4013         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4014         when msgdb is not loaded.
4015
4016         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4017
4018         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4019         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4020         messages.
4021
4022         * elmo.el (elmo-folder-kill-messages-before): New function.
4023         (elmo-folder-kill-messages): Ditto.
4024         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4025
4026         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4027         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4028         killed not by synchronize (e.g. scoring).
4029
4030 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4031
4032         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4033         treated.
4034         (elmo-folder-search): Follow the change above.
4035
4036         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4037         into the candidates of search field.
4038
4039 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4040
4041         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4042         (elmo-msgdb-unset-flag): Ditto.
4043
4044         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4045
4046 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4047
4048         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4049         (elmo-folder-commit): Define.
4050         (elmo-folder-synchronize): Ditto.
4051         (elmo-folder-list-flagged): Ditto.
4052         (elmo-folder-commit): Ditto.
4053         (elmo-folder-length): Ditto.
4054         (elmo-folder-count-flags): Ditto.
4055         (elmo-message-mark): Ditto.
4056         (elmo-message-field): Ditto.
4057         (elmo-message-entity): Ditto.
4058         (elmo-message-folder): Ditto.
4059
4060 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4061
4062         * elmo.el (elmo-message-field): Define as a method.
4063
4064         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4065         (elmo-message-field): Define.
4066
4067         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4068         (elmo-folder-list-importants): Ditto.
4069         (elmo-folder-list-answereds): Ditto.
4070
4071         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4072         qualifier.
4073         (elmo-folder-mark-as-read): Ditto.
4074         (elmo-folder-unmark-read): Ditto.
4075         (elmo-folder-mark-as-answered): Ditto.
4076         (elmo-folder-unmark-answered): Ditto.
4077         (elmo-folder-list-flagged): Define.
4078         (elmo-folder-commit): Ditto.
4079         (elmo-folder-length): Ditto.
4080         (elmo-folder-count-flags): Ditto.
4081
4082 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4083
4084         * elmo.el (elmo-folder-detach-messages): New method.
4085         (elmo-folder-move-messages): Use it.
4086         (elmo-folder-synchronize): Ditto.
4087
4088         * elmo-multi.el (elmo-folder-detach-messages): Define.
4089
4090         * elmo.el (elmo-message-copy-entity): New function.
4091         (elmo-message-entity-set-number): Ditto.
4092         (elmo-message-mark): Define as method.
4093
4094         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4095         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4096         (elmo-message-entity): Fixed last change.
4097         (elmo-message-mark): Define.
4098         (elmo-folder-msgdb-create): Abolish.
4099         (elmo-multi-folder-append-msgdb): Ditto.
4100         (elmo-multi-folder-diff): Fixed.
4101         (elmo-multi-split-number-alist): Removed.
4102         (elmo-multi-split-mark-alist): Removed.
4103         (elmo-folder-list-messages): Define.
4104         (elmo-folder-list-messages-internal): Removed.
4105
4106         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4107         local file messages.
4108         (elmo-folder-msgdb-create): Fixed read mark.
4109
4110 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4111
4112         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4113         if mark is nil.
4114
4115 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4116
4117         * elmo.el (elmo-folder-list-message-entities): Define as inline
4118         function.
4119         (elmo-folder-messages): Abolish.
4120
4121         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4122         folder.
4123         (elmo-folder-synchronize): Define.
4124         (elmo-message-entity): Define.
4125
4126 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4127
4128         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4129         elmo-imap4-session-select-mailbox.
4130
4131         * elmo.el (elmo-folder-move-messages): Don't display any message.
4132
4133         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4134         parsing.
4135         (elmo-imap4-session-check): Don't wait CHECK response.
4136         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4137
4138 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4139
4140         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4141
4142 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4143
4144         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4145         API.
4146         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4147
4148
4149         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4150         (elmo-folder-list-message-entities): Added argument in-msgdb and
4151         numbers.
4152         (elmo-folder-synchronize): Define as a method.
4153
4154         * elmo-nntp.el (elmo-folder-initialize): Don't use
4155         elmo-nntp-default-user if zero-length username is specified
4156         explicitly.
4157
4158 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4159
4160         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4161         server name in case with username.
4162         (XXX: this is ad-hoc fix against username includes "@", it
4163         should be solved fundamentally)
4164
4165 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4166
4167         * elmo-nntp.el (elmo-nntp-debug): New function.
4168         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4169         (elmo-network-authenticate-session): Hide auth-info from the log.
4170
4171         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4172         user name if it is equal to elmo-nntp-default-user.
4173
4174 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4175
4176         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4177         instead of shimbun-server-internal;
4178         Use shimbun-current-group instead of shimbun-current-group-internal.
4179         (elmo-folder-plugged-p): Use shimbun-server instead of
4180         shimbun-server-internal.
4181         (elmo-folder-set-plugged): Ditto.
4182         (elmo-net-port-info): Ditto.
4183         (elmo-folder-check): Ditto.
4184         (elmo-folder-expand-msgdb-path): Ditto.
4185         (elmo-folder-list-subfolders): Ditto.
4186
4187 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4188
4189         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4190         Convert field-name to lower case.
4191         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4192
4193 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4194
4195         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4196         `message' and `error' take format string.
4197
4198 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4199
4200         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4201
4202 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4203
4204         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4205         recursive call (can't byte compile on emacs 20.7).
4206
4207 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4208
4209         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4210         (elmo-folder-list-message-entities): New API.
4211         (elmo-message-entity): Ditto.
4212         (elmo-message-entity-parent): Ditto.
4213         (elmo-folder-do-each-message-entity): Ditto.
4214         (elmo-message-entity-number): Ditto.
4215         (elmo-message-entity-field): Ditto.
4216         (elmo-message-entity-set-field): Ditto.
4217         (elmo-folder-count-flags): Ditto.
4218         (elmo-folder-length): Ditto.
4219
4220         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4221         not.
4222
4223         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4224         (elmo-msgdb-count-marks): Abolish.
4225         (elmo-msgdb-make-entity): Ditto.
4226         (elmo-msgdb-do-each-entity): Ditto.
4227         (elmo-msgdb-message-entity): New inline function.
4228         (elmo-msgdb-message-entity-field): Ditto.
4229         (elmo-msgdb-message-entity-set-field): Ditto.
4230         (elmo-msgdb-make-message-entity): New function.
4231
4232 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4233
4234         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4235         to flag. (All other related portions are changed.)
4236         (elmo-folder-msgdb-create): Likewise.
4237         (elmo-generic-folder-append-messages): Use flag-table instead of
4238         seen-list.
4239         (elmo-folder-move-messages): Removed redundant process.
4240         (elmo-folder-synchronize): Likewise.
4241
4242         * elmo-msgdb.el (elmo-flag-table-get): New function.
4243         (elmo-flag-table-save): Fixed.
4244         (elmo-msgdb-length): New inline function.
4245         (elmo-msgdb-flag-table): New function.
4246         (elmo-msgdb-mark): Add optional argument new.
4247         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4248         (elmo-msgdb-seen-list): Ditto.
4249         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4250
4251
4252 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4253
4254         * elmo.el (elmo-message-set-mark): Abolish.
4255         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4256         (All related portions are changed.)
4257
4258         * elmo-msgdb.el (toplevel): Added comment.
4259         (elmo-load-msgdb): Added 4th element `path'.
4260         (elmo-msgdb-append): Follow the change above.
4261         (elmo-msgdb-clear): Ditto.
4262         (elmo-msgdb-delete-msgs): Ditto.
4263         (elmo-msgdb-get-path): New inline function.
4264         (elmo-msgdb-set-path): Ditto.
4265         (elmo-flag-table-filename): New variable.
4266         (elmo-flag-table-load): New function.
4267         (elmo-flag-table-set): Ditto.
4268         (elmo-flag-table-save): Ditto.
4269         (elmo-msgdb-get-field-value): Abolish.
4270         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4271
4272 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4273
4274         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4275         the folder has been deleted successfully.
4276         * elmo-imap4.el (elmo-folder-delete): Ditto.
4277         * elmo-archive.el (elmo-folder-delete): Ditto.
4278         * elmo-localdir.el (elmo-folder-delete): Ditto.
4279         * elmo-maildir.el (elmo-folder-delete): Ditto.
4280
4281 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4282
4283         * elmo-util.el (elmo-string-member-ignore-case): New function.
4284         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4285         (elmo-imap4-fetch-callback-1-subr): Likewise.
4286
4287 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4288
4289         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4290         the case of the name attribute "\Noselect".
4291
4292 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4293
4294         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4295
4296         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4297         flist, is not always a member of onum-alist.
4298
4299 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4300
4301         * elmo-version.el (elmo-version): Up to 2.11.3.
4302
4303 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4304
4305         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4306         copied from localdir's one.
4307
4308         * elmo-pipe.el (elmo-folder-rename): New method, rename
4309         destination folder with leaving source folder as it is.
4310
4311 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4312
4313         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4314         replace-regexp.
4315
4316 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4317
4318         * elmo-version.el (elmo-version): Up to 2.11.2.
4319
4320 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4321
4322         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4323         shimbun-open in case of "@".
4324         (elmo-folder-open-internal): Cope with shimbun = nil case.
4325         (elmo-folder-plugged-p): Ditto.
4326         (elmo-folder-list-subfolders): Make list for "@/" group.
4327
4328 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4329
4330         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4331         mailbox (e.g. for %~/something).
4332
4333 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4334
4335         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4336         Replace nested conditional with guard clauses.
4337
4338 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4339
4340         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4341         error [wl:11327].
4342
4343         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4344         print-depth.
4345
4346 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4347
4348         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4349         Replace nested conditional with guard clauses.
4350
4351 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4352
4353         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4354         (elmo-passwd-alist-save): Ditto.
4355         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4356
4357 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4358
4359         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4360         dir-name only if it is absolute path.
4361         (TODO: distinguish +/something and +something)
4362
4363 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4364
4365         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4366         path for "+~/something".
4367
4368 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4369
4370         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4371         as non-directory, cause error before rename-file.
4372         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4373         apropriately, mimic localdir's one.
4374         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4375
4376 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4377
4378         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4379
4380 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4381
4382         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4383
4384         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4385         
4386         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4387         is included in the global-mark or not.
4388
4389 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4390
4391         * utf7.el (toplevel): Avoid error when the function
4392         find-coding-system does not exist.
4393
4394 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4395
4396         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4397         cache even if the folder is plugged.
4398         (elmo-nntp-search-primitive): Do nothing when body search is
4399         invoked (although it is not used by the change above).
4400         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4401
4402 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4403
4404         * elmo-version.el (elmo-version): Up to 2.11.1.
4405
4406 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4407
4408         * elmo-archive.el: Specify charset.
4409
4410 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4411
4412         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4413         process buffer lives or not.
4414
4415         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4416         while flushing queues (It causes infinite loop).
4417
4418 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4419
4420         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4421
4422 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4423
4424         * utf7.el (toplevel): Check the ucs features dynamically.
4425         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4426
4427         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4428         folder is creatabe or not if it already exists.
4429
4430 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4431
4432         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4433
4434         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4435
4436         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4437         (elmo-imap4-read-response): Take care of garbage response.
4438
4439 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4440
4441         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4442         just return nil instead of error.
4443
4444 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4445
4446         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4447         search-key is "body".
4448
4449 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4450
4451         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4452         of elmo-string-matched-assoc to use match-data.
4453         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4454
4455 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4456
4457         * elmo-split.el (elmo-split->): New function.
4458         (elmo-split-<): Ditto.
4459
4460 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4461
4462         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4463         workaround for invalid message-id.
4464
4465 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4466
4467         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4468         return normal pop3 session or pop3 biff session.
4469
4470 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4471
4472         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4473         info part to the cur files when the new files already have it.
4474         (Adviced by Jared Rhine <jared@wordzoo.com>)
4475
4476 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4477
4478         * elmo-split.el (elmo-split-default-action): New variable.
4479         (elmo-split-subr): Use it if all other conditions are passed.
4480         Extend `fname' and rename it as `action'. (implemented
4481         Teranishi-san's idea in [wl:10800])
4482
4483 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4484
4485         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4486         * elmo-util.el: Ditto.
4487
4488 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4489
4490         * elmo.el (elmo-message-accessible-p): Renamed from
4491         elmo-message-cached-p and rewritten.
4492
4493 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4494
4495         * elmo.el (elmo-folder-list-flagged): New generic function.
4496         (elmo-folder-list-importants): New implementation.
4497         (elmo-folder-list-answereds): Ditto.
4498         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4499         Added 'digest'.
4500         (elmo-message-cached-p): New function.
4501         (elmo-message-set-flag): Ditto (no content).
4502         (elmo-message-unset-flag): Ditto.
4503         (elmo-folder-list-messages-mark-match): Abolish.
4504
4505         * elmo-util.el (elmo-regexp-opt): New function.
4506
4507         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4508         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4509         Added 'digest'.
4510         (elmo-msgdb-list-flagged): New function.
4511
4512         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4513         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4514         Added 'digest'.
4515
4516         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4517
4518 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4519
4520         * elmo-version.el (elmo-version): Up to 2.11.0.
4521
4522 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4523
4524         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4525         `elmo-file-cache-exists-p'; use proper mark that depends on
4526         `use-cache'.
4527         (elmo-msgdb-unset-flag): Ditto.
4528         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4529
4530         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4531         with 4th argument `use-cache'.
4532
4533 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4534
4535         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4536         (elmo-folder-mark-as-important): Ditto.
4537         (elmo-folder-unmark-read): Ditto.
4538         (elmo-folder-mark-as-read): Ditto.
4539         (elmo-folder-unmark-answered): Ditto.
4540         (elmo-folder-mark-as-answered): Ditto.
4541
4542         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4543         message status.
4544         (elmo-msgdb-mark): Likewise.
4545         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4546         (elmo-msgdb-unset-flag): Likewise.
4547
4548         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4549
4550 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4551
4552         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4553         `last:' filter.
4554
4555 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4556
4557         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4558         set spool-length to 0.
4559
4560 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4561
4562         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4563         (elmo-dop-queue-flush): Fixed last change.
4564
4565 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4566
4567         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4568         if require-msgdb slot is nil.
4569         (elmo-folder-list-importants): Likewise.
4570
4571 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4572
4573         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4574         mark is changed.
4575
4576         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4577         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4578         is changed.
4579
4580 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4581
4582         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4583
4584 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4585
4586         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4587
4588         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4589
4590 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4591
4592         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4593         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4594
4595 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4596
4597         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4598         the problem reported by Sean Rima [wl-en:180].
4599
4600 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4601
4602         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4603
4604         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4605
4606         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4607
4608         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4609
4610         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4611
4612         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4613
4614         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4615
4616 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4617
4618         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4619         status number.
4620
4621 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4622
4623         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4624         (elmo-folder-mark-as-read): Follow the API change.
4625         (elmo-message-set-cached): New function.
4626
4627         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4628
4629         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4630
4631         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4632         (elmo-folder-mark-as-important): Ditto.
4633         (elmo-folder-unmark-read): Ditto.
4634         (elmo-folder-mark-as-read): Ditto.
4635         (elmo-folder-unmark-answered): Ditto.
4636         (elmo-folder-mark-as-answered): Ditto.
4637
4638         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4639         (elmo-folder-unmark-important): Ditto.
4640         (elmo-folder-mark-as-read): Ditto.
4641         (elmo-folder-unmark-read): Ditto.
4642         (elmo-folder-mark-as-answered): Ditto.
4643         (elmo-folder-unmark-answered): Ditto.
4644
4645         * elmo-mark.el (toplevel): Removed some mark method definitions.
4646
4647         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4648         (elmo-map-folder-mark-as-answered): Ditto.
4649         (elmo-folder-unmark-important): Add :before qualifier.
4650         (elmo-folder-mark-as-important): Ditto.
4651         (elmo-folder-unmark-read): Ditto.
4652         (elmo-folder-mark-as-read): Ditto.
4653         (elmo-folder-unmark-answered): Define.
4654         (elmo-folder-mark-as-answered): Ditto.
4655
4656         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4657         (elmo-map-folder-unmark-answered): Ditto.
4658
4659         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4660
4661         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4662         (elmo-folder-mark-as-important): Ditto.
4663         (elmo-folder-unmark-read): Ditto.
4664         (elmo-folder-mark-as-read): Ditto.
4665         (elmo-folder-unmark-answered): Ditto.
4666         (elmo-folder-mark-as-answered): Ditto.
4667
4668         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4669         `mark'; evaluate mark condition.
4670         (elmo-msgdb-match-condition-internal): New function.
4671         (elmo-msgdb-match-condition): Call it; changed argument.
4672
4673         * elmo.el (elmo-folder-search): Follow the API change on
4674         `elmo-msgdb-match-condition'.
4675
4676 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4677
4678         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4679         original mark is non-nil.
4680
4681 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4682
4683         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4684         (elmo-map-folder-list-answereds): New method.
4685         (elmo-folder-list-unreads): Add :around qualifier.
4686         (elmo-folder-list-importants): Ditto.
4687         (elmo-folder-list-answereds): Ditto.
4688
4689 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4690
4691         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4692
4693         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4694         method if msgdb is not required.
4695         (elmo-filter-folder-list-importants): Don't treat global-mark.
4696
4697         * elmo.el (elmo-folder-list-importants): Ditto.
4698
4699         * elmo-net.el (elmo-folder-list-importants): Ditto.
4700
4701         * elmo-map.el (elmo-folder-list-importants): Ditto.
4702
4703         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4704
4705         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4706         (elmo-imap4-folder-list-any-plugged): New function.
4707         (elmo-imap4-search-internal-primitive): Use it.
4708
4709         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4710         only when require-msgdb slot is non-nil.
4711         (elmo-folder-close): Clear target folder's msgdb.
4712
4713 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4714
4715         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4716         (elmo-pop3-msgdb-create-by-header): Ditto.
4717         (elmo-pop3-msgdb-create-message): Ditto.
4718
4719         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4720
4721         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4722
4723         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4724
4725         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4726         (elmo-folder-msgdb-create): Ditto.
4727         (elmo-nntp-folder-msgdb-create): Ditto.
4728         (elmo-nntp-msgdb-create-by-header): Ditto.
4729         (elmo-nntp-msgdb-create-message): Ditto.
4730         (elmo-folder-list-unreads): Define.
4731
4732         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4733         (elmo-folder-append-messages): Ditto.
4734         (elmo-folder-list-unreads): Define.
4735         (elmo-folder-list-importants): Ditto.
4736         (elmo-folder-list-answereds): Ditto.
4737
4738         * elmo-net.el (elmo-folder-list-unreads): Define.
4739         (elmo-folder-list-importants): Ditto.
4740         (elmo-folder-list-answereds): Ditto.
4741         (elmo-folder-list-answereds-plugged): Ditto.
4742         (elmo-folder-msgdb-create): Follow the API change.
4743         (elmo-folder-msgdb-create-unplugged): Ditto.
4744         (elmo-folder-unmark-answered): Define.
4745         (elmo-folder-mark-as-answered-unplugged): Ditto.
4746         (elmo-folder-unmark-answered-unplugged): Ditto.
4747
4748         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4749         (elmo-msgdb-unread-uncached-mark): Ditto.
4750         (elmo-msgdb-unread-cached-mark): Ditto.
4751         (elmo-msgdb-read-uncached-mark): Ditto.
4752         (elmo-msgdb-answered-cached-mark): Ditto.
4753         (elmo-msgdb-answered-uncached-mark): Ditto.
4754         (elmo-msgdb-important-mark): Ditto.
4755         (elmo-msgdb-set-mark): Rewrite.
4756         (elmo-msgdb-count-marks): Rewrite.
4757         (elmo-msgdb-mark-alist-set): Abolish.
4758         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4759         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4760
4761         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4762         (elmo-folder-close): Define.
4763         (elmo-folder-msgdb-create): Follow the API change.
4764         (elmo-folder-list-unreads): Rewrite.
4765         (elmo-folder-mark-as-important): Ditto.
4766         (elmo-folder-unmark-important): Ditto.
4767         (elmo-folder-mark-as-read): Ditto.
4768         (elmo-folder-unmark-read): Ditto.
4769         (elmo-folder-mark-as-answered): Define.
4770         (elmo-folder-unmark-answered): Ditto.
4771
4772         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4773         (elmo-folder-append-messages): Ditto.
4774
4775         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4776
4777         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4778         (elmo-folder-list-importants): Ditto.
4779
4780         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4781         (elmo-folder-append-messages): Ditto.
4782
4783         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4784         change.
4785         (elmo-folder-msgdb-create-plugged): Ditto.
4786         (elmo-folder-append-messages): Ditto.
4787         (elmo-folder-list-answereds-plugged): Define.
4788         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4789         (elmo-folder-unmark-answered-plugged): Define.
4790         (elmo-folder-mark-as-answered-plugged): Ditto.
4791         (elmo-folder-search-requires-msgdb-p): Ditto.
4792
4793         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4794         (elmo-folder-initialize): Set it.
4795         (elmo-folder-msgdb): Define.
4796         (elmo-folder-check): Call elmo-folder-synchronize.
4797         (elmo-folder-close): Define.
4798         (elmo-folder-commit): Ditto.
4799         (elmo-folder-msgdb-create): Rewrite.
4800         (elmo-folder-list-unreads): Ditto.
4801         (elmo-folder-list-importants): Ditto.
4802         (elmo-folder-mark-as-read): Ditto.
4803         (elmo-folder-unmark-read): Ditto.
4804         (elmo-folder-mark-as-important): Ditto.
4805         (elmo-folder-unmark-important): Ditto.
4806         (elmo-folder-mark-as-answered): Define.
4807         (elmo-folder-unmark-answered): Ditto.
4808
4809         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4810         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4811         (elmo-dop-queue-method-name-alist): Likewise.
4812         (elmo-folder-mark-as-answered-dop): New inline function.
4813         (elmo-folder-unmark-answered-dop): Ditto.
4814         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4815
4816         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4817         (elmo-folder-msgdb-create): Ditto.
4818         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4819         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4820         (elmo-archive-parse-mmdf): Ditto.
4821
4822         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4823         (elmo-folder-list-unreads-internal): Ditto.
4824
4825         * elmo.el (elmo-folder-msgdb): Define as generic function.
4826         (elmo-folder-list-messages): Added argument `in-msgdb'.
4827         (elmo-folder-list-unreads): Define as generic function.
4828         (elmo-folder-list-importants): Ditto.
4829         (elmo-folder-list-answereds): Ditto.
4830         (elmo-folder-list-messages-with-global-mark): New function.
4831         (elmo-folder-msgdb-create): Removed mark arguments.
4832         (elmo-folder-unmark-answered): New generic function.
4833         (elmo-folder-mark-as-answered): Ditto.
4834         (elmo-folder-append-messages): Removed argunment `unread-marks'
4835         (elmo-folder-list-unreads-internal): Abolish.
4836         (elmo-folder-list-importants-internal): Ditto.
4837         (elmo-folder-search-requires-msgdb-p): New generic function.
4838         (elmo-folder-search-requires-msgdb-p-internal): New function.
4839         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4840         elmo-msgdb-load.
4841         (elmo-folder-search-fast): Added key 'mark'.
4842         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4843         instead of unread-marks argument.
4844         (elmo-folder-move-messages): Removed argunment `unread-marks'
4845         (elmo-folder-unmark-important): Define.
4846         (elmo-folder-mark-as-important): Ditto.
4847         (elmo-folder-unmark-read): Ditto.
4848         (elmo-folder-mark-as-read): Ditto.
4849         (elmo-folder-unmark-answered): Ditto.
4850         (elmo-folder-mark-as-answered): Ditto.
4851         (elmo-folder-replace-marks): Abolish.
4852         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4853         duplicates.
4854         (elmo-folder-synchronize): Removed mark arguments;
4855         return crosspost only number.
4856
4857 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4858
4859         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4860         Remove redundunt connectivity check.
4861
4862 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4863
4864         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4865         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4866
4867 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4868
4869         * pldap.el (ldap-decode-string): Return string as-is if
4870         `ldap-coding-system' is nil.
4871         (ldap-encode-string): Ditto.
4872         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4873         (ldap-default-host): Fixed docstring.
4874
4875 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4876
4877         * elmo-util.el (elmo-warning): Define as a macro which uses
4878         `display-warning' if it is defined as a function.
4879
4880         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4881         (elmo-split-equal): Use it.
4882         (elmo-split-match): Ditto.
4883         (elmo-split-message-entity): New buffer-local variable.
4884         (elmo-split-subr): Set it.
4885
4886         * elmo-version.el (elmo-version): Up to 2.9.15.
4887
4888 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4889
4890         * elmo-imap4.el (elmo-network-initialize-session):
4891         Check capability after starttls.
4892
4893 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4894
4895         * elmo-util.el (elmo-list-delete): Added optional argument
4896         DELETE-FUNCTION.
4897
4898         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4899
4900         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4901
4902         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4903
4904         * elmo-imap4.el (elmo-folder-initialize): Don't use
4905         elmo-imap4-default-mailbox.
4906
4907 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4908
4909         * elmo-split.el (toplevel): Use `product-provide'.
4910         (elmo-split): Checkdoc.
4911
4912 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4913
4914         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4915         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4916         the function `elmo-imap4-debug-1'.
4917
4918 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4919
4920         * elmo-split.el (elmo-split): Moved to run hooks and to show
4921         message from elmo-split-subr.
4922         (elmo-split-subr): Follow the change above.
4923
4924         * elmo-split.el (elmo-split-subr): New function (renamed from
4925         elmo-split-subr).
4926         (elmo-split): Changed to call elmo-split-subr by element of
4927         elmo-split-folder.
4928         (elmo-split-folder): Changed customization type to choice.
4929
4930 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4931
4932         * elmo-split.el (elmo-split-and): Fixed condition.
4933
4934 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4935
4936         * elmo-split.el: New file.
4937         (elmo-split): Fixed logic.
4938         Display "Test:" instead of "Folder:" when reharsal.
4939
4940         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4941         explicitly.
4942
4943         * elmo-version.el (elmo-version): Up to 2.9.14.
4944
4945         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4946         wl-expand-newtext).
4947
4948 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4949
4950         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4951         message with no message-id field.
4952
4953 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4954
4955         * elmo-version.el (elmo-version): Up to 2.9.13.
4956
4957         * elmo-dop.el (elmo-folder-status-dop): Fix.
4958
4959 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4960
4961         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4962
4963         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4964         changing default value of default-mime-charset.
4965         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4966
4967         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4968
4969         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4970         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4971         instead of elmo-dop-queue-method-name-alist to check merging queue.
4972         (elmo-folder-delete-messages-dop): Delete from queue if negative
4973         message number.
4974         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4975         file is already removed.
4976
4977 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4978
4979         * elmo-vars.el: Bind colon keywords for old Emacsen.
4980
4981 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4982
4983         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4984         against non-exsisting charset.
4985
4986 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4987
4988         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4989         Use eword-decode-and-unfold-unstructured-field-body.
4990
4991         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4992         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4993         exists to decode raw subject string.
4994         (toplevel): Require 'mime.
4995
4996         * elmo-version.el (elmo-version): Up to 2.9.12.
4997
4998 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4999
5000         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5001         (elmo-msgdb-set-mark): Ditto.
5002
5003         * elmo-version.el (elmo-version): Up to 2.9.11.
5004
5005 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5006
5007         * elmo-util.el (elmo-delete-match-files): New function.
5008
5009         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5010         instead of elmo-delete-directory.
5011
5012         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5013         elmo-hash-minimun-size as 63.
5014
5015         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5016         elmo-diff-unread is nil.
5017
5018         * elmo-imap4.el (elmo-folder-open): Fix.
5019
5020         * elmo.el (elmo-message-mark): Rewrite.
5021         (elmo-message-field): Ditto.
5022         (elmo-message-set-mark): Ditto.
5023         (elmo-folder-replace-marks): New function.
5024         (elmo-generic-folder-append-msgdb): Removed third argument for
5025         elmo-msgdb-append.
5026         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5027         (elmo-msgdb-load): New implementation.
5028
5029         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5030
5031         * elmo-util.el (elmo-list-insert): New implementation.
5032
5033         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5034         argument for elmo-msgdb-append.
5035         
5036
5037         * elmo-msgdb.el (elmo-load-msgdb): New function.
5038         (elmo-make-msgdb): Ditto.
5039         (elmo-msgdb-get-index): New inline function.
5040         (elmo-msgdb-set-index): Ditto.
5041         (elmo-msgdb-get-entity-hashtb): Ditto.
5042         (elmo-msgdb-get-mark-hashtb): Ditto.
5043         (elmo-msgdb-get-mark): Ditto.
5044         (elmo-msgdb-set-mark): Ditto.
5045         (elmo-msgdb-count-marks): Ditto.
5046         (elmo-msgdb-get-number): Ditto.
5047         (elmo-msgdb-get-field): Ditto.
5048         (elmo-msgdb-seen-list): Ditto.
5049         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5050         (elmo-msgdb-delete-msgs): Follow the changes above.
5051         (elmo-msgdb-overview-get-entity): Ditto.
5052         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5053         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5054         and rewritten.
5055         (elmo-msgdb-make-index): Likewise.
5056         (elmo-msgdb-append): Removed third argument.
5057         (elmo-msgdb-clear): Clear index as nil.
5058         (elmo-folder-set-info-hashtb): Removed.
5059         (elmo-folder-set-info-max-by-numdb): Ditto.
5060         (elmo-folder-info-make-hashtb): Ditto.
5061
5062         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5063
5064         * elmo-map.el (elmo-folder-pack-number): Ditto.
5065
5066 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5067
5068         * elmo-version.el (elmo-version): Up to 2.9.10.
5069
5070         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5071
5072         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5073
5074 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5075
5076         * elmo-utils.el (elmo-make-directory): Add option.
5077         Default file mode is 700.
5078
5079 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5080
5081         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5082
5083 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5084
5085         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5086         mime-charset.
5087
5088         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5089         and "smaller".
5090
5091 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5092
5093         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5094         (elmo-shimbun-folder-entity-hash): New function.
5095         (elmo-shimbun-folder-shimbun-header): Ditto.
5096         (elmo-shimbun-entity-to-header): Ditto.
5097         (elmo-shimbun-msgdb-to-headers): Removed.
5098         (elmo-shimbun-folder-setup): Ditto.
5099         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5100         for hash key.
5101         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5102         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5103         Removed useless local bind.
5104         (elmo-folder-open-internal): Don't call
5105         `elmo-shimbun-folder-setup'.
5106         (elmo-folder-close-internal): Clear entity-hash slot.
5107         (elmo-folder-clear): Ditto.
5108         (elmo-shimbun-msgdb-create-entity): Use
5109         `elmo-shimbun-folder-shimbun-header'.
5110         (elmo-map-message-fetch): Ditto.
5111         (elmo-shimbun-update-overview): Use overview entity instead of
5112         shimbun header to lookup id by references.
5113         (elmo-map-folder-list-message-locations): Use not only headers but
5114         also overviews to list locations.
5115
5116 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5117
5118         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5119         msgdb path.
5120
5121         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5122
5123 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5124
5125         * elmo-util.el (elmo-read-search-condition-internal): Give default
5126         value for date.
5127
5128 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5129
5130         * elmo-util.el (elmo-condition-parse-search-value): Accept
5131         YYYY-MM-DD format to search.
5132         * elmo-date.el (elmo-date-get-datevec): Likewise.
5133
5134 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5135
5136         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5137         debugging code.
5138
5139 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5140
5141         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5142         from t.
5143
5144         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5145
5146         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5147         case from `elmo-folder-exists-p'.
5148         (elmo-folder-exists-p): Removed.
5149         (elmo-folder-creatable-p) Ditto.
5150
5151         * elmo-net.el (elmo-folder-create): Defined.
5152         (elmo-folder-create-unplugged): New function.
5153         (elmo-folder-exists-p): Changed default value to nil from t.
5154
5155         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5156         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5157
5158         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5159         `elmo-create-folder-dop' and append queue
5160         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5161         (elmo-folder-create-dop-delayed): New function.
5162
5163         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5164
5165         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5166
5167         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5168         (elmo-folder-writable-p) : Ditto.
5169
5170         * elmo-version.el (elmo-version): Up to 2.9.9.
5171
5172 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5173
5174         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5175         `elmo-message-use-cache-p' returns nil.
5176         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5177         (ignore cache file and refer the substance in local folders)
5178
5179 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5180
5181         * elmo-version.el (elmo-version): Up to 2.9.8.
5182
5183 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5184
5185         * elmo-version.el (elmo-version): Up to 2.9.7.
5186
5187         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5188
5189 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5190
5191         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5192
5193 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5194
5195         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5196         from --early.
5197         (elmo-map-folder-list-message-locations): Reverse location list.
5198
5199 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5200
5201         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5202
5203 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5204
5205         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5206         as a key.
5207         (elmo-nntp-folder-list-subfolders): Follow the change above.
5208
5209 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5210
5211         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5212         name if authentication type is specified.
5213
5214 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5215
5216         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5217         variable.
5218         (elmo-default-nntp-stream-type): Ditto.
5219         (elmo-default-pop3-stream-type): Ditto.
5220
5221 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5222
5223         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5224
5225 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5226
5227         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5228         elmo-vars.el.
5229         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5230
5231         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5232         (elmo-maildir-folder-path): Ditto.
5233         (elmo-maildir-list): Ditto (abolished).
5234
5235 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5236
5237         * elmo-version.el (elmo-version): Up to 2.9.6.
5238
5239 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5240
5241         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5242         (elmo-maildir-folder-path): Ditto.
5243         (elmo-msgdb-directory): Ditto.
5244         (elmo-passwd-life-time): Ditto.
5245         (elmo-msgdb-extra-fields): Ditto.
5246         (elmo-enable-disconnected-operation): Ditto.
5247
5248 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5249
5250         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5251         other choices.
5252         (elmo-pop3-default-authenticate-type): Ditto.
5253
5254 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5255
5256         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5257         choices for custom.
5258         (elmo-pop3-default-authenticate-type): Ditto.
5259
5260 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5261
5262         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5263         mailbox to new-folder.
5264
5265 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5266
5267         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5268         less than new, set new as unread.
5269
5270         * elmo-util.el (elmo-string): Don't put text-property if nil.
5271
5272 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5273
5274         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5275         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5276
5277 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5278
5279         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5280         is nil on `completing-read'.
5281
5282 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5283
5284         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5285         for namespace part.
5286         (elmo-imap4-parse-namespace-subr): Ditto.
5287         (elmo-folder-list-subfolders): Append a delimiter when the specified
5288         folder path is a root with namespace and does not end with delimiter.
5289
5290 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5291
5292         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5293         was used.
5294
5295 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5296
5297         * elmo-util.el (elmo-save-buffer): The first argument of message
5298         is a format control string.
5299
5300 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5301
5302         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5303         `elmo-folder-diff').
5304         (elmo-diff-unread): Likewise.
5305
5306 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5307
5308         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5309         is t on `completing-read'.
5310
5311 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5312
5313         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5314         method of target folder with self mark-alist if MARK-ALIST is nil.
5315
5316 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5317
5318         * elmo-version.el (elmo-version): Up to 2.9.5.
5319
5320 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5321
5322         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5323         (elmo-dop-merge-funcs): Remove.
5324
5325 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5326
5327         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5328         Return t if PATH is directory, too.
5329         Use `dolist' instead of while loop.
5330
5331 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5332
5333         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5334         is deleted.
5335
5336 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5337
5338         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5339         return value to t.
5340         (elmo-folder-list-messages-unplugged): Return t if
5341         elmo-enable-disconnected-operation is nil.
5342
5343         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5344         `elmo-folder-list-messages-internal'.
5345
5346 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5347
5348         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5349         Change to looking-at `[23][0-9]+'.
5350         (elmo-network-initialize-session): Use 'error-msg'
5351         * elmo-net.el (elmo-network-open-session): Set unplugged
5352         if elmo-network-initialize-session returns 'elmo-open-err.
5353
5354 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5355
5356         * elmo-version.el (elmo-version): Up to 2.9.4.
5357
5358 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5359
5360         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5361         `elmo-folder-list-messages-internal'.
5362
5363 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5364
5365         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5366         (elmo-message-match-condition): New method.
5367         (elmo-folder-search-fast): New inline function.
5368         (elmo-msgdb-search): Removed.
5369
5370         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5371         target folder if it is unplugged.
5372         (elmo-folder-list-messages-internal): Return t if target folder is
5373         unplugged and itself is persistent; In this case, use list be
5374         searched already.
5375
5376         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5377         (elmo-msgdb-search-internal-primitive): Ditto.
5378         (elmo-msgdb-match-condition): New function.
5379         (elmo-msgdb-match-condition-primitive): Ditto.
5380
5381         * elmo-util.el (elmo-filter-condition-p): New macro.
5382
5383         * elmo-cache.el (elmo-folder-search): Removed.
5384
5385         * elmo-localdir.el (elmo-folder-search): Ditto.
5386
5387         * elmo-maildir.el (elmo-folder-search): Ditto.
5388
5389         * elmo-mark.el (elmo-folder-search): Ditto.
5390
5391         * elmo-nmz.el (elmo-folder-search): Ditto.
5392
5393         * elmo-sendlog.el (elmo-folder-search): Ditto.
5394
5395         * elmo-shimbun.el (elmo-folder-search): Ditto.
5396
5397         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5398         if folder is unplugged.
5399
5400         * elmo-nntp.el (elmo-folder-search): Likewise.
5401         (elmo-nntp-search-internal): New function.
5402
5403         * elmo-version.el (elmo-version): Up to 2.9.3.
5404
5405 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5406
5407         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5408
5409 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5410
5411         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5412
5413 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5414
5415         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5416
5417 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5418
5419         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5420         (elmo-map-folder-list-message-locations): Do drive letter conversion
5421         on Windows environment.
5422         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5423         (elmo-map-message-fetch): Ditto.
5424
5425 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5426
5427         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5428         (elmo-network-initialize-session): Ditto.
5429
5430 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5431
5432         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5433
5434         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5435
5436         * elmo-util.el (elmo-progress-clear): Ditto.
5437
5438         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5439         `DD-Mon-YYYY' type date.
5440
5441 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5442
5443         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5444         `elmo-date-make-sortable-string' instead of
5445         `timezone-make-date-sortable'.
5446
5447         * elmo-date.el (elmo-date-make-sortable-string): Use
5448         `timezone-make-time-string'.
5449
5450 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5451
5452         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5453
5454         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5455         `since'; Fix timezone.
5456
5457         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5458
5459         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5460
5461 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5462
5463         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5464
5465 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5466
5467         * elmo.el (elmo-generic-folder-append-messages): Make
5468         fetch-strategy with `use-cache' as 'maybe. Check return value of
5469         `elmo-message-fetch'.
5470         (elmo-message-fetch): Return return value of
5471         `elmo-message-fetch-with-cache-process'.
5472         (elmo-message-fetch-with-cache-process): Return non-nil if
5473         fetching was succeed. Load cache when fetching was failed and
5474         fetch-strategy-use-cache is 'maybe.
5475
5476         * elmo-util.el (elmo-file-cache-load): New function.
5477
5478         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5479         defun.
5480
5481         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5482         non-nil if fetching was succeed.
5483
5484         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5485
5486         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5487
5488         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5489         (elmo-message-fetch-with-cache-process): Likwise.
5490
5491         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5492
5493         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5494
5495         * elmo-version.el (elmo-version): Up to 2.9.2.
5496
5497 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5498
5499         * elmo.el (elmo-folder-delete): Delete msgdb path.
5500
5501         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5502
5503         * elmo-maildir.el (elmo-folder-delete): Ditto.
5504
5505         * elmo-localdir.el (elmo-folder-delete): Ditto.
5506
5507         * elmo-imap4.el (elmo-folder-delete): Ditto.
5508
5509 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5510
5511         * elmo.el (luna-define-class): Added `biff' slot.
5512
5513         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5514         (elmo-pop3-debug-inhibit-logging): Abolished.
5515         (elmo-network-close-session): Eliminated needless let.
5516         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5517         (elmo-pop3-send-command): Added `no-log' argument.
5518         (elmo-pop3-process-filter): Use `with-current-buffer'.
5519         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5520         if login failure.
5521         (elmo-pop3-auth-apop): Likewise.
5522         (elmo-network-authenticate-session): Likewise.
5523
5524         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5525         if biff folder.
5526
5527         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5528         string to determine protocol.
5529         (elmo-network-session-name-prefix): Abolished.
5530         (elmo-network-session-cache-key): Follow the change above.
5531         (elmo-network-open-session): Ditto.
5532
5533         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5534         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5535
5536         * elmo-version.el (elmo-version): Up to 2.9.1.
5537
5538         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5539         unmatch condition checking.
5540
5541         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5542         condition.
5543
5544 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5545
5546         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5547
5548 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5549
5550         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5551         test for while loop to execute at least one SEARCH command.
5552
5553 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5554
5555         * elmo-version.el (elmo-version): Up to 2.9.0.
5556
5557 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5558
5559         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5560         (elmo-archive-folder-path): Define.
5561         (elmo-folder-initialize): Setup `dir-name' slot.
5562         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5563         Use `dir-name' as prefix of each subfolders.
5564         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5565
5566 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5567
5568         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5569         (elmo-pipe-folder-list-target-messages): New internal function.
5570         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5571         `killed-list'.
5572         (elmo-pipe-folder-copied-list-load): New function.
5573         (elmo-pipe-folder-copied-list-save): Ditto.
5574         (elmo-folder-open-internal): Follow the change above.
5575         (elmo-folder-status): Fixed for copy.
5576
5577 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5578
5579         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5580
5581 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5582
5583         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5584         elmo-copy-file instead of elmo-add-name-to-file.
5585
5586         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5587
5588         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5589         "file://..." index.
5590
5591         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5592         of accept-process-output as 1.
5593         (elmo-pop3-read-contents): Ditto.
5594         (elmo-pop3-read-body): Ditto.
5595
5596 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5597
5598         * elmo-version.el (product-version-as-string): Remove define.
5599
5600 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5601
5602         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5603         (elmo-imap4-copy-messages): Chop number set using
5604         `elmo-imap4-number-set-chop-length'.
5605         (elmo-imap4-set-flag): Ditto.
5606         (elmo-imap4-search-internal-primitive): Ditto.
5607
5608 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5609
5610         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5611         `elmo-folder-make-temp-dir'
5612
5613         * elmo-vars.el (elmo-cache-directory): New variable.
5614         (elmo-cache-dir): Abolished.
5615         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5616
5617         * elmo-version.el (elmo-version): Up to 2.7.7.
5618
5619 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5620
5621         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5622         defcustom; Set default value as t.
5623
5624 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5625
5626         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5627         (ldap-search-program-arguments): Changed default value.
5628         (ldap-search-basic): Accept exit status 4.
5629         (ldap/field-body): Parse options.
5630         (ldap/collect-field): Ditto.
5631         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5632
5633         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5634         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5635         (elmo-imap4-accept-ok): Ditto.
5636         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5637         'notify-bye, only BYE error is reported.
5638         (elmo-folder-exists-p-plugged): Set no-error argument of
5639         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5640
5641         * elmo.el (elmo-imap4-bye-error): Changed message.
5642
5643         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5644         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5645         queues (It causes infinite loop).
5646
5647 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5648
5649         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5650         (RECENT UNSEEN MESSAGES) extension.
5651
5652 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5653
5654         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5655         Check number of overview fields.
5656
5657 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5658
5659         * elmo.el (elmo-folder-confirm-appends): Changed message.
5660         (elmo-folder-confirm-appends): Ditto.
5661
5662         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5663         `with-temp-buffer'.
5664         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5665
5666 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5667
5668         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5669         of elmo-folder-update-threshold is nil, which can be set by
5670         wl-summary-update-confirm-threshold.
5671
5672 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5673
5674         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5675         (elmo-nmz-index-alias-alist): Ditto.
5676         (elmo-map-folder-list-message-locations): Follow the change above.
5677
5678 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5679
5680         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5681
5682         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5683
5684         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5685
5686         * elmo-util.el (elmo-read): Ditto.
5687         (elmo-display-error): Ditto.
5688
5689         * elmo-vars.el (elmo-date-match): Ditto.
5690
5691         * pldap.el (ldap-coding-system): Ditto.
5692
5693         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5694         `elmo-inhibit-number-mapping' as nil.
5695
5696 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5697
5698         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5699         space delimiter for list response.
5700
5701 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5702
5703         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5704
5705 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5706
5707         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5708         (elmo-map-message-fetch): Fix.
5709         * elmo-map.el (elmo-folder-status): Fix for killed.
5710
5711 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5712
5713         * elmo-sendlog.el: New file.
5714         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5715
5716 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5717
5718         * acap.el (acap-logging-out): New buffer local variable.
5719         (acap-close): Set it.
5720         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5721         an error.
5722
5723 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5724
5725         * acap.el (acap-response-bye-p): New function.
5726         (acap-response-bye-message): Ditto.
5727         (acap-wait-for-response): If bye response is received, cause an error.
5728         (acap-parse-response): Make bye response when 'Bye' is received.
5729
5730 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5731
5732         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5733
5734 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5735
5736         * elmo-util.el (elmo-copy-file): Added argument
5737         `ok-if-already-exists'.
5738         (elmo-copy-file): Fixed typo.
5739
5740 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5741
5742         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5743
5744 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5745
5746         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5747
5748 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5749
5750         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5751         to killed-list.
5752
5753 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5754
5755         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5756         (elmo-folder-initialize): Fix for `copy'.
5757         (elmo-pipe-drain): Ditto.
5758         (elmo-folder-open-internal): Ditto.
5759         (elmo-folder-newsgroups): Fix.
5760
5761 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5762
5763         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5764         for each message.
5765
5766         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5767         recent value is returned from imap folder.
5768
5769         * elmo.el (elmo-folder-newsgroups): New generic function.
5770
5771         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5772         (elmo-folder-initialize): Set it.
5773         (elmo-folder-expand-msgdb-path): Use it.
5774         (elmo-folder-newsgroups): Define.
5775
5776         * elmo-filter.el (elmo-folder-newsgroups): Define.
5777
5778         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5779
5780         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5781
5782         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5783
5784 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5785
5786         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5787         user option.
5788         (elmo-shimbun-header-extra-field): New inline function.
5789         (elmo-shimbun-header-set-extra-field): Ditto.
5790         (elmo-shimbun-folder-header-hash-setup): Ditto.
5791         (elmo-shimbun-update-overview): Ditto.
5792         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5793         (elmo-shimbun-folder-setup): Use
5794         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5795         (elmo-shimbun-get-headers): Ditto.
5796         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5797         Insert `X-Shimbun-Id:' header if extra field is set.
5798         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5799         field's value instead of `shimbun-header-id'.
5800
5801         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5802         inline function.
5803         (elmo-msgdb-overview-entity-set-date): Ditto.
5804         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5805
5806 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5807
5808         * mmimap.el (mmimap-entity-section): Changed body node number from
5809         "0" to "1".
5810
5811 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5812
5813         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5814         `elmo-folder-delete-messages'.
5815
5816         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5817         (elmo-folder-initialize): Changed to expand alias into index path.
5818
5819         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5820         `elmo-mime-insert-header-from-buffer' with 6th arg
5821         `sorted-fields'.
5822
5823 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5824
5825         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5826
5827         * elmo.el (elmo-diff-new): New inline function.
5828         (elmo-diff-unread): Ditto.
5829         (elmo-diff-all): Ditto.
5830
5831         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5832         value from responseb.
5833         (elmo-imap4-folder-diff-plugged): Ditto.
5834         (elmo-imap4-server-diff-async): Added recent argument.
5835         (elmo-server-diff-async): Ditto.
5836         (elmo-imap4-folder-diff-plugged): Ditto.
5837
5838         * elmo-version.el (elmo-version): Up to 2.7.6.
5839
5840 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5841
5842         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5843         in quoted-stirng.
5844
5845 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5846
5847         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5848
5849         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5850
5851         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5852
5853         * elmo-multi.el (elmo-folder-initialize): Ditto.
5854
5855         * elmo-util.el (elmo-parse-token): New function.
5856         (elmo-parse-prefixed-element): Ditto.
5857
5858 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5859
5860         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5861         delete process.
5862         (elmo-imap4-accept-ok): Ditto.
5863
5864 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5865
5866         * mmimap.el (mime-imap-entity-header-string): Don't check first
5867         element of node-id is `0' (Follow last change).
5868
5869 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5870
5871         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5872         assigned irregular node-id to nested multipart section.
5873         (initialize-instance): Followed above change.
5874
5875 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5876
5877         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5878         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5879         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5880         `elmo-shimbun-get-headers');
5881         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5882         visible article on summary exists in headers).
5883         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5884
5885 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5886
5887         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5888         definition.
5889
5890 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5891
5892         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5893
5894 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5895
5896         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5897         header separator into loop condition.
5898
5899 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5900
5901         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5902         Return duplicate folder if it has subfolder.
5903
5904 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5905
5906         * elmo.el (elmo-make-folder): Add folder name error check.
5907
5908         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5909         (elmo-nntp-encode-group-string): New inline function.
5910         (elmo-nntp-decode-group-string): Ditto.
5911         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5912         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5913         Use `not' instead of `null';
5914         Use elmo-nntp-decode-group-string.
5915
5916         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5917
5918         * elmo-version.el (elmo-version): Up to 2.7.5.
5919
5920 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5921
5922         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5923         Hide progress gauge if `elmo-folder-move-messages' exits
5924         nonlocally.
5925
5926 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5927
5928         * elmo-imap4.el (elmo-folder-initialize): Use
5929         `elmo-imap4-encode-folder-string' for folder name.
5930
5931 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5932
5933         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5934         `done'.
5935
5936 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5937
5938         * elmo-util.el (elmo-progress-counter-alist): New internal
5939         variable.
5940         (elmo-progress-counter-value): New macro.
5941         (elmo-progress-counter-all-value): Ditto.
5942         (elmo-progress-counter-format): Ditto.
5943         (elmo-progress-counter-set-value): Ditto.
5944         (elmo-progress-set): New function.
5945         (elmo-progress-clear): Ditto.
5946         (elmo-progress-notify): Ditto.
5947
5948         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5949         counter.
5950
5951         * elmo.el (elmo-generic-folder-append-messages): Call
5952         `elmo-progress-notify'.
5953         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5954
5955         * elmo-archive.el (elmo-folder-append-messages): Call
5956         `elmo-progress-notify'.
5957
5958         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5959
5960         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5961
5962         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5963
5964 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5965
5966         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5967         'Create'.
5968         (elmo-message-encache-dop): Added argument `read'.
5969
5970         * elmo-shimbun.el (elmo-message-encache): Ditto.
5971
5972         * elmo-net.el (elmo-message-encache): Ditto.
5973
5974         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5975         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5976         elmo-imap4-seen-messages.
5977         (elmo-folder-msgdb-create-plugged): Initialize
5978         elmo-imap4-seen-messages;
5979         Set seen mark on elmo-imap4-seen-messages.
5980
5981         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5982
5983         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5984         elmo-folder-append-buffer.
5985         (elmo-folder-encache): Added optional argument `read'.
5986         (elmo-message-encache): Ditto.
5987
5988         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5989
5990         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5991
5992         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5993         if append buffer content succeds.
5994
5995 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5996
5997         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5998         elmo-display-progress.
5999
6000         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6001         Set 4th argument of mime-display-message.
6002         (elmo-mime-display-as-is): Ditto.
6003
6004 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6005
6006         * elmo-nmz.el (toplevel): Require 'mime-edit.
6007         (elmo-nmz-content-type-alist): Abolished.
6008         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6009         content is not a message.
6010         (elmo-map-message-fetch): Changed behavior exept for message content;
6011         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6012         content-type, Add From: and Subject: field.
6013
6014 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6015
6016         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6017         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6018         not a message.
6019
6020 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6021
6022         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6023         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6024
6025         * elmo-archive.el (elmo-folder-writable-p): Defined.
6026
6027         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6028
6029         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6030
6031         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6032
6033         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6034
6035         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6036
6037         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6038
6039         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6040
6041         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6042
6043 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6044
6045         * elmo-util.el (elmo-address-quote-specials): New function;
6046         Renamed from `wl-address-quote-specials'.
6047
6048 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6049
6050         * elmo-version.el (elmo-version): Up to 2.7.4.
6051
6052 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6053
6054         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6055
6056 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6057
6058         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6059         both compile-time and run-time to avoid byte-compile warning.
6060
6061 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6062
6063         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6064
6065 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6066
6067         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6068         option.
6069         (elmo-mime-display-as-is-internal): Use it.
6070
6071         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6072         if `read-passwd' is not defined.
6073
6074 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6075
6076         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6077         by original number.
6078         (elmo-folder-status): Call `elmo-folder-open-internal';
6079         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6080         (elmo-folder-close-internal): Set location-alist as nil.
6081         (elmo-folder-clear): Define.
6082         (elmo-folder-check): Don't set location-alist as nil.
6083
6084         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6085
6086 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6087
6088         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6089         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6090
6091         * mmimap.el (mime-imap-entity::requested): New slot.
6092         (mime-imap-location-fetch-entity-p): New generic function.
6093         (mime-decode-parameters): Define using `defun-maybe'.
6094         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6095         content-type structure.
6096         (mime-entity-body): Return empty body if
6097         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6098
6099         * elmo.el (elmo-message-displaying): New variable.
6100
6101         * elmo-mime.el (elmo-mime-message-display): Bind
6102         elmo-message-displaying as t.
6103
6104         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6105
6106 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6107
6108         * acap.el (acap-open): erase buffer before starting network process.
6109         (acap-store): Rewrite.
6110
6111 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6112
6113         * elmo-imap4.el (elmo-imap4-default-mailbox,
6114         elmo-imap4-default-server
6115         elmo-imap4-default-authenticate-type,
6116         elmo-imap4-default-user,
6117         elmo-imap4-default-port,
6118         elmo-imap4-default-stream-type,
6119         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6120
6121         * elmo-pop3.el (elmo-pop3-default-user,
6122         elmo-pop3-default-server,
6123         elmo-pop3-default-authenticate-type,
6124         elmo-pop3-default-port,
6125         elmo-pop3-default-stream-type,
6126         elmo-pop3-stream-type-alist): Ditto.
6127
6128         * elmo-nntp.el (elmo-nntp-default-server,
6129         elmo-nntp-default-user,
6130         elmo-nntp-default-port,
6131         elmo-nntp-default-stream-type,
6132         elmo-nntp-stream-type-alist): Ditto.
6133
6134         * elmo-vars.el: Follow changes above.
6135         (elmo-setting): New custom group; added 'elmo-setting group to
6136         above variables.
6137
6138         * elmo-version.el (elmo-version): Up to 2.7.3.
6139
6140         * acap.el (acap-parse-response): Don't delete process when BYE
6141         response (It causes hang-up on slow network environment).
6142         (toplevel): Added comment.
6143
6144 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6145
6146         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6147
6148         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6149         parsing NIL.
6150         (acap-parse-return-metadata): Ditto.
6151
6152         * slp.el: New file.
6153         (toplevel): Fixed typo.
6154
6155         * acap.el: New file.
6156         (acap-network-stream-open): Show "Connecting..." message.
6157         (acap-parse-response): Fixed problem for BYE untagged response.
6158         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6159         (toplevel): Added tiny comments.
6160
6161 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6162
6163         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6164         space delimiter for uidl response.
6165
6166 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6167
6168         * elmo-vars.el (elmo-use-semi): Eliminated.
6169
6170         * elmo-util.el (elmo-string-assoc-all): New function.
6171
6172 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6173
6174         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6175         property 'mime-preview-situation for `mime-preview-quit'.
6176
6177 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6178
6179         * elmo.el (elmo-message-fetch-with-cache-process): Call
6180         elmo-message-fetch-internal instead of causing an error when fetch
6181         strategy is 'entire but only 'section cache is available.
6182
6183 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6184
6185         * elmo-version.el (elmo-version): Up to 2.7.2.
6186
6187         * elmo.el (elmo-generic-folder-append-messages): Make
6188         fetch-strategy with `use-cache'.
6189
6190         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6191         (elmo-dop-queue-method-name): New macro.
6192
6193 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6194
6195         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6196         unbalanced parenthesis.
6197
6198 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6199
6200         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6201
6202 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6203
6204         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6205         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6206
6207 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6208
6209         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6210         local variables.
6211
6212 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6213
6214         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6215         (elmo-message-use-cache-p): Define.
6216         (elmo-folder-msgdb-create): Treat cache.
6217
6218 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6219
6220         * elmo-nntp.el (elmo-network-initialize-session): Call
6221         `elmo-nntp-send-mode-reader'.
6222         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6223
6224 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6225
6226         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6227         alist.
6228         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6229         assoc.
6230
6231         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6232         for `elmo-plugged-p'.
6233         (elmo-open-network-stream): Fixed stream-type argument.
6234
6235 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6236
6237         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6238         unknown archive type is specified.
6239
6240 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6241
6242         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6243
6244         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6245         while loading msgdb.
6246
6247         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6248         (elmo-folder-open-internal): Rewrite.
6249
6250 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6251
6252         * elmo-mime.el (elmo-mime-display-as-is-internal):
6253         Adjust buffer-multibyte status.
6254
6255 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6256
6257         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6258         of elmo-condition-find-key.
6259
6260         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6261         (elmo-condition-in-msgdb-p): Ditto.
6262         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6263         argument.
6264
6265 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6266
6267         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6268
6269 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6270
6271         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6272         label for elmo-display-progress.
6273
6274 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6275
6276         * elmo.el (elmo-folder-clear): New method.
6277         (elmo-folder-clear): Define.
6278         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6279
6280         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6281         (elmo-folder-clear): Define.
6282
6283         * elmo-map.el (elmo-folder-clear): Define.
6284
6285         * elmo-version.el (elmo-version): Up to 2.7.1.
6286
6287 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6288
6289         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6290         updates.
6291
6292 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6293
6294         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6295         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6296
6297 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6298
6299         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6300
6301         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6302         and re-written.
6303
6304         * elmo-imap4.el (elmo-folder-initialize): Use
6305         elmo-get-network-stream-type.
6306
6307         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6308
6309         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6310
6311 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6312
6313         * elmo.el (elmo-message-encache): Set unread argument for
6314         elmo-message-fetch.
6315
6316         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6317
6318         * elmo.el (elmo-net-port-info): New method.
6319
6320         * elmo-shimbun.el (elmo-net-port-info): Define.
6321         (elmo-message-encache): Ditto.
6322
6323         * elmo-net.el (elmo-net-port-info): Define as method.
6324
6325         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6326         unplugged status when elmo-enable-disconnected-operation is t.
6327
6328         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6329         of spool folder before checking new number.
6330
6331 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6332
6333         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6334         (elmo-network-setup-session): Ditto.
6335         (elmo-message-fetch-plugged): Ditto.
6336         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6337         (elmo-network-initialize-session): Ditto.
6338         (elmo-pop3-read-response): Abolish 3rd argument.
6339         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6340         (elmo-pop3-read-contents): Ditto.
6341         (elmo-pop3-read-body): Ditto.
6342         (elmo-folder-status): Call elmo-folder-close.
6343         (elmo-pop3-lock): Abolish.
6344         (elmo-pop3-unlock): Ditto.
6345         (elmo-pop3-locked-p): Ditto.
6346         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6347
6348 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6349
6350         * elmo-version.el (elmo-version): Up to 2.7.0.
6351
6352         * elmo-pop3.el (elmo-pop3-debug): New variable.
6353         (elmo-pop3-debug-inhibit-logging): Ditto.
6354         (elmo-pop3-debug): New function.
6355         (elmo-pop3-send-command): Call elmo-pop3-debug.
6356         (elmo-pop3-read-response): Added keep-lock optional argument;
6357         Don't unlock if keep-lock is non-nil.
6358         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6359         (elmo-network-authenticate-session): Bind
6360         elmo-pop3-debug-inhibit-logging as t.
6361         (elmo-network-setup-session): Call elmo-pop3-read-response with
6362         keep-lock argument.
6363         (elmo-pop3-read-msg): Ditto.
6364         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6365         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6366         (elmo-network-initialize-session): Call elmo-pop3-lock.
6367         (elmo-folder-close-internal): Don't clear location-alist slot.
6368         (elmo-folder-check): Clear location-alist slot.
6369
6370 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6371
6372         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6373         (elmo-pop3-send-command): Call elmo-pop3-lock.
6374         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6375         (elmo-pop3-read-contents): Ditto.
6376         (elmo-pop3-lock): New function.
6377         (elmo-pop3-unlock): Ditto.
6378         (elmo-pop3-locked-p): Ditto.
6379         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6380         returns t.
6381
6382 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6383
6384         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6385
6386         * elmo-util.el (elmo-file-field-primitive-condition-match):
6387         New inline function (Don't fetch file content if "first" or "last").
6388         (elmo-file-field-condition-match): Use
6389         elmo-file-field-primitive-condition-match.
6390
6391         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6392         "first".
6393
6394         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6395         (elmo-message-fetch-plugged): Fixed.
6396
6397         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6398
6399 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6400
6401         * elmo.el (elmo-folder-move-messages): Bind
6402         elmo-inhibit-display-retrieval-progress as t while moving messages.
6403
6404         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6405         New variable.
6406         (elmo-inhibit-display-retrieval-progress): Ditto.
6407
6408         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6409         for retrieval progress;
6410         Don't display progress when total buffer size is smaller than
6411         elmo-display-retrieval-progress-threshold.
6412         (elmo-message-fetch-plugged): Don't display progress when
6413         elmo-inhibit-display-retrieval-progress is non-nil.
6414
6415         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6416         for retrieval progress;
6417         Don't display progress when literal size is smaller than
6418         elmo-display-retrieval-progress-threshold.
6419         (elmo-imap4-message-fetch): Don't display progress when
6420         elmo-inhibit-display-retrieval-progress is non-nil.
6421
6422 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6423
6424         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6425         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6426         (elmo-imap4-message-fetch): Likewise.
6427
6428         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6429         (elmo-shimbun-index-range-alist): Ditto.
6430         (elmo-shimbun-use-entire-index): Abolish.
6431         (shimbun-mua-use-entire-index): Ditto.
6432         (elmo-shimbun-folder): Added new slot `range'.
6433         (elmo-folder-initialize): Setup slot `range'.
6434
6435 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6436
6437         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6438         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6439         (elmo-shimbun-get-headers): Use return value of
6440         `shimbun-article-expiration-days'.
6441         (elmo-folder-close-internal): Clean up last-check slot.
6442
6443         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6444         (elmo-pop3-total-size): New variable.
6445         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6446
6447         * elmo.el (elmo-folder-reserve-status-p): New method.
6448
6449         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6450         (elmo-shimbun-use-entire-index): New user option.
6451         (shimbun-elmo-mua): New class.
6452         (shimbun-mua-search-id): Define.
6453         (shimbun-mua-use-entire-index): Ditto.
6454         (elmo-shimbun-folder:last-check): New slot.
6455         (elmo-shimbun-headers-cache-header-list): Abolish.
6456         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6457         (elmo-shimbun-headers-cache-header-hash): Ditto.
6458         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6459         (elmo-shimbun-headers-cache-last-check): Ditto.
6460         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6461         (elmo-shimbun-headers-check-p): Rewrite.
6462         (elmo-shimbun-msgdb-to-headers): New function.
6463         (elmo-shimbun-get-headers): Rewrite.
6464         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6465         (elmo-folder-open-internal): Get headers only if
6466         `elmo-shimbun-headers-check-p' is non-nil.
6467         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6468         is non-nil.
6469         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6470         (elmo-quit): Removed.
6471
6472         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6473         function.
6474         (elmo-msgdb-overview-entity-set-extra): Ditto.
6475         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6476
6477         * elmo-map.el (elmo-folder-status): Don't call
6478         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6479         is non-nil.
6480
6481 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6482
6483         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6484         of `elmo-msgdb-search-internal-primitive' when condition's car is
6485         `and' or `or'.
6486
6487 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6488
6489         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6490
6491 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6492
6493         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6494         call `elmo-pipe-drain'.
6495
6496 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6497
6498         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6499         typo. (elmo-cache-folder -> elmo-mark-folder)
6500
6501 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6502
6503         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6504         `elmo-message-fetch'.
6505
6506 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6507
6508         * elmo-net.el (elmo-message-encache): Fixed typo.
6509         (elmo-message-fetch-unplugged): Changed call
6510         `elmo-message-fetch-internal' without argument `outbuf'.
6511
6512 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6513
6514         * elmo.el (elmo-message-encache): Define as generic function.
6515         (elmo-message-fetch-field): New generic function.
6516         (elmo-message-fetch-with-cache-process): Cause an error when
6517         fetch strategy is 'entire but only 'section cache is available.
6518         (toplevel): Fixed nmz folder definition.
6519
6520         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6521         (elmo-msgdb-resume-list-filename): Ditto.
6522         (elmo-queue-filename): Ditto.
6523         (elmo-enable-disconnected-operation): Changed default value to t.
6524
6525         * elmo-util.el (elmo-cache-path-section-p): New function.
6526         (elmo-file-cache-get): Use it.
6527         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6528         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6529         (elmo-dop-queue-save): Ditto.
6530
6531         * elmo-net.el (elmo-folder-status-unplugged): Call
6532         elmo-folder-status-dop.
6533         (elmo-folder-list-messages-unplugged): Implemented.
6534         (elmo-folder-delete-messages-unplugged): Define.
6535         (elmo-folder-msgdb-create): Define.
6536         (elmo-folder-msgdb-create-unplugged): Define.
6537         (elmo-folder-mark-as-read-unplugged): Ditto.
6538         (elmo-folder-unmark-read-unplugged): Ditto.
6539         (elmo-folder-mark-as-important-unplugged): Ditto.
6540         (elmo-folder-unmark-important-unplugged): Ditto.
6541         (elmo-message-encache): Ditto.
6542
6543         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6544         (elmo-dop-queue-save): Ditto.
6545
6546         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6547         `elmo-folder-msgdb-create'.
6548         (elmo-folder-append-buffer): Implemented unplugged operation.
6549         (elmo-folder-append-messages): Call parent method in unplugged status.
6550         (elmo-message-fetch-unplugged): Removed definition.
6551         (elmo-message-fetch-field): Implemented.
6552
6553         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6554         (elmo-dop-folder): Removed variable definition.
6555         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6556         (elmo-dop-queue-flush): Implemented.
6557         (elmo-dop-queue-merge): Removed definition (TODO).
6558         (elmo-dop-spool-folder): New function.
6559         (elmo-dop-spool-folder-append-buffer): Ditto.
6560         (elmo-dop-spool-folder-list-messages): Ditto.
6561         (elmo-dop-list-deleting-messages): Ditto.
6562         (elmo-folder-append-buffer-dop): Ditto.
6563         (elmo-folder-delete-messages-dop): Ditto.
6564         (elmo-message-encache-dop): New inline function.
6565         (elmo-create-folder-dop): Ditto.
6566         (elmo-folder-mark-as-read-dop): Ditto.
6567         (elmo-folder-unmark-read-dop): Ditto.
6568         (elmo-folder-mark-as-important-dop): Ditto.
6569         (elmo-folder-unmark-important-dop): Ditto.
6570         (elmo-folder-status-dop): Fixed.
6571         (elmo-folder-append-buffer-dop-delayed): New function.
6572         (elmo-folder-delete-messages-dop-delayed): Ditto.
6573         (elmo-dop-msgdb): Ditto.
6574
6575 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6576
6577         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6578
6579 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6580
6581         * elmo.el (elmo-folder-move-messages): Fixed problem when
6582         `dst-folder' is 'null.
6583
6584 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6585
6586         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6587         instead of current mark.
6588
6589         * elmo-multi.el (elmo-folder-list-importants-internal): No
6590         operation if importants is not list.
6591
6592         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6593         Return t if importants is not list.
6594
6595         * elmo-map.el (elmo-map-folder-list-importants): Define.
6596         (elmo-folder-list-importants-internal): Check return value of
6597         `elmo-map-folder-list-importants-internal'.
6598
6599         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6600
6601         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6602
6603         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6604
6605         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6606
6607 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6608
6609         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6610         (Patch is provided by <kita@coe.nttdata.co.jp>).
6611
6612 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6613
6614         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6615         mark folder.
6616
6617 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6618
6619         * elmo.el (elmo-message-fetch): Define.
6620         (elmo-message-fetch-with-cache-process): New generic method.
6621         (elmo-message-fetch-internal): New generic method.
6622         (elmo-folder-synchronize):
6623
6624         * elmo-archive.el (elmo-message-fetch-internal): Define.
6625         (elmo-message-fetch): Eliminated.
6626
6627         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6628         (elmo-message-fetch): Eliminated.
6629
6630         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6631         argument OUTBUF.
6632         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6633
6634         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6635         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6636
6637         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6638         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6639
6640         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6641
6642         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6643
6644         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6645
6646         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6647         (elmo-message-fetch-unplugged): New generic method.
6648         (elmo-message-fetch-internal): Remove cache process (Renamed from
6649         `elmo-message-fetch').
6650
6651         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6652         (elmo-message-fetch): Eliminated.
6653         (elmo-message-fetch-unplugged): Ditto.
6654
6655         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6656
6657 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6658
6659         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6660         of `to-be-deleted' from number-alist to number-list.
6661
6662 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6663
6664         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6665         (elmo-folder-mark-as-important): Ditto.
6666
6667 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6668
6669         * elmo.el (elmo-folder): Added process-duplicates slot.
6670
6671         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6672         (elmo-folder-unmark-read): Ditto.
6673         (elmo-folder-unmark-important): Ditto.
6674         (elmo-folder-mark-as-important): Ditto.
6675
6676         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6677         duplicated message processing.
6678
6679         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6680
6681 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6682
6683         * elmo-util.el (elmo-list-subdirectories-1): New function.
6684         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6685         (elmo-mapcar-list-of-list): New function.
6686
6687         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6688         `elmo-mapcar-list-of-list' instead of `mapcar'.
6689
6690         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6691
6692         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6693         `elmo-have-link-count'. Return the fully qualified folder name.
6694
6695 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6696
6697         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6698         (elmo-shimbun-headers-cache): New internal variable.
6699         (elmo-shimbun-headers-cache-header-list): New inline function.
6700         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6701         (elmo-shimbun-headers-cache-header-hash): Ditto.
6702         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6703         (elmo-shimbun-headers-cache-last-check): Ditto.
6704         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6705         (elmo-shimbun-lapse-seconds): Ditto.
6706         (elmo-shimbun-headers-cache-check-p): Ditto.
6707         (elmo-shimbun-get-headers): New function.
6708         (elmo-folder-open-internal): Call it.
6709         (elmo-quit): Define (Clear headers-cache).
6710
6711 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6712
6713         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6714
6715         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6716         (elmo-msgdb-flist-save): Ditto.
6717
6718         * elmo-shimbun.el (elmo-folder-list-subfolders):
6719         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6720         (elmo-folder-exists-p): Ditto.
6721
6722         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6723         argument for `shimbun-header-insert'.
6724
6725 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6726
6727         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6728         at first time.
6729
6730         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6731         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6732
6733 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6734
6735         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6736         (elmo-folder-plugged-p): Define.
6737         (elmo-folder-set-plugged): Ditto.
6738         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6739         (elmo-folder-list-messages-internal): Return t if unplugged.
6740         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6741
6742         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6743         when elmo-folder-list-messages-internal method of children returns t.
6744
6745         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6746         pair is nil.
6747         (elmo-folder-open-internal): Don't update if unplugged status.
6748
6749 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6750
6751         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6752         new message.
6753
6754 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6755
6756         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6757
6758         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6759         saving.
6760
6761 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6762
6763         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6764
6765         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6766         (elmo-folder-open-internal): Set up headers slot.
6767         (elmo-folder-check): Call elmo-folder-close-internal and
6768         elmo-folder-open-internal.
6769         (elmo-folder-close-internal): Clean up headers slot.
6770
6771 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6772
6773         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6774         exactly folder list.
6775         (elmo-folder-append-messages): Fixed append archive with prefix.
6776
6777         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6778         make temp files with start-number.
6779
6780         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6781
6782 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6783
6784         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6785         argument `visible-only'.
6786         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6787         instead of `if'.
6788
6789         * elmo-pop3.el (elmo-folder-open-internal): Check
6790         `elmo-inhibit-number-mapping' is non-nil.
6791
6792         * elmo-pipe.el (elmo-folder-status): Fixed.
6793
6794 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6795
6796         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6797
6798         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6799         (elmo-folder-open-internal): Setup `header-hash' slot.
6800         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6801         information.
6802         (elmo-map-message-fetch): Ditto.
6803
6804 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6805
6806         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6807         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6808         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6809         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6810
6811         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6812
6813 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6814
6815         * sb-airs.el: Added footer.
6816
6817         * shimbun.el (shimbun-article): Define as luna-method.
6818
6819         * sb-tcup.el: New file.
6820
6821         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6822         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6823
6824 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6825
6826         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6827         (shimbun-get-headers): Ditto.
6828
6829         * elmo.el: Moved obsolete variable definitions from
6830         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6831
6832         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6833         groups.
6834
6835         * shimbun.el: New file.
6836
6837         * elmo-shimbun.el: New file.
6838
6839         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6840         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6841         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6842         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6843
6844 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6845
6846         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6847         hierarchy is t.
6848
6849 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6850
6851         * elmo.el (elmo-folder-msgdb): Define as macro.
6852         (elmo-folder-open): Added argument `load-msgdb'.
6853         (elmo-generic-folder-open): Ditto.
6854         (elmo-folder-encache): New function.
6855
6856         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6857
6858         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6859
6860         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6861         Eliminated argument FOLDER and added argument MSGDB.
6862         (elmo-dop-queue-load): Moved from elmo-dop.el.
6863         (elmo-dop-queue-save): Ditto.
6864
6865         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6866
6867         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6868
6869         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6870         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6871         (elmo-filter-folder-list-importants-internal): Ditto.
6872
6873         * elmo-map.el (elmo-folder-pack-number): Ditto.
6874
6875         * elmo-mime.el (elmo-mime-message-display): Ditto.
6876
6877         * elmo.el (elmo-generic-folder-commit): Ditto.
6878         (elmo-folder-list-unreads): Ditto.
6879         (elmo-folder-list-importants): Ditto.
6880         (elmo-generic-folder-commit): Ditto.
6881         (elmo-message-set-mark): Ditto.
6882         (elmo-generic-folder-append-msgdb): Ditto.
6883         (elmo-folder-synchronize): Ditto.
6884         (elmo-folder-messages): Ditto.
6885         (elmo-init): Call elmo-dop-queue-load.
6886         (elmo-folder-list-messages): Ditto.
6887
6888         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6889         (elmo-nntp-folder-process-crosspost): Ditto.
6890         (elmo-folder-list-unreads-internal): Ditto.
6891
6892         * elmo-dop.el: Removed old functions.
6893
6894 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6895
6896         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6897         `folder' to `msgdb'.
6898
6899 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6900
6901         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6902         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6903
6904         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6905         case-fold-search.
6906
6907 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6908
6909         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6910         defined.
6911
6912         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6913         (mmimap-parse-parameters-from-list): Define as alias for
6914         `mime-decode-parameter-plist' if it is defined as function.
6915         (mmimap-make-mime-entity): Added argument `number'.
6916         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6917         as 0.
6918         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6919
6920         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6921
6922         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6923
6924         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6925
6926 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6927
6928         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6929
6930         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6931         when elmo-imap4-default-authenticate-type is nil.
6932         (elmo-folder-list-subfolders): Ditto
6933         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6934         (elmo-imap4-fetch-callback-1-subr): Renamed from
6935         `elmo-imap4-fetch-callback-1' and define as inline function.
6936         (elmo-imap4-fetch-callback-1):
6937         Renamed from `elmo-imap4-fetch-callback'.
6938         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6939
6940         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6941         msgdb path (To keep compatibility with main trunk).
6942
6943         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6944
6945         * elmo-util.el (elmo-make-file-cache): Moved position of
6946         some macros.
6947
6948         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6949         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6950         instead of `elmo-pop3-inhibit-uidl'.
6951         (elmo-folder-exists-p): Ditto.
6952         (elmo-pop3-folder-list-messages): Ditto.
6953
6954         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6955         instead of `elmo-pop3-inhibit-uidl'.
6956         (elmo-folder-status): Ditto.
6957
6958         * elmo-dop.el (elmo-dop-folder): New variable.
6959         (elmo-dop-lock-message): Eliminated.
6960         (elmo-dop-unlock-message): Ditto.
6961         (elmo-dop-lock-list-load): Ditto.
6962         (elmo-dop-lock-list-save): Ditto.
6963         (elmo-dop-delete-folder): Ditto.
6964         (elmo-dop-rename-folder): Ditto.
6965
6966         * elmo.el: Removed incomplete commentary.
6967
6968 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6969
6970         * elmo.el (toplevel): Require 'elmo-version first;
6971         for little `recursive-load-depth' settings.
6972         Fix "ends here" comment.
6973
6974 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6975
6976         * elmo-util.el (toplevel): Require 'poem;
6977         Some functions are moved from elmo-cache.el.
6978
6979         * elmo-net.el (toplevel): Require 'elmo-cache.
6980
6981         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6982
6983         * elmo.el (toplevel): Ditto.
6984
6985         * elmo-cache.el: Rewrite with luna;
6986         Some functions are moved to elmo-util.el.
6987
6988         * elmo-internal.el (elmo-internal-folder-list): New variable.
6989         (elmo-internal-folder-initialize): Rewrite.
6990         (elmo-folder-list-subfolders): Ditto.
6991
6992         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6993         (elmo-cache-collect-sub-directories): Ditto.
6994
6995 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6996
6997         * elmo-version.el (elmo-version): Up to 2.5.8.
6998
6999         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7000
7001         * elmo-util.el (elmo-list-insert): New function.
7002
7003 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7004
7005         * elmo.el (elmo-init): New function.
7006         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7007
7008         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7009         (Renamed from `elmo-localdir-header-chop-length').
7010
7011         * elmo-pop3.el (elmo-pop3-use-cache,
7012         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7013
7014         * elmo-nntp.el (elmo-message-fetch): Define.
7015         (elmo-message-fetch-unplugged): Ditto.
7016         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7017         (elmo-nntp-use-cache): Ditto.
7018         (elmo-nntp-max-number-precedes-list-active): Ditto.
7019
7020         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7021
7022         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7023         `elmo-msgdb-insert-file-header'.
7024         Use `elmo-msgdb-file-header-chop-length'.
7025
7026         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7027         `elmo-vars.el'.
7028
7029         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7030         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7031         `elmo-msgdb-insert-file-header'.
7032
7033         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7034         Use new variable;
7035         Define obsolete variables with `elmo-define-obsolete-variable',
7036
7037         * elmo-util.el (elmo-warning-buffer-name): New constant.
7038         (elmo-warning): New function.
7039         (elmo-obsolete-variable-alist): New variable.
7040         (elmo-obsolete-variable-show-warnings): New variable.
7041         (elmo-define-obsolete-variable): New function.
7042         (elmo-resque-obsolete-variable): Ditto.
7043         (elmo-resque-obsolete-variables): Ditto.
7044
7045 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7046
7047         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7048         Eliminated.
7049
7050         * elmo-pop3.el, elmo-nntp.el: Use custom.
7051
7052 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7053
7054         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7055         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7056
7057 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7058
7059         * Luna-fy Kenichi OKADA's following changes.
7060         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7061         `nohide'.
7062         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7063
7064 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7065
7066         * elmo-util.el (elmo-display-progress): Prefer
7067         `progress-feedback-with-label' to `lprogress-display'.
7068
7069 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7070
7071         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7072
7073 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7074
7075         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7076         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7077         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7078         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7079         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7080         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7081         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7082         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7083         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7084         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7085         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7086         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7087         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7088
7089 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7090
7091         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7092         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7093
7094 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7095
7096         * elmo.el (elmo-folder-process-crosspost): New generic method.
7097         (elmo-folder-writable-p): Ditto.
7098         (elmo-folder-message-appendable-p): Eliminated.
7099         (elmo-generic-folder-append-msgdb): Rewrite.
7100         (elmo-newsgroups-hashtb): New internal variable.
7101         (elmo-crosspost-message-set): Eliminated.
7102         (elmo-crosspost-message-delete): Ditto.
7103         (elmo-setup-subscribed-newsgroups): New function.
7104         (elmo-crosspost-message-alist-modified): New internal variable.
7105         (elmo-crosspost-message-alist-load): New function (Renamed from
7106         `wl-crosspost-alist-load').
7107         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7108         `wl-crosspost-alist-save').
7109
7110         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7111
7112         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7113         `unreads'.
7114         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7115         elmo-newsgroups-hashtb).
7116         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7117         `elmo-nntp-folder-update-crosspost-message-alist'.
7118         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7119         `elmo-nntp-groups-hashtb'.
7120         (elmo-nntp-make-groups-hashtb): Eliminated.
7121         (elmo-nntp-parse-newsgroups): New function (Renamed from
7122         `wl-parse-newsgroups').
7123         (elmo-folder-creatable-p, elmo-folder-writable-p,
7124         elmo-folder-close-internal, elmo-folder-mark-as-read,
7125         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7126         Define.
7127         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7128
7129         * elmo-net.el (elmo-message-fetch): Check buffer size.
7130
7131         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7132
7133         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7134
7135         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7136         before `close' command.
7137
7138         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7139         `mark-alist' (All other related portions are changed).
7140
7141 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7142
7143         * elmo-util.el (elmo-create-hash-size): Eliminated.
7144         (elmo-make-hash) Make a hash with `one less than a power of two'
7145         length.
7146
7147         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7148         (elmo-hash-maximum-size): Changed value.
7149
7150 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7151
7152         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7153         (elmo-mime-message-display-as-is): Ditto.
7154
7155 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7156
7157         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7158         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7159
7160 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7161
7162         * elmo-mark.el: New file.
7163
7164         * elmo-internal.el: Rewrite (Almost empty).
7165
7166 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7167
7168         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7169         (mime-imap-entity-header-string): Ditto.
7170         (mmimap-entity-section): Rewrite.
7171
7172 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7173
7174         * elmo-nmz.el: New file.
7175
7176         * elmo-pipe.el: Rewrite with luna.
7177
7178 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7179
7180         * elmo-archive.el: Rewrite with luna.
7181
7182         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7183         (elmo-folder-list-importants-internal): Ditto.
7184
7185 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7186
7187         * elmo-archive.el (elmo-archive-version): Abolish.
7188         (toplevel) Removed `boso' comment.
7189
7190 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7191
7192         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7193         elmo-msgdb-add-msgs-to-seen-list-subr;
7194         Changed argument seen-marks to unread-marks.
7195
7196         * elmo-nntp.el: Rewrite with luna.
7197
7198 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7199
7200         * elmo-filter.el: Rewrite with luna.
7201
7202 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7203
7204         * elmo-pop3.el: Rewrite with luna.
7205
7206 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7207
7208         * elmo-multi.el: Rewrite with luna.
7209
7210         * elmo-vars.el (elmo-use-killed-list): Abolish.
7211         All other related portions are changed.
7212         (elmo-filename-replace-string-alist): Renamed from
7213         elmo-msgid-replace-string-alist.
7214
7215 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7216
7217         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7218
7219         * elmo-map.el: New file.
7220         * elmo-maildir.el: Rewrite with luna.
7221
7222 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7223
7224         * elmo.el: Changed meaning of `elmo-folder-commit'.
7225         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7226
7227 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7228
7229         * elmo.el (elmo-folder-append-buffer): New function.
7230         (Renamed from `elmo-append-msg')
7231
7232 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7233
7234         * elmo-mime.el: New file.
7235
7236 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7237
7238         * elmo-cache.el: Rewrite.
7239
7240 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7241
7242         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7243
7244 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7245
7246         * elmo-vars.el (elmo): New group.
7247         (elmo-strict-diff-folder-regexp): New variable.
7248
7249         * elmo-util.el (elmo-call-func): Abolish.
7250         (elmo-folder-get-type): Ditto.
7251         (elmo-*-get-spec): Ditto.
7252         (elmo-*-spec-*): Ditto.
7253         (elmo-imap4-identical-name-space-p): Ditto.
7254         (elmo-folder-identical-system-p): Ditto.
7255         (elmo-folder-direct-copy-alist): Ditto.
7256         (elmo-folder-direct-copy-p): Ditto.
7257
7258         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7259         (elmo-folder-initialize): Define.
7260         (elmo-folder-get-primitive-list): Ditto.
7261
7262         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7263         (elmo-folder-initialize): Define.
7264         Renamed `elmo-network-session-host-internal' to
7265         `elmo-network-session-server-internal'.
7266
7267         * elmo-multi.el (elmo-multi-folder): New luna class.
7268         (elmo-folder-initialize): Define.
7269         (elmo-folder-get-primitive-list): Ditto.
7270         (elmo-folder-contains-type): Ditto.
7271         (elmo-message-use-cache-p): Ditto.
7272
7273         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7274         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7275
7276         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7277         (elmo-folder-initialize): Define.
7278
7279         * elmo-filter.el (elmo-filter-folder): New luna class.
7280         (elmo-folder-initialize): Define.
7281         (elmo-folder-get-primitive-list): Ditto.
7282         (elmo-folder-contains-type): Ditto.
7283
7284 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7285
7286         * elmo-imap4.el: Rewrite with luna.
7287
7288         * mmimap.el: New file.
7289
7290         * mmelmo.el, mmelmo-imap4.el: Removed.
7291
7292         * elmo-net.el: Ditto.
7293
7294         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7295         (elmo-folder-initialize): Define.
7296
7297         * elmo-archive.el (elmo-archive-folder): New luna class.
7298         (elmo-folder-initialize): Define.
7299
7300         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7301         `elmo-folder-msgdb-path'.
7302         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7303         `elmo-make-folder'.
7304
7305 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7306
7307         * elmo.el: New file.
7308
7309         * elmo2.el: Renamed to elmo.el.
7310
7311 \f
7312 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7313
7314         * elmo-cache.el (elmo-cache-expire-by-size): Count
7315         a disk usage for a cache file entry in KB even when
7316         its kind is a directory.
7317
7318 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7319
7320         * elmo-version.el (elmo-version): Up to 2.5.7.
7321
7322 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7323
7324         * elmo-version.el (elmo-version): Up to 2.5.6.
7325
7326 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7327
7328         * elmo-version.el (elmo-version): Up to 2.5.5.
7329
7330 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7331
7332         * elmo-imap4.el (elmo-network-authenticate-session):
7333         Fixed a logic for response checking.
7334
7335 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7336
7337         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7338         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7339         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7340         `sasl-mechanisms'.
7341
7342         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7343         for `starttls-open-stream' and `starttls-negotiate'.
7344
7345         * elmo-nntp.el: Remove autoload settings for
7346         `starttls-open-stream' and `starttls-negotiate'.
7347
7348         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7349         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7350         `luna-define-class' with `eval-and-compile'.
7351
7352 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7353
7354         * elmo-util.el (elmo-read-search-condition-internal):
7355         Require an element of table for searching field.
7356
7357 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7358
7359         * elmo-version.el (elmo-version): Up to 2.5.4.
7360
7361 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7362
7363         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7364
7365 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7366
7367         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7368
7369 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7370
7371         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7372         before greeting.
7373
7374 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7375
7376         * elmo-imap4.el (elmo-imap4-delete-folder):
7377         Send "close" before "delete" (Use commented out line).
7378         (elmo-imap4-rename-folder): Ditto.
7379
7380         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7381         folder string itself.
7382         (elmo-dop-list-deleted): New function.
7383         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7384         killed.
7385
7386         * elmo-util.el (elmo-string-rassoc-all): New function.
7387
7388 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7389
7390         * elmo-version.el (elmo-version): Up to 2.5.3.
7391
7392         * elmo-net.el (elmo-network-get-session): Changed logic for
7393         checking process status.
7394
7395         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7396         process is nil;
7397         Changed logic for checking process status.
7398
7399 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7400
7401         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7402         before greeting.
7403         (elmo-network-setup-session): Set UIDL hash size according to
7404         the length of list response.
7405         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7406         according to the length of list response;
7407         Return the length of list response.
7408         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7409
7410 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7411
7412         * elmo-imap4.el (toplevel): Require 'ssl.
7413         Add autoload 'starttls.
7414         * elmo-pop3.el (toplevel): Ditto.
7415         * elmo-nntp.el (toplevel): Ditto.
7416
7417 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7418
7419         * elmo-imap4.el (toplevel): defun at compile time.
7420         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7421         sasl-next-step, sasl-step-data, sasl-step-set-data.
7422         * elmo-pop3.el (toplevel): Ditto.
7423
7424 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7425
7426         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7427
7428 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7429
7430         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7431         if error.
7432         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7433         and `elmo-pop-auth-apop'.
7434
7435 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7436
7437         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7438
7439 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7440
7441         * elmo-pop3.el (elmo-network-authenticate-session): Split
7442         encoded response value.
7443
7444 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7445
7446         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7447         `elmo-pop3-force-login'.
7448         Redefine `sasl-mechanisms'.
7449         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7450
7451 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7452
7453         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7454         Delete `elmo-imap4-authenticator-alist'.
7455         (elmo-imap4-auth-cram-md5): Delete.
7456         (elmo-imap4-auth-digest-md5): Delete.
7457
7458 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7459
7460         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7461         (elmo-pop3-auth-scram-md5): Ditto.
7462         (elmo-pop3-auth-cram-md5): Ditto.
7463
7464 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7465
7466         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7467         Delete `elmo-pop3-authenticator-alist'.
7468
7469 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7470
7471         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7472         new SASL API.
7473         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7474
7475 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7476
7477         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7478
7479 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7480
7481         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7482         Fixed problem when `elmo-pop3-use-uidl' is nil.
7483         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7484
7485 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7486
7487         * elmo-version.el (elmo-version): Up to 2.5.2.
7488
7489 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7490
7491         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7492         New function.
7493         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7494         (elmo-pop3-msgdb-create-as-numlist): Use it.
7495
7496         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7497         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7498
7499         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7500         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7501
7502 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7503
7504         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7505         when elmo-mark-as-read is called with second argument nil.
7506
7507 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7508
7509         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7510         Moved to elmo-util.el.
7511
7512         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7513         Moved from elmo-pipe.el
7514
7515         * elmo-archive.el (elmo-archive-call-process): Enclose with
7516         static-if.
7517
7518         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7519         "RFC822" (because RFC822.PEEK is obsolete).
7520         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7521
7522 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7523
7524         * elmo-archive.el (elmo-archive-call-process): Don't check for
7525         the exit status when Nemacs is running.
7526
7527 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7528
7529         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7530         'plain.
7531
7532         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7533         (elmo-pop3-get-spec): Set default of auth to 'user.
7534
7535         * elmo-imap4.el (elmo-imap4-session-check):
7536         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7537         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7538         (elmo-imap4-auth-login): New function; Revival.
7539         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7540         `elmo-imap4-auth-login'.
7541
7542 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7543
7544         * elmo2.el (toplevel): Move `product-provide' declare.
7545         * mmelmo.el (toplevel): Ditto.
7546
7547 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7548
7549         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7550
7551 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7552
7553         * elmo-util.el (elmo-folder-get-store-type): New function.
7554         (elmo-folder-direct-copy-p): Use it.
7555
7556 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7557
7558         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7559         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7560         and result of `elmo-imap4-use-flag-p'.
7561         (elmo-imap4-fetch-callback-1): Set mark according to
7562         the result of `elmo-imap4-use-flag-p'.
7563
7564 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7565
7566         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7567         (elmo-generic-list-folder-unread): Ditto.
7568         (elmo-folder-get-info): Ditto.
7569         (elmo-folder-set-info-max-by-numdb): Ditto.
7570         (elmo-folder-get-info-max): Ditto.
7571         (elmo-folder-get-info-length): Ditto.
7572         (elmo-folder-get-info-unread): Ditto.
7573         (elmo-folder-info-make-hashtb): Ditto.
7574
7575         * elmo2.el: Removed above functions.
7576
7577 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7578
7579         * elmo-imap4.el (toplevel): Require 'ssl.
7580         Add autoload 'starttls.
7581         * elmo-pop3.el (toplevel): Ditto.
7582         * elmo-nntp.el (toplevel): Ditto.
7583
7584 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7585
7586         * elmo-imap4.el (toplevel): defun at compile time.
7587         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7588         sasl-next-step, sasl-step-data, sasl-step-set-data.
7589         * elmo-pop3.el (toplevel): Ditto.
7590
7591 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7592
7593         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7594
7595 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7596
7597         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7598         if error.
7599         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7600         and `elmo-pop-auth-apop'.
7601
7602 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7603
7604         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7605
7606 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7607
7608         * elmo-pop3.el (elmo-network-authenticate-session): Split
7609         encoded response value.
7610
7611 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7612
7613         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7614         `elmo-pop3-force-login'.
7615         Redefine `sasl-mechanisms'.
7616         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7617
7618 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7619
7620         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7621         Delete `elmo-imap4-authenticator-alist'.
7622         (elmo-imap4-auth-cram-md5): Delete.
7623         (elmo-imap4-auth-digest-md5): Delete.
7624
7625 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7626
7627         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7628         (elmo-pop3-auth-scram-md5): Ditto.
7629         (elmo-pop3-auth-cram-md5): Ditto.
7630
7631 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7632
7633         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7634         Delete `elmo-pop3-authenticator-alist'.
7635
7636 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7637
7638         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7639         new SASL API.
7640         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7641
7642 \f
7643 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7644
7645         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7646
7647 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7648
7649         * elmo-nntp.el (elmo-nntp-get-folders-info):
7650         Fixed problem when '\' character is contained in user-id.
7651         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7652
7653 \f
7654 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7655
7656         * elmo-imap4.el (elmo-imap4-delete-folder):
7657         Send "close" before "delete" (Use commented out line).
7658         (elmo-imap4-rename-folder): Ditto.
7659
7660         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7661         folder string itself.
7662         (elmo-dop-list-deleted): New function.
7663         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7664         killed.
7665
7666         * elmo-util.el (elmo-string-rassoc-all): New function.
7667
7668         * elmo-version.el (elmo-version): Up to 2.5.1.
7669
7670 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7671
7672         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7673
7674         * elmo-internal.el (elmo-internal-search): Fix last change.
7675
7676 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7677
7678         * elmo-internal.el (elmo-internal-search): Rewrite.
7679         (Fixed problem which is pointed out by Akihiro MOTOKI
7680         <motoki@da.jp.nec.com>)
7681
7682         * elmo-version.el (elmo-version): Up to 2.5.0.
7683
7684 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7685
7686         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7687
7688 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7689
7690         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7691         non-nil, make hierarchy.
7692
7693 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7694
7695         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7696         `elmo-pop3-use-uidl' must be bound to nil.
7697         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7698
7699 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7700
7701         * elmo-util.el (elmo-copy-file): Don't cause an error after
7702         `add-name-to-file' failed.
7703
7704         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7705         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7706
7707 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7708
7709         * elmo-version.el (elmo-version): Up to 2.3.93.
7710
7711 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7712
7713         * elmo-util.el (elmo-flatten): New function.
7714
7715 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7716
7717         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7718         sync Author header.
7719         * elmo-cache.el (toplevel): Ditto.
7720         * elmo-database.el (toplevel): Ditto.
7721         * elmo-date.el (toplevel): Ditto.
7722         * elmo-dop.el (toplevel): Ditto.
7723         * elmo-filter.el (toplevel): Ditto.
7724         * elmo-imap4.el (toplevel): Ditto.
7725         * elmo-internal.el (toplevel): Ditto.
7726         * elmo-localdir.el (toplevel): Ditto.
7727         * elmo-localnews.el (toplevel): Ditto.
7728         * elmo-maildir.el (toplevel): Ditto.
7729         * elmo-msgdb.el (toplevel): Ditto.
7730         * elmo-multi.el (toplevel): Ditto.
7731         * elmo-net.el (toplevel): Ditto.
7732         * elmo-nntp.el (toplevel): Ditto.
7733         * elmo-pipe.el (toplevel): Ditto.
7734         * elmo-pop3.el (toplevel): Ditto.
7735         * elmo-util.el (toplevel): Ditto.
7736         * elmo-vars.el (toplevel): Ditto.
7737         * elmo2.el (toplevel): Ditto.
7738         * mmelmo-imap4.el (toplevel): Ditto.
7739         * mmelmo.el (toplevel): Ditto.
7740
7741         * elmo-version.el (elmo-version): Move to top.
7742
7743         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7744         * elmo-imap4.el (toplevel): Ditto.
7745         * elmo-localdir.el (toplevel): Ditto.
7746         * elmo-msgdb.el (toplevel): Ditto.
7747         * elmo-nntp.el (toplevel): Ditto.
7748         * elmo-pop3.el (toplevel): Ditto.
7749         * elmo-version.el (toplevel): Ditto.
7750
7751         * elmo-localnews.el (toplevel): Added Keyword header.
7752
7753 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7754
7755         * elmo-version.el (product-version-as-string): Defined using
7756         `defun-maybe'.
7757         (toplevel): Use it.
7758
7759         * elmo-localdir.el (toplevel): Updated copyright notice.
7760         * elmo-version.el (toplevel): Ditto.
7761         * elmo-msgdb.el (toplevel): Ditto.
7762         * elmo-imap4.el (toplevel): Ditto.
7763         * elmo-nntp.el (toplevel): Ditto.
7764         * elmo-pop3.el (toplevel): Ditto.
7765
7766 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7767
7768         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7769         messages.
7770
7771         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7772         parameter value (It sometimes contains raw kanji).
7773
7774 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7775
7776         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7777         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7778
7779 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7780
7781         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7782
7783 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7784
7785         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7786         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7787
7788 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7789
7790         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7791         value if selecting folder succceeded.
7792         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7793
7794 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7795
7796         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7797         representation.
7798
7799         * elmo-util.el (elmo-string-matched-member): New function.
7800
7801 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7802
7803         * elmo-util.el (elmo-unintern): New macro.
7804         (elmo-number-set-member): Fixed docstring.
7805
7806         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7807         tag token.
7808
7809 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7810
7811         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7812         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7813
7814 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7815
7816         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7817         `no-error'.
7818         Added docstring.
7819         Return non-nil if selecting folder succeeded.
7820         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7821
7822 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7823
7824         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7825         `file-name-completion' returns t.
7826         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7827         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7828         directory if it does not exist.
7829         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7830         for iteration.
7831
7832 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7833
7834         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7835         enclosure (It's harmful in unplugged status).
7836
7837         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7838
7839         * mmelmo-1.el: Removed.
7840
7841         * mmelmo-2.el: Ditto.
7842
7843         * mmelmo-imap4-1.el: Ditto.
7844
7845         * mmelmo-imap4-2.el: Ditto.
7846
7847         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7848
7849         * mmelmo.el: Merged mmelmo-2.el.
7850
7851         * elmo-version.el (elmo-version): Up to 2.3.92.
7852
7853 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7854
7855         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7856         elmo-update-number): Remove last period in "...done." message.
7857         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7858         Ditto.
7859         * elmo-cache.el (elmo-cache-expire-by-size,
7860         elmo-cache-get-sorted-cache-file-list,
7861         elmo-cache-msgdb-create-as-numlist): Ditto.
7862         * elmo-dop.el (elmo-dop-save-pending-messages,
7863         (elmo-dop-flush-pending-append-operations): Ditto.
7864         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7865         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7866         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7867         (elmo-localdir-pack-number): Ditto.
7868         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7869         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7870         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7871         mime-write-entity-content): Ditto.
7872         * pldap.el (ldap-search-basic): Ditto.
7873
7874 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7875
7876         * elmo-version.el (elmo-version): Up to 2.3.91.
7877
7878         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7879         Only when filter is 'last'.
7880
7881         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7882         (elmo-condition-parse-search-value): Use it.
7883         (elmo-read-search-condition-internal): Quote value only when
7884         it is not an atom.
7885
7886 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7887
7888         * elmo2.el (elmo-generic-folder-diff): Fix.
7889
7890 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7891
7892         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7893         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7894         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7895         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7896         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7897         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7898
7899 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7900
7901         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7902         extra-fields.
7903
7904 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7905
7906         * elmo-version.el (elmo-version): Up to 2.3.90.
7907
7908         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7909         (elmo-imap4-list-folder-important): Ditto.
7910
7911 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7912
7913         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7914
7915 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7916
7917         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7918
7919 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7920
7921         * elmo-nntp.el (elmo-network-initialize-session):
7922         Add starttls negotiation.
7923
7924 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7925
7926         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7927         response.
7928         (elmo-network-setup-session): Define.
7929         Call `elmo-nntp-send-mode-reader' when session opened.
7930
7931 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7932
7933         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7934
7935 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7936
7937         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7938         an invalid SPACE character ahead of `SEARCH' command.  Move
7939         a valid SPACE character following `SEARCH' from conditional
7940         `format' arguments to control-strings.
7941
7942 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7943
7944         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7945         was succeeded.
7946
7947         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7948
7949 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7950
7951         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7952         `w32-get-true-file-link-count' as t.
7953
7954         * elmo-imap4.el (elmo-imap4-read): Abolished.
7955         (Renamed to `elmo-read' and moved to elmo-util.el)
7956         All other related portions are changed.
7957
7958         * elmo-util.el (elmo-read): New function.
7959         (elmo-condition-parse-search-value): Use it.
7960
7961 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7962
7963         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7964
7965         * elmo-nntp.el (elmo-nntp-session): Define.
7966         (elmo-nntp-setting): Abolished.
7967         All other related portions are changed.
7968         (elmo-nntp-get-server-command): Changed argument.
7969         (elmo-nntp-set-server-command): Ditto.
7970         (elmo-nntp-xover-p): Ditto.
7971         (elmo-nntp-set-xover): Ditto.
7972         (elmo-nntp-listgroup-p): Ditto.
7973         (elmo-nntp-set-listgroup): Ditto.
7974         (elmo-nntp-list-active-p): Ditto.
7975         (elmo-nntp-set-list-active): Ditto.
7976         (elmo-nntp-xhdr-p): Ditto.
7977         (elmo-nntp-set-xhdr): Ditto.
7978         (elmo-nntp-flush-connection): Abolished.
7979         (elmo-nntp-get-connection): Abolished.
7980         (elmo-nntp-get-session): New function.
7981         (elmo-network-initialize-session): Defined.
7982         (elmo-network-authenticate-session): Ditto.
7983         (elmo-nntp-send-mode-reader): Changed argument.
7984         (elmo-nntp-send-command): Changed argument.
7985         All other related portions are changed.
7986         (elmo-nntp-read-response): Ditto.
7987         (elmo-nntp-read-raw-response): Ditto.
7988         (elmo-nntp-read-contents): Ditto.
7989         (elmo-nntp-read-body): Ditto.
7990         (elmo-nntp-goto-folder): Abolished.
7991         (elmo-nntp-select-group): New function.
7992         All other related portions are changed.
7993         (This function substitutes `elmo-nntp-goto-folder')
7994         (elmo-nntp-msgdb-create-by-header): Rewrite.
7995         (elmo-nntp-get-overview): Eliminated.
7996         (elmo-nntp-get-message): Ditto.
7997         (elmo-nntp-open-connection) Abolished.
7998         (elmo-nntp-read-msg): Rewrite.
7999         (elmo-nntp-post): Ditto.
8000         (elmo-nntp-send-data): Abolished.
8001         (elmo-nntp-send-buffer): New function.
8002         (elmo-nntp-send-data-line): Define as inline function.
8003         (elmo-nntp-get-folders-info-prepare): Use session as key.
8004         (elmo-nntp-groups-read-response): Changed argument.
8005         (elmo-nntp-retrieve-headers): Ditto.
8006         (elmo-nntp-msgdb-create-message): Ditto.
8007
8008         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8009         when searching by 'since' or 'before'.
8010
8011 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8012
8013         * elmo-version.el (toplevel): Use product-version-as-string for set
8014         verstion-string, if defined.
8015
8016 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8017
8018         * elmo-util.el: Doc fixes.
8019
8020 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8021
8022         * elmo-archive.el (toplevel): Use product-provide.
8023         * elmo-cache.el (toplevel): Ditto.
8024         * elmo-database.el (toplevel): Ditto.
8025         * elmo-date.el (toplevel): Ditto.
8026         * elmo-dop.el (toplevel): Ditto.
8027         * elmo-filter.el (toplevel): Ditto.
8028         * elmo-imap4.el (toplevel): Ditto.
8029         * elmo-internal.el (toplevel): Ditto.
8030         * elmo-localdir.el (toplevel): Ditto.
8031         * elmo-localnews.el (toplevel): Ditto.
8032         * elmo-maildir.el (toplevel): Ditto.
8033         * elmo-msgdb.el (toplevel): Ditto.
8034         * elmo-multi.el (toplevel): Ditto.
8035         * elmo-net.el (toplevel): Ditto.
8036         * elmo-nntp.el (toplevel): Ditto.
8037         * elmo-pipe.el (toplevel): Ditto.
8038         * elmo-pop3.el (toplevel): Ditto.
8039         * elmo-util.el (toplevel): Ditto.
8040         * elmo-vars.el (toplevel): Ditto.
8041         * elmo2.el (toplevel): Ditto.
8042         * mmelmo-1.el (toplevel): Ditto.
8043         * mmelmo-2.el (toplevel): Ditto.
8044         * mmelmo-imap4-1.el (toplevel): Ditto.
8045         * mmelmo-imap4-2.el (toplevel): Ditto.
8046         * mmelmo-imap4.el (toplevel): Ditto.
8047         * mmelmo.el (toplevel): Ditto.
8048
8049 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8050
8051         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8052         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8053
8054 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8055
8056         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8057         before splitting.
8058         (elmo-multi-split-number-alist): Ditto.
8059
8060 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8061
8062         * elmo-version.el: New file.  Use product.el.
8063         * elmo2.el: Add (require 'elmo-version).
8064         * elmo-vars.el (elmo-appname, elmo-version): Move to
8065         elmo-version.el
8066
8067 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8068
8069         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8070         `elmo-msgdb-expand-path'.
8071         (elmo-msgdb-load): Ditto.
8072         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8073         (elmo-generic-list-folder-unread): Rewrite.
8074         (elmo-generic-list-folder-important): Changed argument.
8075         (elmo-list-folder-unread): Ditto.
8076         (elmo-list-folder-important): Ditto.
8077         (elmo-folder-diff): Rewrite.
8078         (elmo-generic-folder-diff): New function.
8079         (elmo-multi-get-number-alist-list): Abolished
8080         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8081         (elmo-multi-folder-diff): Moved to elmo-multi.el
8082         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8083
8084         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8085         `elmo-msgdb-expand-path'.
8086         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8087         (elmo-pop3-read-msg): Ditto.
8088         (elmo-pop3-delete-msgs): Ditto.
8089         (elmo-pop3-folder-diff): New alias.
8090
8091         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8092         `elmo-msgdb-expand-path'.
8093         (elmo-pipe-list-folder-unread): Changed arguments.
8094         (elmo-pipe-list-folder-important): Ditto.
8095         (elmo-pipe-folder-diff): New alias.
8096
8097         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8098         `elmo-msgdb-expand-path'.
8099         (elmo-nntp-max-of-folder): Ditto.
8100         (elmo-nntp-msgdb-create): Ditto.
8101         (elmo-nntp-delete-msgs): Ditto.
8102         (elmo-nntp-folder-diff): New alias.
8103
8104         * elmo-multi.el (elmo-multi-folder-diff): New function.
8105         (elmo-multi-split-mark-alist): Ditto.
8106         (elmo-multi-split-number-alist): Ditto.
8107         (elmo-multi-mark-alist-list): Abolished (Renamed to
8108         elmo-multi-split-mark-alist).
8109         (elmo-multi-list-folder-unread): Rewrite.
8110         (elmo-multi-list-folder-important): Ditto.
8111         (elmo-multi-list-folder): Set `spec' as 1st argument for
8112         `elmo-msgdb-expand-path'.
8113         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8114         instead of `elmo-multi-get-number-alist-list'.
8115
8116         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8117         If 1st argument is not string, treat as spec.
8118         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8119         `elmo-msgdb-expand-path'.
8120         (elmo-msgdb-flist-load): Ditto.
8121         (elmo-msgdb-flist-save): Ditto.
8122         (elmo-msgdb-delete-path): Ditto.
8123         (elmo-msgdb-rename-path): Ditto.
8124
8125         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8126         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8127         (elmo-maildir-delete-mark-msgs): Ditto.
8128         (elmo-maildir-msgdb-create): Ditto.
8129         (elmo-maildir-read-msg): Ditto.
8130         (elmo-maildir-delete-msgs): Ditto.
8131         (elmo-maildir-list-folder-subr): Ditto.
8132         (elmo-maildir-search): Ditto.
8133         (elmo-maildir-get-msg-filename): Ditto.
8134         (elmo-maildir-pack-number): Ditto.
8135         (elmo-maildir-folder-diff): New alias.
8136
8137         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8138
8139         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8140         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8141         (elmo-localdir-folder-diff): New alias.
8142
8143         * elmo-internal.el (elmo-internal-list-folder-subr):
8144         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8145         (elmo-internal-list-folder-by-location): Ditto.
8146         (elmo-internal-msgdb-create): Ditto.
8147         (elmo-internal-delete-msgs): Ditto.
8148         (elmo-internal-read-msg): Ditto.
8149         (elmo-internal-folder-diff): New alias.
8150
8151         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8152         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8153         `elmo-msgdb-expand-path'.
8154         (elmo-imap4-list-folder-unread): Changed arguments.
8155         (elmo-imap4-list-folder-important): Ditto.
8156
8157         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8158         (elmo-filter-list-folder-important): Ditto.
8159         (elmo-filter-folder-diff): New function.
8160
8161         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8162
8163         * elmo-cache.el (elmo-cache-list-folder):
8164         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8165         (elmo-cache-copy-msgs): Ditto.
8166         (elmo-cache-folder-diff): New alias.
8167
8168         * elmo-archive.el (elmo-archive-list-folder-subr):
8169         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8170         (elmo-archive-get-archive-name): Ditto.
8171         (elmo-archive-create-file): Ditto.
8172         (elmo-archive-append-msg): Ditto.
8173         (elmo-archive-copy-msgs): Ditto.
8174         (elmo-archive-copy-msgs-froms): Ditto.
8175         (elmo-archive-get-msg-filename): Ditto.
8176         (elmo-archive-folder-diff): New alias.
8177
8178 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8179
8180         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8181         (elmo-pop3-stream-type-alist): New variable.
8182         (elmo-nntp-stream-type-alist): New variable.
8183
8184         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8185         (elmo-kill-buffer): Ditto.
8186         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8187         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8188         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8189         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8190         (elmo-imap4-get-spec): Take into account
8191         `elmo-imap4-stream-type-alist'.
8192
8193 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8194
8195         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8196         (elmo-nntp-list-folders-get-cache): Ditto.
8197
8198 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8199
8200         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8201         character before 'uid'.
8202
8203 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8204
8205         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8206
8207         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8208
8209         * elmo-util.el (elmo-number-set-member): New function.
8210         (elmo-number-set-append-list): Ditto.
8211         (elmo-number-set-append): Ditto.
8212
8213         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8214         Use `elmo-number-set-member'.
8215         (elmo-living-messages): Ditto.
8216         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8217         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8218
8219         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8220         (elmo-imap4-add-to-cont-list): Abolished.
8221         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8222         instead of elmo-imap4-add-to-cont-list.
8223
8224         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8225         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8226
8227         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8228
8229 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8230
8231         * elmo-util.el (elmo-condition-parse-search-value):
8232         Fixed date parsing.
8233
8234 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8235
8236         * elmo-util.el (elmo-condition-find-key-internal): New function.
8237         (elmo-condition-find-key): Ditto.
8238
8239         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8240         (elmo-msgdb-search-internal): Ditto.
8241         (elmo-msgdb-search): Ditto.
8242
8243 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8244
8245         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8246         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8247
8248         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8249         (elmo-nntp-search-primitive): Fixed problem when condition is
8250         'unmatch'.
8251
8252         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8253
8254         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8255         (elmo-nntp-xhdr-p): New macro.
8256         (elmo-nntp-set-xhdr): Ditto.
8257         (elmo-nntp-parse-xhdr-response): New function.
8258         (elmo-nntp-retrieve-field): Ditto.
8259         (elmo-nntp-search-primitive): Ditto.
8260         (elmo-nntp-search): Implemented.
8261
8262         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8263
8264         * elmo-archive.el (elmo-archive-search): Set all number list to
8265         `elmo-archive-field-condition-match'
8266
8267         * elmo-localdir.el (elmo-localdir-search): Likewise.
8268
8269         * elmo-maildir.el (elmo-maildir-search): Likewise.
8270
8271 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8272
8273         * elmo-msgdb.el (elmo-living-messages): New function.
8274         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8275         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8276         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8277         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8278         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8279         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8280         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8281         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8282         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8283         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8284         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8285
8286 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8287
8288         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8289
8290         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8291
8292         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8293
8294         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8295         arguments for `SEARCH' command.
8296         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8297         All other related portions are changed.
8298
8299         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8300
8301         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8302         (elmo-list-folder-unread): Rewrite.
8303         (elmo-list-folder-important): Ditto.
8304
8305         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8306         (elmo-condition-parse-error): New inline function.
8307         (elmo-read-search-condition): New function.
8308         (elmo-read-search-condition-internal): Ditto.
8309         (elmo-parse-search-condition): Rewrite.
8310         (elmo-condition-parse): New function.
8311         (elmo-condition-parse-or-expr): Ditto.
8312         (elmo-condition-parse-and-expr): Ditto.
8313         (elmo-condition-parse-primitive): Ditto.
8314         (elmo-condition-parse-search-value): Ditto.
8315         (elmo-buffer-field-primitive-condition-match): Ditto.
8316         (elmo-buffer-field-condition-match): Rewrite.
8317         (elmo-file-field-condition-match): Ditto.
8318
8319         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8320         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8321
8322         * elmo-internal.el (elmo-internal-search): Set `number' and
8323         `number-list' argument of `elmo-file-field-condition-match'.
8324
8325         * elmo-maildir.el (elmo-maildir-search): Ditto.
8326
8327         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8328         `msgdb' as argument instead of `mark-alist'.
8329         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8330         `overview'.
8331
8332         * elmo-multi.el: Likewise.
8333
8334         * elmo-pipe.el: Likewise.
8335
8336         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8337         (elmo-imap4-search-internal): Rewrite.
8338         (elmo-imap4-search): Ditto.
8339
8340         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8341         (elmo-filter-list-folder-unread): Ditto.
8342         (elmo-filter-list-folder-important): Ditto.
8343         (elmo-filter-search): Rewrite.
8344
8345         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8346         `number-list' argument of `elmo-file-field-condition-match'.
8347         (elmo-cache-search): Ditto.
8348
8349         * elmo-localdir.el: Likewise.
8350
8351         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8352         number-list and pass it to `elmo-buffer-field-condition-match'.
8353         (elmo-archive-field-condition-match): Pass `number-list' to
8354         `elmo-archive-field-condition-match'
8355
8356 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8357
8358         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8359         `listgroup'.
8360
8361         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8362         (elmo-folder-diff-async-callback-data): Ditto.
8363         (elmo-folder-diff-async): New function.
8364
8365         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8366         (elmo-network-session-cache-key): Use it as a prefix of the session
8367         name.
8368         (elmo-network-open-session): Ditto.
8369
8370         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8371         (elmo-imap4-status-callback-data): Ditto.
8372         (elmo-imap4-server-diff-async-callback): New variable.
8373         (elmo-imap4-server-diff-async-callback-data): Ditto.
8374         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8375         `elmo-imap4-status-callback-data'.
8376         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8377         `elmo-imap4-status-callback-data' as nil.
8378         (elmo-imap4-server-diff): Ditto.
8379         (elmo-imap4-server-diff-async-callback-1): New function.
8380         (elmo-imap4-server-diff-async): Ditto.
8381         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8382
8383 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8384
8385         * elmo-util.el (elmo-list-delete): Doc fix.
8386         (elmo-delete-lists): Abolish.
8387         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8388         instead of `elmo-delete-lists'.
8389
8390 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8391
8392         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8393         before `sort'.
8394
8395 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8396
8397         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8398         `elmo-imap4-literal-subr'.
8399         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8400         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8401
8402 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8403
8404         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8405         (elmo-archive-list-folder): Fix.
8406         (elmo-archive-max-of-folder): Fix.
8407
8408 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8409
8410         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8411          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8412         (elmo-localdir-append-msg): Ditto.
8413         (elmo-localdir-list-folder): Fix for `nonsort'.
8414         (elmo-localdir-list-folder-subr): Fix for `killed'.
8415         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8416         (elmo-maildir-list-folder-subr): Ditto.
8417         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8418         (elmo-archive-list-folder-subr): Ditto.
8419         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8420         (elmo-internal-list-folder-subr): Ditto.
8421
8422 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8423
8424         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8425
8426 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8427
8428         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8429
8430 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8431
8432         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8433         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8434
8435         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8436         before greeting.
8437         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8438         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8439
8440 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8441
8442         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8443
8444         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8445         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8446         before STORE command.
8447
8448 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8449
8450         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8451
8452         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8453         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8454         of `response'.
8455         (elmo-imap4-list-folders): Removed unused local variable.
8456         (elmo-network-initialize-session): Ditto.
8457         (elmo-imap4-delete-msg-by-id): Ditto.
8458         (elmo-imap4-parse-fetch): Ditto.
8459         (elmo-imap4-copy-msgs): Ditto.
8460         Use `dst-spec' instead of `dst-folder'.
8461         (elmo-network-authenticate-session): Check authenticate type `plain'.
8462
8463 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8464
8465         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8466         garbage checking.
8467         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8468         `elmo-imap4-response-value'.
8469         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8470
8471 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8472
8473         * elmo-imap4.el (elmo-imap4-send-command):
8474         Cause elmo-imap4-bye-error when current response is BYE.
8475         (elmo-imap4-arrival-filter): Changed greeting response value.
8476
8477         * elmo2.el (elmo-imap4-bye-error): Define.
8478
8479         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8480         (elmo-imap4-server-diff): Ditto.
8481         (elmo-imap4-response-bye-p): New macro.
8482         (elmo-imap4-response-error-text): Get text from BYE response.
8483         (elmo-imap4-read-response): Return if BYE response.
8484         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8485         (elmo-imap4-folder-exists-p): Ditto.
8486         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8487         (elmo-imap4-parse-bye): New function.
8488         (elmo-imap4-parse-response): Remove needless let.
8489         Call `elmo-imap4-parse-bye'.
8490
8491 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8492
8493         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8494         the mailbox does not exist.
8495         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8496
8497 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8498
8499         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8500
8501 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8502
8503         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8504
8505         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8506         (elmo-network-initialize-session-buffer): Defined.
8507
8508         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8509         Abolished.
8510         (mmelmo-imap4-get-mime-entity): Rewrite.
8511
8512         * elmo2.el (elmo-error): Capitalize error message.
8513
8514         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8515         (elmo-network-session-buffer): New macro.
8516         (elmo-network-open-session): Use it.
8517
8518         * elmo-imap4.el: Rewrite.
8519
8520 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8521
8522         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8523
8524 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8525
8526         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8527         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8528         (elmo-imap4-create-msgdb-from-overview-string): Use
8529         `elmo-msgdb-create-overview-from-buffer'.
8530
8531 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8532
8533         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8534         (elmo-imap4-default-hierarchy-delimiter): New variable.
8535         (elmo-imap4-list-folders): Use it.
8536
8537 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8538
8539         * elmo-net.el (elmo-network-open-session): Add user and
8540         stream-type for process-buffer name.
8541
8542         * elmo-pop3.el (elmo-network-initialize-session): Call
8543         buffer-disable-undo.
8544
8545         * elmo-imap4.el (elmo-network-initialize-session):
8546         Set current-buffer as an argument for `buffer-disable-undo'.
8547
8548         * elmo-pop3.el (elmo-network-close-session): Don't use
8549         `process-live-p'.
8550
8551         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8552         Set default as 'user.
8553
8554         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8555
8556         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8557         and `elmo-imap4-flush-connection'.
8558
8559         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8560         (elmo-pop3-get-spec): Assume auth as symbol.
8561         (elmo-open-network-stream): Moved to `elmo-net'.
8562
8563         * elmo-pop3.el (toplevel): Require 'elmo-net.
8564         Define `sasl-cram-md5' to silence byte compilier.
8565         (elmo-pop3-connection-cache) Abolished.
8566         (elmo-pop3-authenticator-alist) New variable.
8567         (elmo-pop3-session): Define.
8568         (elmo-pop3-connection-get-process): Abolished.
8569         (elmo-pop3-connection-get-buffer): Ditto.
8570         (elmo-pop3-close-connection): Ditto.
8571         (elmo-pop3-flush-connection): Ditto.
8572         (elmo-pop3-get-connection): Ditto.
8573         (elmo-pop3-get-session): New function.
8574         (Replacement for `elmo-pop3-get-connection').
8575         All other related modules are changed.
8576         (elmo-network-close-session): Define.
8577         (elmo-pop3-send-command): Abolished argument `buffer'.
8578         All other related modules are changed.
8579         (elmo-pop3-read-response): Likewise.
8580         (elmo-pop3-open-connection): Abolished.
8581         (elmo-pop3-auth-user): New function.
8582         (elmo-pop3-auth-apop): Ditto.
8583         (elmo-pop3-auth-cram-md5): Ditto.
8584         (elmo-pop3-auth-scram-md5): Ditto.
8585         (elmo-pop3-auth-digest-md5): Ditto.
8586         (elmo-network-initialize-session): Define.
8587         (elmo-network-authenticate-session): Ditto.
8588         (elmo-network-setup-session): Ditto.
8589
8590         * elmo-imap4.el (toplevel): Require 'elmo-net.
8591         (elmo-imap4-session): Define.
8592         (elmo-imap4-connection-cache): Abolished.
8593         (elmo-imap4-password-key): Ditto.
8594         (elmo-imap4-flush-connection): Ditto.
8595         (elmo-imap4-get-connection): Ditto.
8596         All other related modules are changed.
8597         (elmo-imap4-get-session): New function
8598         (Replacement for `elmo-imap4-get-connection').
8599         (elmo-imap4-read-response): Abolished argument `buffer'.
8600         All other related modules are changed.
8601         (elmo-imap4-send-command): Likewise.
8602         (elmo-imap4-select-folder): Abolished.
8603         All other related modules are changed.
8604         (elmo-imap4-select-mailbox): New function.
8605         (Replacement for `elmo-imap4-select-folder').
8606         (elmo-imap4-auth-login): Simplify.
8607         (Assume current buffer as process buffer)
8608         (elmo-imap4-auth-cram-md5): Ditto.
8609         (elmo-imap4-auth-digest-md5): Ditto.
8610         (elmo-imap4-login): Ditto.
8611         (elmo-imap4-open-connection): Abolished.
8612         (elmo-imap4-open-connection-1): Abolished.
8613         (elmo-network-initialize-sessoin): Define.
8614         (elmo-network-authenticate-session): Ditto.
8615         (elmo-network-setup-session): Ditto.
8616
8617         * elmo-net.el: New module.
8618
8619 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8620
8621         * elmo-util.el (elmo-define-error): New function.
8622
8623         * elmo2.el (elmo-error): Define.
8624         (elmo-open-error): Define.
8625         (elmo-authenticate-error): Define.
8626
8627         * elmo-imap4.el (elmo-imap4-error): Abolish.
8628         (elmo-imap4-error-type): Abolish.
8629         (elmo-imap4-error-process): Abolish.
8630         (elmo-imap4-error-message): Abolish
8631         (elmo-imap4-list-folders): Don't quote lambda.
8632         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8633         (elmo-imap4-parse-namespace): Ditto.
8634         (elmo-imap4-open-connection): Rewrite.
8635         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8636         (elmo-imap4-get-connection): Abolish local variable `result'.
8637
8638 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8639
8640         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8641         wrong-type-argument error when auth is nil.
8642
8643 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8644
8645         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8646         (elmo-default-nntp-stream-type): Ditto.
8647         (elmo-default-pop3-stream-type): Ditto.
8648         (elmo-network-stream-type-alist): Ditto.
8649         (elmo-default-imap4-ssl): Abolished.
8650         (elmo-default-nntp-ssl): Ditto.
8651         (elmo-default-pop3-ssl): Ditto.
8652
8653         * elmo-util.el: (toplevel): Removed needless requires.
8654         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8655         (elmo-open-network-stream): Open network stream according to
8656         the value of `elmo-network-stream-type-alist'.
8657         (elmo-get-network-stream-type): New function.
8658         (elmo-network-stream-type-spec-string): New macro.
8659         (elmo-network-stream-type-symbol): Ditto.
8660         (elmo-network-stream-type-function): Ditto.
8661
8662         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8663         network-stream-type. All other related portions are changed.
8664         (elmo-pop3-open-connection): Ditto.
8665
8666         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8667         network-stream-type. All other related portions are changed.
8668
8669         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8670         network-stream-type.All other related portions are changed.
8671         (elmo-imap4-error): New macro.
8672         (elmo-imap4-error-type): Ditto.
8673         (elmo-imap4-error-process): Ditto.
8674         (elmo-imap4-error-message): Ditto.
8675         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8676         (elmo-imap4-auth-cram-md5): Ditto.
8677         (elmo-imap4-auth-digest-md5): Ditto.
8678         (elmo-imap4-login): Ditto.
8679         (elmo-imap4-open-connection): Remove password entry if authentication
8680         was in vain.
8681         (elmo-imap4-user-at-host): Abolished.
8682         (elmo-imap4-password-key): New buffer local variable.
8683         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8684         using protocol, port, auth and stream-type.
8685
8686         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8687
8688 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8689
8690         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8691
8692         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8693
8694         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8695         (elmo-imap4-authenticator-alist): New variable.
8696         (elmo-imap4-open-connection-1): Rename from
8697         elmo-imap4-open-connection.
8698         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8699         only wraps elmo-imap4-open-connection-1.
8700         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8701         user-at-host.
8702         (elmo-imap4-auth-login): New function.
8703         (elmo-imap4-auth-cram-md5): New function.
8704         (elmo-imap4-auth-digest-md5): New function.
8705         (elmo-imap4-login): New function.
8706
8707 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8708
8709         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8710         function `error'.
8711
8712 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8713
8714         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8715
8716 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8717
8718         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8719
8720 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8721
8722         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8723         for server responses, quote `*' regardless of where it appears.
8724
8725 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8726
8727         * elmo-maildir.el (elmo-maildir-commit): New alias.
8728
8729 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8730
8731         * elmo-util.el (elmo-display-progress):
8732                 Use `progress-feedback-with-label'.
8733
8734 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8735
8736         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8737         (elmo-imap4-non-atom-char-regex): Ditto.
8738         (elmo-imap4-non-text-char-regex): Ditto.
8739         (elmo-imap4-literal-threshold): Ditto.
8740         (elmo-imap4-atom-p): New function.
8741         (elmo-imap4-quotable-p): Ditto.
8742         (elmo-imap4-nil): Ditto.
8743         (elmo-imap4-atom): Ditto.
8744         (elmo-imap4-quoted): Ditto.
8745         (elmo-imap4-literal-subr): Ditto.
8746         (elmo-imap4-literal): Ditto.
8747         (elmo-imap4-buffer-literal): Ditto.
8748         (elmo-imap4-string-subr): Ditto.
8749         (elmo-imap4-string): Ditto.
8750         (elmo-imap4-buffer-string): Ditto.
8751         (elmo-imap4-astring-subr): Ditto.
8752         (elmo-imap4-astring): Ditto.
8753         (elmo-imap4-buffer-astring): Ditto.
8754         (elmo-imap4-nstring): Ditto.
8755         (elmo-imap4-buffer-nstring): Ditto.
8756         (elmo-imap4-mailbox): New alias.
8757         (elmo-imap4-field-body): Ditto.
8758         (elmo-imap4-userid): Ditto.
8759         (elmo-imap4-password): Ditto.
8760         (elmo-imap4-format-quoted): New function.
8761         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8762         arguments and handle "atom", "quoted" and "literal" string here.
8763         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8764         `elmo-imap4-send-command'.
8765         (elmo-imap4-folder-exists-p): Likewise.
8766         (elmo-imap4-create-folder): Likewise.
8767         (elmo-imap4-delete-folder): Likewise.
8768         (elmo-imap4-rename-folder): Likewise.
8769         (elmo-imap4-max-of-folder): Likewise.
8770         (elmo-imap4-check-validity): Likewise.
8771         (elmo-imap4-sync-validity): Likewise.
8772         (elmo-imap4-server-diff): Likewise.
8773         (elmo-imap4-select-folder): Likewise.
8774         (elmo-imap4-copy-msgs): Likewise.
8775         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8776         (elmo-imap4-mark-set-on-msgs): Likewise.
8777         (elmo-imap4-read-part): Likewise.
8778         (elmo-imap4-read-msg): Likewise.
8779         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8780         `elmo-imap4-password' for `elmo-imap4-send-command'.
8781         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8782         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8783         `elmo-imap4-buffer-literal'.
8784         (elmo-imap4-append-msg): Likewise.
8785
8786         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8787         `delete' for removing dead connection from the connection cache.
8788         Move deletion of the process buffer after that.
8789         (elmo-imap4-list): Change `defsubst' to `defun'.
8790         (elmo-imap4-commit): Make error message verbose.
8791         (elmo-imap4-search): Ditto.
8792         (elmo-imap4-list): Ditto.
8793         (elmo-imap4-select-folder): Ditto.
8794         (elmo-imap4-copy-msgs): Ditto.
8795         (elmo-imap4-delete-msg-by-id): Ditto.
8796         (elmo-imap4-append-msg-by-id): Ditto.
8797         (elmo-imap4-append-msg): Ditto.
8798
8799 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8800
8801         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8802         when dired is used on XEmacs.
8803
8804 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8805
8806         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8807         instead of `append'.
8808         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8809         `elmo-plugged-p' directly.
8810         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8811         of `elmo-plugged-p' directly.
8812
8813         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8814         Eliminate unused variable.  Use `memq' for checking a process status.
8815         Use `cons' instead of `append' for updating the connection cache.
8816         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8817         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8818
8819 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8820
8821         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8822         `elmo-imap4-read-point' exactly.
8823
8824         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8825         the local variable `folder' to `mailbox'.
8826         Rename the argument `fld' to `folder'.
8827
8828 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8829
8830         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8831         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8832
8833 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8834
8835         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8836         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8837         (elmo-pop3-uidl-number-hash): Ditto.
8838         (elmo-pop3-size-hash): Ditto.
8839         (elmo-pop3-uidl-done): Ditto.
8840         (elmo-pop3-list-done): Ditto.
8841         (elmo-pop3-connection-get-process): New defmacro.
8842         (elmo-pop3-connection-get-buffer): Ditto.
8843         (elmo-pop3-close-connection): Delete buffer and process.
8844         (elmo-pop3-flush-connection): Don't delete buffer and process.
8845         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8846         Setup UIDL and size hash.
8847         (elmo-pop3-send-command-no-erase): Deleted
8848         (elmo-pop3-send-command): Added optional argument `no-erase'.
8849         (elmo-pop3-parse-uidl-response): New function.
8850         (elmo-pop3-parse-list-response): Set size hash.
8851         (elmo-pop3-list-location): New function.
8852         (elmo-pop3-list-by-uidl-subr): Ditto.
8853         (elmo-pop3-list-by-list): Ditto.
8854         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8855         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8856         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8857         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8858         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8859         Use uidl.
8860         (elmo-pop3-uidl-to-number): New function.
8861         (elmo-pop3-number-to-uidl): Ditto.
8862         (elmo-pop3-number-to-size): Ditto.
8863         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8864         Set number by use of uidl.
8865         (elmo-pop3-msgdb-create-message): Likewise.
8866         Set size, loc-alist in msgdb.
8867         (elmo-pop3-read-msg): Set number by use of uidl.
8868         Added optional argument `msgdb'.
8869         (elmo-pop3-delete-msg): Ditto.
8870         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8871         (elmo-pop3-commit): Close connection.
8872
8873         * elmo-pipe.el (elmo-pipe-max-of-folder):
8874         Bind `elmo-pop3-use-uidl' as nil.
8875         (elmo-pipe-drain): Ditto.
8876         Call `elmo-commit'.
8877
8878         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8879         (elmo-msgdb-overview-entity-set-size): New defsubst.
8880
8881 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8882
8883         * elmo-vars.el (elmo-use-killed-list): New variable
8884         (Renamed from `elmo-nntp-use-killed-list').
8885         (elmo-nntp-use-killed-list): Eliminated.
8886
8887         * elmo-msgdb.el (elmo-msgdb-expand-path):
8888         Changed expanding msgdb path for elmo-multi.
8889
8890         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8891         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8892         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8893         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8894         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8895         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8896         (toplevel): Deleted time-stamp line.
8897
8898         * elmo2.el (elmo-clear-killed ): Defined as function
8899         (Abolished defining as a backend function).
8900         All other related modules are changed.
8901
8902 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8903
8904         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8905
8906 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8907
8908         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8909
8910 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8911
8912         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8913
8914 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8915
8916         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8917         asynchronous folder check.
8918
8919         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8920
8921         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8922         `elmo-nntp-use-killed-list'.
8923         (elmo-nntp-list-folder): Use killed list.
8924         (elmo-nntp-max-of-folder): Ditto.
8925         (elmo-nntp-msgdb-create): Set killed list.
8926
8927         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8928
8929         * elmo2.el (elmo-clear-killed): New backend function.
8930         All other related modules are changed.
8931
8932 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8933
8934         * elmo-util.el (elmo-imap4-spec-folder): Use
8935         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8936         All callers changed.
8937
8938 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8939
8940         * mmelmo-2.el (initialize-instance):
8941         Use `mime-buffer-entity-buffer-internal' instead of
8942         `mime-entity-buffer'.
8943
8944         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8945         (mime-entity-body): Implemented.
8946         (mime-goto-header-start-point): Deleted.
8947         (mime-goto-body-end-point): Ditto.
8948         (mime-entity-point-min): Ditto.
8949         (mime-entity-point-max): Ditto.
8950         (mime-entity-children): Ditto.
8951         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8952         instead of `mime-entity-buffer'.
8953         (mime-entity-header-buffer): Ditto.
8954         (mime-entity-body-buffer): Ditto.
8955         (mime-write-entity-content): Ditto.
8956
8957         * pldap.el (ldap-static-if): New macro.
8958         (toplevel): Use it instead of `static-if'.
8959
8960 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8961
8962         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8963         included in `attrs' argument.
8964
8965 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8966
8967         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8968
8969         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8970         (ldap-ldif-safe-init-char-regexp): Ditto.
8971         (ldap-ldif-safe-string-regexp): Ditto.
8972         (ldap/ldif-safe-string-p): New macro.
8973         (ldap/ldif-insert-field): Ditto.
8974         (ldap-modify): Use it.
8975         (ldap-add): Ditto.
8976         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8977         (ldap-decode-attribute): Decode only when `attr' is consp.
8978         (ldap-delete): Bind `ret'.
8979         (toplevel): Require 'cl at compile time.
8980         Removed (require 'poe) and (require 'std11).
8981         (pldap-version): Eliminated.
8982         (ldap-search-basic): Removed auth and dn binding.
8983         (ldap-ldif-field-name-regexp): New constant.
8984         (ldap-ldif-field-head-regexp): Ditto.
8985         (ldap-ldif-next-field-head-regexp): Ditto.
8986         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8987         (ldap/field-end): New function.
8988         (ldap/field-body): Use it.
8989         (ldap/collect-field): Ditto.
8990         (ldap-search-basic): Use `ldap/field-body'.
8991
8992 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8993
8994         * pldap.el (ldap-default-attribute-encoder): New user option.
8995         (ldap/field-body): Decode base64 string.
8996         (ldap/collect-field): Ditto.
8997         (ldap-encode-attribute): New function.
8998         (ldap-add-entries): Use it.
8999         (ldap-modify-entries): Ditto.
9000         (ldap-search-entries): Enclosed decoding function with
9001         `with-temp-buffer' and set as unibyte.
9002         (ldap-search-basic): Set process buffer as unibyte.
9003
9004         * elmo-util.el (elmo-folder-identical-system-p):
9005         Eliminated name space checking.
9006
9007         * pldap.el: New module.
9008         toplevel: Changed condition to detect built-in ldap feature.
9009         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9010         (ldap-add): Added error handling.
9011         (ldap-modify): Ditto.
9012         (ldap-delete): Ditto.
9013
9014 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9015
9016         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9017         Initialize local variables with `let'.  Inline a temporary
9018         variable for the progress percentage.  Sort `setq' to reduce
9019         function call in the while-loop.
9020
9021         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9022         into the conditional branch.
9023
9024 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9025
9026         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9027         Move a conditional out of the while-loop.
9028
9029 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9030
9031         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9032         elmo-msgdb-overview-get-entity-by-number.
9033         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9034         throw.
9035
9036 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9037
9038         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9039         the local variable for a packed number self descriptively.
9040
9041 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9042
9043         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9044         * elmo-localdir.el (elmo-localdir-pack-number): Use
9045         `elmo-msgdb-overview-get-entity' instead of
9046         `elmo-msgdb-overview-get-entity-by-number'.
9047         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9048         (elmo-msgdb-search-overview-entity): Removed.
9049         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9050         by message-id or number.
9051         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9052         instead of `elmo-msgdb-overview-get-entity-by-number'.
9053
9054 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9055
9056         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9057         non-nil, use hash table for overview.
9058         (elmo-hash-maximum-size): New variable.
9059         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9060         (elmo-msgdb-make-overview-hashtb): New function.
9061         (elmo-msgdb-clear-overview-hashtb): New function.
9062         (elmo-clear-hash-val): New macro.
9063         All other related modules are changed.
9064
9065 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9066
9067         * elmo2.el (elmo-move-msgs): If there's other message with
9068         same message-id, don't use cache.
9069
9070 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9071
9072         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9073         number is already packed.
9074
9075 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9076
9077         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9078
9079 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9080
9081         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9082         All other related modules are changed.
9083
9084 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9085
9086         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9087         of refiling failure on Maildir.
9088
9089 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9090
9091         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9092         decoded mime-charset with cache.
9093         (elmo-msgdb-overview-entity-get-from): Ditto.
9094         (elmo-msgdb-overview-entity-get-subject): Ditto.
9095         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9096
9097 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9098
9099         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9100         (elmo-remove-passwd): Fill password with 0 before erase.
9101         * elmo-vars.el (elmo-passwd-life-time): New variable.
9102
9103 \f
9104 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9105
9106         * elmo-cache.el (elmo-buffer-cache-add):
9107         Set message cache buffer as unibyte.
9108
9109 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9110
9111         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9112         become nil.
9113
9114 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9115
9116         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9117         when display is finished.
9118         (elmo-nntp-msgdb-create): Ditto.
9119         (elmo-nntp-groups-read-response): Ditto.
9120         (elmo-nntp-retrieve-headers): Ditto.
9121         (elmo-nntp-msgdb-create-message): Ditto.
9122         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9123         (elmo-pop3-msgdb-create-message): Ditto.
9124
9125 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9126
9127         * elmo-maildir.el (elmo-maildir-msgdb-create):
9128         Use `elmo-msgdb-sort-by-date'.
9129
9130 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9131
9132         * elmo2.el (elmo-read-msg-no-cache):
9133         Eliminated arguments after `outbuf'.
9134         Don't use cache even if it exists.
9135         (elmo-read-msg): Don't pass arguments after `outbuf' to
9136         `elmo-read-msg-no-cache'.
9137
9138 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9139
9140         * elmo-archive.el (elmo-archive-list-folders):
9141         Use `file-name-directory' if base folder does not exist.
9142
9143 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9144
9145         * elmo-archive.el (elmo-archive-list-folders): Don't use
9146         `file-name-directory'.
9147
9148 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9149
9150         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9151         If `force' is non-nil, try flushing all operation queues.
9152
9153 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9154
9155         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9156         as-binary-process.
9157
9158 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9159
9160         * elmo-util.el (elmo-display-progress): Fixed.
9161
9162 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9163
9164         * elmo-util.el (elmo-display-progress): New function.
9165         All other related modules are changed.