ea7cc85f2431373705abba3478ce1b75ecf5c8fa
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
4         (elmo-spam-list-spam-messages): Check it option.
5
6 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
7
8         * elmo-util.el (elmo-with-progress-display): Return the value
9         of the last form in `body'.
10
11 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
12
13         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
14         `elmo-progress-counter' as t when a query callback returns nil.
15         (elmo-progress-clear): New function.
16         (elmo-progress-done): Split into `elmo-progress-clear'.
17         (elmo-progress-notify): Update a total slot when it is nil.
18         (elmo-with-progress-display): Call `elmo-progress-clear' in
19         unwind-protect and move calling `elmo-progress-done' to outside.
20
21         * elmo-imap4.el (elmo-imap4-find-next-line): Call
22         `elmo-progress-notify' with :total parameter instead of
23         `elmo-progress-counter-set-total'.
24
25 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
26
27         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
28         Make it interactive.
29         (elmo-progress-start): Avoid updating `elmo-progress-counter'
30         when a query callback returns nil.  Return a progress counter
31         instead of t whenever a start callback was called.
32
33 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
34
35         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
36         (elmo-imap4-send-command): Use it.
37         (elmo-network-initialize-session): Ditto.
38         (elmo-network-setup-session): Ditto.
39         (elmo-folder-msgdb-create-plugged): Ditto.
40
41 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
42
43         * elmo-util.el (elmo-progress-done): Fix a miss refer to
44         `elmo-progress-counter'.
45
46 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
47
48         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
49         (elsp-bsfilter-list-spam-filter): New function.
50         (elsp-bsfilter-start-list-spam): Ditto.
51         (elsp-bsfilter-read-list-spam): Ditto.
52         (elmo-spam-list-spam-messages): Use async process to display
53         progress message by each message.
54
55 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
56
57         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
58         of flushing previously inserted message contents.
59
60         * elmo-imap4.el (elmo-folder-search): Fix return value.
61
62 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
63
64         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
65         of reporter is enable or not.
66
67 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
68
69         * elmo-util.el (elmo-list-bigger-diff): Abolish.
70         (elmo-display-progress): Ditto.
71         (elmo-progress-counter-alist): Ditto.
72         (elmo-progress-set): Ditto.
73         (elmo-progress-clear): Ditto.
74         (elmo-progress-counter-all-value): Rename to
75         `elmo-progress-counter-total'.
76         (elmo-progress-counter-format): Rename to
77         `elmo-progress-counter-action'.
78         (elmo-progress-counter): New internal variable.
79         (elmo-progress-callback-function): Ditto.
80         (elmo-progress-counter-label): New function.
81         (elmo-progress-counter-set-total): Ditto.
82         (elmo-progress-counter-set-action): Ditto.
83         (elmo-progress-call-callback): Ditto.
84         (elmo-progress-start): Ditto.
85         (elmo-progress-done): Ditto.
86         (elmo-progress-notify): Rewrite.
87         (elmo-with-progress-display): Remove first argument
88         `condition'. Add optional argument `var' in `spec'.
89
90         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
91         (elmo-display-retrieval-progress-threshold): Ditto.
92         (elmo-inhibit-display-retrieval-progress): Ditto.
93
94         * Replace all pair of `elmo-progress-set' and
95         `elmo-progress-clear' into `elmo-with-progress-display'.
96
97         * Replace to call `elmo-display-progress' into pair of
98         `elmo-progress-notify' and `elmo-with-progress-display'.
99
100         * elmo-version.el (elmo-version): Up to 2.15.5.
101
102 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
103
104         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
105         `cond'.
106
107 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
108
109         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
110         cleanup-forms [wl:14027].
111
112 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
113
114         * elmo-flag.el (elmo-global-flag-set-internal): Use
115         `elmo-copy-file' by priority when the message is a file.
116
117 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
118
119         * elmo.el: Fix typo: disptch -> dispatch.
120
121 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
122
123         * elmo.el (elmo-file-tag): New class.
124         (elmo-append-messages-disptch-table): New constant.
125         (elmo-folder-type-p): New function.
126         (elmo-folder-append-messages): Redefine as function.
127
128         * elmo-null.el (elmo-folder-append-messages): Renamed from
129         `elmo-folder-append-messages'.
130
131         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
132         (elmo-folder-append-messages-*-maildir): Renamed from
133         `elmo-folder-append-messages'.
134
135         * elmo-localdir.el (elmo-localdir-folder): Inherit
136         `elmo-file-tag'.
137         (elmo-folder-append-messages-*-localdir): Renamed from
138         `elmo-folder-append-messages'.
139
140         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
141         from `elmo-folder-append-messages'.
142
143         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
144         `elmo-folder-append-messages'.
145
146         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
147         function.
148         (elmo-folder-append-messages-*-filter): Ditto.
149
150         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
151
152         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
153         (elmo-folder-append-messages-*-pipe): Renamed from
154         `elmo-folder-append-messages'.
155
156         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
157
158         * elmo-file.el (elmo-file-folder): Ditto.
159
160         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
161
162         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
163         from `elmo-folder-append-messages'
164
165 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
166
167         * elmo-map.el (elmo-location-map-setup): Change an argument
168         `locations' to optional.
169         (elmo-location-map-clear): Abolish.
170         (elmo-folder-clear): Follow the API change.
171
172         * elmo-pop3.el (elmo-folder-clear): Ditto.
173
174         * elmo-pop3.el (toplevel): Require elmo-map.
175         (elmo-pop3-folder): Inherit elmo-location-map and abolish
176         location-alist slot (All other related portions are changed).
177         (elmo-pop3-folder-use-uidl): New function.
178         (elmo-folder-msgdb-create): Don't sort message entities.
179         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
180         (elmo-pop3-number-to-size): Convert return value to number.
181         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
182         working buffer.
183
184         * elmo-map.el: Use `location-map' as a variable name for instance
185         instead of `mapper'.
186         (elmo-location-map-setup): Return location alist.
187         (elmo-location-map-update): Ditto.
188
189 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
190
191         * elmo-map.el (elmo-location-map): New class; split location and
192         number mapping from elmo-map-folder (All other related portions
193         are changed).
194
195         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
196         change.
197
198         * elmo-version.el (elmo-version): Up to 2.15.4.
199
200 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
201
202         * elmo-vars.el (elmo-use-hardlink): New user option.
203
204         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
205         `elmo-use-hardlink'.
206
207         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
208         killed-list.
209         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
210         instead of `*-internal'. Use `elmo-with-progress-display'.
211
212 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
213
214         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
215         `elmo-spam-process-messages-as-mbox'.
216
217         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
218
219 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
220
221         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
222         argument BUFFER of `call-process'.
223
224 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
225
226         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
227         args.
228         (elsp-bsfilter-list-spam-files): Ditto.
229
230 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
231
232         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
233         (elmo-spam-bsfilter-max-messages-per-process): New use option.
234         (elmo-spam-bsfilter-debug): Fix a group.
235         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
236         `--homedir'.
237         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
238         (elsp-bsfilter-list-spam-files): New function.
239         (elmo-spam-list-spam-messages): Define.
240         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
241         (elmo-spam-bsfilter-register-messages): New function.
242         (elmo-spam-register-spam-messages): Define.
243         (elmo-spam-register-good-messages): Ditto.
244
245         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
246
247         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
248         `nconc' and `consp'.
249
250 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
251
252         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
253         hash table to test whether a location is exists.
254
255 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
256
257         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
258         even if some error occurred.
259
260         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
261         meaningless unwind-protect.
262
263         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
264         start-number correctly.
265         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
266         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
267
268 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
269
270         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
271         (elmo-folder-initialize): Use it.
272         (elmo-global-flag-replace-referrer): New function.
273
274         * elmo.el (toplevel): Added autoload setting for
275         `elmo-global-flag-replace-referrer'.
276         (elmo-folder-rename): Rewrite the last change use
277         `elmo-global-flag-replace-referrer'.
278
279         * elmo-pipe.el (elmo-folder-rename): Call
280         `elmo-global-flag-replace-referrer'.
281
282 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
283
284         * elmo.el (elmo-folder-rename): Set meta data for global flags
285         follow the rename.
286
287 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
288
289         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
290         as 'not-loaded.
291         (elmo-folder-close): Ditto.
292         (elmo-filter-folder-number-list-loaded-p): New function.
293         (elmo-filter-folder-number-list): Check whether loaded or not.
294         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
295         of `elmo-filter-folder-number-list-internal'.
296         (elmo-folder-delete-messages): Ditto.
297         (elmo-folder-length): Check whether number-list is loaded or not.
298
299 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
300
301         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
302         field `real field' into each element of list.
303         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
304         (elmo-msgdb-message-entity-field): Ditto.
305         (modb-entity-ml-info-real-fields): New function.
306
307         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
308
309         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
310         `elmo-msgdb-extra-fields'.
311
312 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
313
314         * elmo-util.el (elmo-passwd-alist-load): Move point to min
315         position before read.
316
317 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
318
319         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
320         (elmo-global-flags-initialize): Ditto.
321
322 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
323
324         * elmo-archive.el (toplevel): Don't require emu, std11
325         and elmo-localdir.
326
327         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
328         definition.
329
330 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
331
332         * elmo.el (elmo-folder-confirm-appends): Display folder name.
333
334 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
335
336         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
337         literals.
338
339 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
340
341         * elmo-maildir.el (elmo-maildir-list-location): Reduce
342         `elmo-get-last-modification-time' call.
343
344 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
345
346         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
347         expression.
348         (elmo-maildir-set-mark): Ditto.
349         (elmo-maildir-delete-mark): Ditto.
350
351 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
352
353         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
354         optional argument `separators'.
355
356 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
357
358         * elmo.el (cache-changed): Abolish.
359         (status-changed): New signal.
360         (elmo-message-killed-p): New generic function and define for
361         elmo-folder.
362         (elmo-folder-recover-messages): Ditto.
363         (elmo-message-set-cached): Emit signal `status-changed' instead of
364         `cache-changed'.
365         (elmo-message-status): New macro.
366         (elmo-message-status-folder): Ditto.
367         (elmo-message-status-number): Ditto.
368         (elmo-message-status-set-flags): Ditto.
369         (elmo-message-status-set-killed): Ditto.
370         (elmo-message-status-flags): New function.
371         (elmo-message-status-cached-p): Ditto.
372         (elmo-message-status-killed-p): Ditto.
373
374         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
375         `status-changed' instead of `cache-changed'.
376         (elmo-folder-recover-messages): Define.
377         (elmo-message-killed-p): Ditto.
378
379         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
380         `status-changed' instead of `cache-changed'.
381
382         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
383         (elmo-message-killed-p): Define.
384         (elmo-folder-recover-messages): Ditto.
385
386         * elmo-version.el (elmo-version): Up to 2.15.3.
387
388 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
389
390         * elmo-signal.el (elmo-signal-bindings): Use cons to append
391         element into list.
392         (elmo-define-signal-handler): Add docstring.
393         (elmo-define-signal-filter): Ditto.
394
395         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
396
397 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
398
399         * elmo-util.el (elmo-flatten): Don't use recursive call.
400
401         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
402         assignment.
403         (elmo-folder-message-make-temp-files): Use `number-to-string'
404         instead of `int-to-string'.
405
406 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
407
408         * elmo-search.el (elmo-folder-delete-messages): Define.
409
410 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
411
412         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
413         customization type.
414         (elmo-mailing-list-count-spec-list): Ditto.
415
416         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
417         for `list-id'.
418
419 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
420
421         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
422         handling.
423
424 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
425
426         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
427         (elmo-mailing-list-count-spec-list): Ditto.
428
429         * elmo-util.el (elmo-map-until-success): New function.
430         (elmo-string-match-substring): Ditto.
431         (elmo-find-list-match-value): Ditto.
432
433         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
434         Removed.
435         (modb-entity-extract-ml-info-from-subject): Ditto.
436         (modb-entity-extract-ml-info-from-return-path): Ditto.
437         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
438         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
439         (modb-entity-extract-ml-info-from-mailman): Ditto.
440         (modb-entity-extract-mailing-list-info-functions): Ditto.
441         (modb-entity-extract-mailing-list-info): Rewrite with
442         `elmo-find-list-match-value'.
443
444 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
445
446         * elmo-net.el (elmo-network-session-retry-count): New user option.
447         (elmo-network-session-buffer-name): New internal function.
448         (elmo-network-session-buffer-create): Ditto.
449         (elmo-network-open-session): Retry open network session
450         `elmo-network-session-retry-count' times.
451
452 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
453
454         * elmo-util.el (elmo-list-filter): Rewritten.
455
456 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
457
458         * elmo-util.el (elmo-string-member): Allow symbol element in list.
459
460 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
461
462         * elmo-search.el (elmo-make-search-engine): Use prefix
463         `elmo-search-' for require symbol instead of `else-'.
464         (elmo-search-engine-extprog): New class.
465         (elmo-search-engine-do-search): Remove nil from argument
466         list. Added argument pattern to evaluate element as function.
467         (elmo-search-engine-local-file): Derived from
468         `elmo-search-engine-extprog'.
469         (elmo-search-engine-create-message-entity): Check existance of file.
470         (elmo-search-engine-fetch-message): Ditto.
471         (elmo-search-namazu-index): Follow the API change.
472         (elmo-search-grep-target): Ditto.
473
474 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
475
476         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
477         characters of working buffer.
478
479         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
480         Does not bind `default-mime-charset'.
481         (elmo-msgdb-create-message-entity-from-buffer): Removed
482         unnecessary local bind.
483
484         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
485         function.
486         (modb-entity-extract-mailing-list-info-functions): Added it.
487
488 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
489
490         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
491         when number and message-id are non-nil.
492
493         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
494
495         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
496         conditional steatment.
497         (elmo-pop3-auth-apop): Likewise.
498         (elmo-network-authenticate-session): Likewise.
499
500 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
501
502         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
503         symbol `fill-column'.
504         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
505         decode field value.
506
507         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
508         (elmo-decoded-field-body): Ditto.
509
510 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
511
512         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
513         `tokens' to `params'.
514
515 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
516
517         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
518         working buffer.
519
520 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
521
522         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
523         decide index.
524
525 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
526
527         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
528         Set default value as nil.
529         (toplevel): Register search engines by
530         `elmo-search-register-engine' if there are not defined.
531
532         * elmo.el (autoload): Added autoload setting for
533         `elmo-search-register-engine'.
534
535 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
536
537         * elmo.el (toplevel): `[' is redefined as the prefix of the search
538         folder instead of nmz folder.
539         (elmo-nmz-default-index-path): Added obsolete variable setting.
540         (elmo-nmz-index-alias-alist): Ditto.
541         (elmo-nmz-use-drive-letter): Ditto.
542
543         * elmo-search.el (elmo-search-register-engine): New function.
544
545         * elmo-nmz.el: Removed.
546
547         * elmo-version.el (elmo-version): Up to 2.15.2.
548
549 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
550
551         * elmo-search.el: New file.
552
553 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
554
555         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
556         condition `larger' and `smaller'.
557
558 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
559
560         * elmo-util.el (elmo-safe-filename): Rewrite to replace
561         `"' (double quote) into "_Q_".
562
563 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
564
565         * elmo-net.el (elmo-net-quote-chars): Abolish.
566         (elmo-net-format-quoted): Ditto.
567
568 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
569
570         * elmo.el (elmo-get-folder-function): New variable.
571         (elmo-get-folder): New function.
572         (elmo-folder-rename): Call `elmo-make-folder' with specified
573         mime-charset.
574
575         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
576         `elmo-make-folder'.
577         (elmo-split-subr): Ditto.
578
579         * elmo-multi.el (elmo-folder-initialize): Ditto.
580
581         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
582
583         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
584         (elmo-flag-get-folder): Ditto.
585
586         * elmo-filter.el (elmo-folder-initialize): Ditto.
587
588         * elmo-access.el (elmo-folder-initialize): Ditto.
589         (elmo-access-folder-update-children): Ditto.
590
591         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
592         (elmo-dop-queue-flush): Ditto.
593         (elmo-folder-append-buffer-dop-delayed): Ditto.
594         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
595         mime-charset.
596
597         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
598         instead of `elmo-make-folder'.
599         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
600         destination folder instead of send `elmo-folder-rename-internal'.
601
602         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
603         slot of subfolder instead of create it.
604
605 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
606
607         * elmo-util.el (elmo-collect-separators): New function.
608         (elmo-collect-separators-internal): Ditto.
609         (elmo-collect-trail-separators): Ditto.
610         (elmo-parse-separated-tokens): Ditto.
611         (elmo-parse-separated-tokens-internal): Ditto.
612         (elmo-quote-syntactical-element): Ditto.
613
614         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
615         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
616
617         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
618         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
619         (elmo-nntp-folder-list-subfolders): Quote a user name.
620
621         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
622         (elmo-net-parse-network): Abolish.
623         (elmo-net-folder-set-parameters): New function.
624         (elmo-folder-initialize): Follow the above change.
625
626         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
627         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
628         (elmo-folder-list-subfolders): Use
629         `elmo-quote-syntactical-element' instead of
630         `elmo-net-format-quoted' to quote mailbox and user name.
631
632 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
633
634         * elmo-util.el (elmo-token-valid-p): New function.
635         (elmo-parse-token): Add optional argument `requirement'.
636         (elmo-parse-prefixed-element): Likewise.
637
638         * elmo-net.el (elmo-net-quote-chars): Renamed from
639         `elmo-net-quote-chars-regexp'.
640         (elmo-net-format-quoted): Add optional argument `extra-chars'.
641
642         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
643         by info document. Check token `uidl' is started an alphabet.
644
645         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
646         by info document. Check token `user' is started an alphabet.
647
648         * elmo-imap4.el (elmo-folder-initialize): Ditto.
649         (elmo-folder-list-subfolders): Quote user.
650
651 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
652
653         * elmo-util.el (elmo-quoted-specials-list): New constant.
654         (elmo-quoted-token): New function.
655
656         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
657         (elmo-net-format-quoted): New function.
658         (elmo-net-parse-network): Ditto.
659         (elmo-folder-initialize): Use it.
660
661         * elmo-nntp.el (elmo-folder-initialize): Use
662         `elmo-net-parse-network' to parse network specification instead of
663         `elmo-folder-initialize#elmo-net'.
664
665         * elmo-pop3.el (elmo-folder-initialize): Ditto.
666
667         * elmo-imap4.el (elmo-folder-initialize): Ditto.
668         (elmo-folder-list-subfolders): Quote folder name by
669         `elmo-net-format-quoted'.
670
671 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
672
673         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
674         (elmo-folder-search): Use it.
675
676 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
677
678         * modb-standard.el (modb-standard-loaded-message-id): Use
679         `elmo-msgdb-message-entity-field'.
680
681 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
682
683         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
684         without filename.
685
686 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
687
688         * elmo-util.el (elmo-set-auto-coding): New function.
689         (elmo-object-load): Use it.
690
691 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
692
693         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
694         (elmo-time<): Define as alias of `elmo-time-less-p'.
695         (elmo-time-to-datevec): New function.
696
697         * elmo-date.el (elmo-time-to-days): New function.
698
699 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
700
701         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
702         is not cons cell.
703
704 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
705
706         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
707         parenthesis.
708
709         * elmo-util.el (elmo-map-recursive): New function.
710
711         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
712         (modb-entity-encode-string-recursive): Ditto.
713
714 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
715
716         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
717         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
718         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
719         compare sequence number when last modified time is nil.
720
721 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
722
723         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
724
725         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
726
727 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
728
729         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
730         modification time of the file.
731
732 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
733
734         * elmo-util.el (elmo-condition-optimize): Discriminated against
735         preserved fields, extra fields and the other weight.
736
737 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
738
739         * modb-entity.el (initialize-instance): Define.
740         (modb-entity-handler-mime-charset): New internal function.
741         (modb-standard-entity-set-field): Use it.
742         (elmo-msgdb-message-entity-field): Ditto.
743         (elmo-msgdb-message-entity-field): Ditto.
744
745         * modb.el (elmo-msgdb-match-condition): Rewrite with
746         `elmo-condition-match'.
747         (elmo-msgdb-match-condition-primitive): New function.
748
749         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
750         arguments `flags' and `numbers'.
751         (elmo-msgdb-match-condition-primitive): Abolished (merged to
752         `elmo-msgdb-message-match-condition').
753         (modb-buffer-entity-handler): New class.
754
755         * elmo.el (elmo-folder-search): Optimize condition to use
756         `elmo-condition-optimize'.
757         (elmo-message-buffer-match-condition): New function.
758         (elmo-message-match-condition): Use
759         `elmo-message-buffer-match-condition' instead of
760         `elmo-buffer-field-condition-match'.
761
762         * elmo-util.el (elmo-condition-match): New function.
763         (elmo-condition-optimize): Ditto.
764         (elmo-buffer-field-primitive-condition-match): Abolish.
765         (elmo-buffer-field-condition-match): Ditto.
766
767         * elmo-archive.el (elmo-archive-field-condition-match): Use
768         `elmo-message-buffer-match-condition' instead of
769         `elmo-buffer-field-condition-match'.
770
771 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
772
773         * elmo-flag.el (elmo-global-flags-initialize): Check the
774         existence of the flag directory.
775
776 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
777
778         * elmo-access.el (elmo-folder-initialize): Call
779         `elmo-multi-connect-signals'.
780
781         * elmo-pipe.el (elmo-folder-close): Define.
782
783         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
784         children folders.
785
786         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
787         with target folder.
788
789         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
790         `number'.
791
792         * elmo-multi.el (elmo-message-entity): Don't use return value of
793         `elmo-message-entity-set-number'.
794
795 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
796
797         * modb.el (modb-generic): Added slot `mime-charset'.
798
799         * modb-standard.el (modb-standard): Added slot `overview-handler'.
800         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
801         and `modb-entity-handler-dump-parameters'.
802         (modb-standard-default-entity-handler): Abolish.
803         (elmo-msgdb-message-entity-handler): Save created handler by
804         instance slot.
805
806         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
807         (modb-entity-handler-list-parameters): New method.
808         (modb-entity-handler-equal-p): New function.
809         (modb-entity-handler-dump-parameters): Ditto.
810         (modb-entity-parse-address-string): Encode return value.
811         (modb-entity-make-address-string): Decode argument value.
812         (modb-entity-decode-string-recursive): New function.
813         (modb-entity-encode-string-recursive): Ditto.
814         (modb-standard-entity-normalizer): Set to encode field value.
815         (modb-standard-entity-specializer): Follow the above change.
816         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
817         mime-charset of handler.
818         (elmo-msgdb-message-entity-field): Ditto.
819         (elmo-msgdb-copy-message-entity): Fixed reference to internal
820         structure.
821         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
822
823         * elmo.el (elmo-folder): Added slot `mime-charset'.
824         (elmo-make-folder): Added argument `mime-charset'.
825         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
826         `mime-charest'.
827
828         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
829         (elmo-make-msgdb): Likewise.
830
831         * elmo-internal.el (elmo-internal-folder-initialize): Call
832         `luna-make-entity' with :mime-charset parameter.
833
834 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
835
836         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
837         encoded words in `from' and `subject' field.
838
839 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
840
841         * modb.el (elmo-msgdb-message-field): Add argument `type'.
842         (elmo-msgdb-match-condition): Get handler from entity instead of
843         msgdb.
844
845         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
846         (modb-standard-load-entity): Treat new file format.
847         (modb-standard-save-entity-1): Save as new file format.
848         (modb-standard-save-entity): Split messages into section here.
849         (elmo-msgdb-message-field): Follow the API change.
850         (modb-standard-default-entity-handler): New internal variable.
851         (elmo-msgdb-message-entity-handler): Define.
852
853         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
854         to `elmo-vars.el'.
855         (modb-entity-field-extractor-alist): New user option.
856         (elmo-msgdb-message-entity-field): Removed argument `decode' and
857         added argument `type'.
858         (elmo-msgdb-copy-message-entity): Add optional argument
859         `make-handler'.
860         (modb-set-field-converter): New function.
861         (modb-convert-field-value): Ditto.
862         (modb-entity-string-decoder): Ditto.
863         (modb-entity-string-encoder): Ditto.
864         (modb-entity-parse-date-string): Ditto.
865         (modb-entity-make-date-string): Ditto.
866         (modb-entity-mime-decoder): Ditto.
867         (modb-entity-mime-encoder): Ditto.
868         (modb-entity-address-list-decoder): Ditto.
869         (modb-entity-address-list-encoder): Ditto.
870         (modb-entity-parse-address-string): Ditto.
871         (modb-entity-make-address-string): Ditto.
872         (modb-entity-create-field-indices): Ditto.
873         (modb-legacy-entity-field-slots): New constant.
874         (modb-legacy-entity-field-indices): Ditto.
875         (modb-legacy-entity-normalizer): New variable.
876         (modb-legacy-entity-specializer): Ditto.
877         (modb-legacy-entity-field-index): New macro.
878         (modb-legacy-entity-set-field): New function.
879         (modb-legacy-make-message-entity): Rewrite.
880         (elmo-msgdb-create-message-entity-from-buffer): Use
881         `elmo-msgdb-get-references-from-buffer'. Use
882         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
883         Use `modb-legacy-entity-set-field' instead of
884         `elmo-msgdb-message-entity-set-field'.
885         (elmo-msgdb-message-entity-field): Rewrite.
886         (elmo-msgdb-message-entity-set-field): Ditto.
887         (elmo-msgdb-copy-message-entity): Make new entity by
888         `make-handler' if it specified.
889         (elmo-msgdb-message-match-condition): Define a method of
890         `modb-entity-handler' and follow the API change.
891         (modb-standard-entity-handler): New class.
892         (modb-entity-extract-ml-info-from-x-sequence): New function.
893         (modb-entity-extract-ml-info-from-subject): Ditto.
894         (modb-entity-extract-ml-info-from-return-path): Ditto.
895         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
896         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
897         (modb-entity-extract-mailing-list-info): Ditto.
898         (modb-entity-extract-mailing-list-info-functions): New variable.
899
900         * elmo.el (elmo-message-field): Add optional argument `type'.
901
902         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
903         from `modb-entity.el'.
904
905         * elmo-util.el (elmo-object-load): Decode by coding-system from
906         `set-auto-coding-function'.
907         (elmo-object-save): Use `detect-mime-charset-region' and add
908         coding cookie if encode.
909         (elmo-msgdb-get-references-from-buffer): New function.
910         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
911
912         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
913
914         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
915         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
916         instead of `shimbun-make-header' and follow the API change.
917         (elmo-shimbun-update-overview): Follow the API change.
918         (elmo-map-folder-list-message-locations): Ditto.
919
920         * elmo-pipe.el (elmo-message-field): Ditto.
921
922         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
923         Ditto.
924
925         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
926
927         * elmo-multi.el (elmo-message-field): Ditto.
928
929         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
930         (elmo-msgdb-sort-by-date): Ditto.
931         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
932         `elmo-message-entity-field'.
933         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
934         change.
935         (elmo-msgdb-overview-entity-get-from): Ditto.
936         (elmo-msgdb-overview-entity-get-subject): Ditto.
937         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
938         (elmo-msgdb-overview-entity-get-date): Ditto.
939         (elmo-msgdb-overview-entity-get-to): Ditto.
940         (elmo-msgdb-overview-entity-get-cc): Ditto.
941
942         * elmo-mime.el (elmo-message-mime-entity): Ditto.
943         (elmo-mime-collect-message/partial-pieces): Ditto.
944
945         * elmo-filter.el (elmo-message-field): Ditto.
946
947         * elmo-date.el (elmo-datevec-to-time): New function.
948         (elmo-time-parse-date-string): Ditto.
949         (elmo-time-make-date-string): Ditto.
950         (elmo-time<): Ditto.
951
952         * elmo-version.el (elmo-version): Up to 2.15.1.
953
954 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
955
956         * elmo-flag.el (elmo-global-flags-initialize): Don't include
957         member of elmo-local-flags.
958
959 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
960
961         * elmo-version.el (elmo-version): Up to 2.15.0.
962
963 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
964
965         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
966         `ignore-msgdb' is non-nil.
967
968 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
969
970         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
971         (elmo-condition-in-msgdb-p): Ditto.
972         (elmo-file-field-primitive-condition-match): Ditto.
973         (elmo-file-field-condition-match): Ditto.
974
975         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
976
977 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
978
979         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
980         subdirectories here.
981         (elmo-global-flags-initialize): New function.
982
983         * elmo.el (toplevel): Added autoload setting for
984         `elmo-global-flags-initialize'.
985
986 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
987
988         * elmo.el (message-number-changed): Define new signal.
989         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
990         message-number-changed signal.
991         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
992         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
993         Respect `elmo-pack-number-check-strict'.
994
995 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
996
997         * elmo-signal.el (elmo-connect-signal): Document.
998         (elmo-emit-signal): Ditto.
999         (elmo-emit-signal): It should pass source argument to filter and
1000         handler, not slot-source.
1001
1002 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1003
1004         * modb.el (elmo-msgdb-update-entity): New API and define generic
1005         implement.
1006
1007         * modb-standard.el (elmo-msgdb-update-entity): Define.
1008
1009         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1010         API and define generic implement.
1011
1012         * elmo.el (update-overview): New singnal.
1013
1014         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1015         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1016         (elmo-message-entity-parent): Define.
1017
1018         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1019         `update-overview'.
1020
1021         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1022
1023         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1024
1025 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1026
1027         * elmo.el (elmo-folder-synchronize): Sort the return value of
1028         `elmo-list-diff'.
1029
1030         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1031         list.
1032
1033 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1034
1035         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1036         `default-enable-multibyte-characters'.
1037         (elmo-object-load): Use `with-temp-buffer' instead of
1038         `elmo-set-work-buf'.
1039         (elmo-object-save): Ditto.
1040         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1041         `elmo-set-work-buf'.
1042         (elmo-decoded-field-body): Ditto.
1043
1044         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1045
1046         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1047         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1048
1049         * elmo-version.el (elmo-version): Up to 2.13.3.
1050
1051 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1052
1053         * elmo-util.el (elmo-list-diff): Fix the last change.
1054         Reverse order of result lists.
1055
1056 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1057
1058         * modb-standard.el (elmo-msgdb-set-flag): Use
1059         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1060         (elmo-msgdb-unset-flag): Ditto.
1061
1062         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1063         `elmo-list-diff'.
1064
1065         * elmo-util.el (elmo-list-diff): Rewrite.
1066         (elmo-list-diff-nonsortable): New function.
1067
1068 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1069
1070         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1071         `elmo-multibypte-buffer-name'.  All referers are updated.
1072
1073 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1074
1075         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1076         (elmo-mime-entity-fragment-p): New function.
1077         (mime-elmo-buffer-entity): Added slot `reassembled'.
1078         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1079         (elmo-message-mime-entity-internal): New function (renamed from
1080         `elmo-message-mime-entity').
1081         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1082         (elmo-mime-make-reassembled-mime-entity): New function.
1083         (elmo-message-reassembled-mime-entity): Ditto.
1084         (elmo-mime-collect-message/partial-pieces): Ditto.
1085
1086 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1087
1088         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1089
1090         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1091         (elmo-with-enable-multibyte): New macro.
1092
1093         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1094
1095 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1096
1097         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1098         argument `number'.
1099         (elmo-filter-connect-signals): Follow the above change.
1100
1101 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1102
1103         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1104
1105         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1106         that only the first flag is used.
1107
1108 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1109
1110         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1111         if available.
1112
1113 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1114
1115         * elmo-signal.el: New file.
1116
1117         * elmo.el (toplevel): Require elmo-signal.
1118         (flag-changing, flag-changed, cache-changed): New signal.
1119         (elmo-folder): Remove slog `handlers'.
1120         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1121         `elmo-folder-notify-event'.
1122         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1123         (elmo-folder-unset-flag): Ditto.
1124         (elmo-event-handler): Abolish.
1125         (elmo-event-handler-flag-changed): Ditto.
1126         (elmo-event-handler-cache-changed): Ditto.
1127         (elmo-folder-add-handler): Ditto.
1128         (elmo-folder-remove-handler): Ditto.
1129         (elmo-folder-notify-event): Ditto.
1130
1131         * elmo-pipe.el (toplevel): Require elmo-signal.
1132         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1133         (elmo-pipe-connect-signals): New function.
1134         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1135         (elmo-folder-set-flag): Ditto.
1136         (elmo-folder-unset-flag): Ditto.
1137         (elmo-message-set-cached): Ditto.
1138
1139         * elmo-multi.el (toplevel): Require elmo-signal.
1140         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1141         (elmo-multi-connect-signals): New function.
1142         (elmo-multi-map-numbers): Ditto.
1143         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1144         (elmo-message-fetch): Ditto.
1145         (elmo-folder-set-flag): Ditto.
1146         (elmo-folder-unset-flag): Ditto.
1147
1148         * elmo-filter.el (toplevel): Require elmo-signal.
1149         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1150         (elmo-filter-connect-signals): New function.
1151         (elmo-filter-add-flag-count): Ditto.
1152         (elmo-message-fetch): Does not call
1153         `elmo-filter-folder-countup-message-flags' and
1154         `elmo-folder-notify-event'.
1155         (elmo-message-set-cached): Ditto.
1156         (elmo-folder-set-flag): Ditto.
1157         (elmo-folder-unset-flag): Ditto.
1158
1159         * elmo-version.el (elmo-version): Up to 2.13.2.
1160
1161 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1162
1163         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1164         `flags'.
1165
1166 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1167
1168         * elmo-filter.el (elmo-message-set-cached): Call
1169         `elmo-folder-notify-event' with event `cache-changed'.
1170
1171         * elmo-multi.el (elmo-message-set-cached): Ditto.
1172
1173         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1174
1175 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1176
1177         * elmo.el (elmo-folder-encache): Abolish.
1178
1179 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1180
1181         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1182         (elmo-folder-next-message-number-dop): Return appropriate negative
1183         integer.
1184
1185 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1186
1187         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1188         clearing pending operations.
1189         (elmo-folder-next-message-number-dop): Return appropriate negative
1190         integer.
1191
1192 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1193
1194         * elmo.el (toplevel): Added autoload setting for `md5'.
1195         (elmo-msgdb-path-encode-threshold): New user option.
1196         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1197         longer than `elmo-msgdb-path-encode-threshold'.
1198
1199         * elmo-flag.el (elmo-global-mark-migrate): Use
1200         `elmo-folder-expand-msgdb-path' instead of
1201         `elmo-folder-msgdb-path'.
1202
1203 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1204
1205         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1206         element of the difference is nil.
1207
1208 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1209
1210         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1211         to the check logic of file systems which are weak in colon character.
1212
1213 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1214
1215         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1216
1217 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1218
1219         * elmo-maildir.el (elmo-maildir-move-file): New function.
1220         (elmo-folder-append-buffer): Use it.
1221         (elmo-folder-append-messages): Ditto.
1222         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1223
1224         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1225         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1226
1227         * elmo-maildir.el (elmo-maildir-separator): New user option.
1228         (elmo-maildir-adjust-separator): New macro.
1229         (elmo-maildir-list-location): Use it.
1230         (elmo-maildir-update-current): Ditto.
1231         (elmo-maildir-set-mark): Ditto.
1232         (elmo-maildir-delete-mark): Ditto.
1233         (These changes are based on Hiroya Murata's patch [wl: 13437])
1234
1235 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1236
1237         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1238
1239 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1240
1241         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1242         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1243         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1244
1245 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1246
1247         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1248         Use `with-temp-buffer'.
1249
1250 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1251
1252         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1253
1254         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1255         `wl-read-search-condition').
1256         (elmo-read-search-condition-internal): Likewise.
1257
1258         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1259         (elmo-flag-valid-p): New function.
1260         (elmo-folder-initialize): Check flag name is valid.
1261
1262 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1263
1264         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1265         delimiter to obtain root mailbox itself.
1266
1267 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1268
1269         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1270         type mismatch.
1271
1272 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1273
1274         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1275         as t.
1276
1277 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1278
1279         * elmo-shimbun.el (toplevel): Require cl at compile.
1280
1281         * elmo-nntp.el (toplevel): Ditto.
1282
1283         * elmo-nmz.el (toplevel): Ditto.
1284
1285         * elmo-multi.el (toplevel): Ditto.
1286
1287         * elmo-file.el (toplevel): Ditto.
1288
1289         * elmo-dop.el (toplevel): Ditto.
1290
1291         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1292
1293 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1294
1295         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1296         as nil.
1297
1298         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1299         size of elmo-message-fetch-internal is 0 byte.
1300
1301 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1302
1303         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1304
1305 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1306
1307         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1308         always plugged.
1309
1310 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1311
1312         * elmo-maildir.el (elmo-map-message-fetch): Call
1313         `elmo-map-folder-set-flag'.
1314
1315         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1316         (elmo-message-fetch): Merge from
1317         `elmo-message-fetch-with-cache-process'.
1318
1319         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1320         (elmo-message-fetch): Define.
1321
1322         * elmo-nntp.el (elmo-message-fetch): Renamed from
1323         `elmo-message-fetch-with-cache-process'.
1324
1325         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1326         (elmo-message-fetch): Define.
1327
1328         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1329         search-key.
1330
1331         * elmo-shimbun.el (shimbun-mua-search-id): Use
1332         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1333         (elmo-shimbun-folder-shimbun-header): Ditto.
1334         (elmo-shimbun-get-headers): Ditto.
1335         (elmo-shimbun-update-overview): Ditto.
1336
1337         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1338
1339         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1340         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1341
1342 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1343
1344         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1345         message is cached.
1346         (elmo-message-fetch-string): Fixed argument.
1347
1348 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1349
1350         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1351         exchange order of arguments `section' and `unread'.
1352         (elmo-message-encache): Follow the API change.
1353         (elmo-message-match-condition): Ditto.
1354         (elmo-generic-folder-append-messages): Ditto.
1355         (elmo-message-fetch-string): New function.
1356
1357         * elmo-split.el (elmo-split-subr): Ditto.
1358
1359         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1360
1361         * elmo-pipe.el (elmo-message-fetch): Ditto.
1362
1363         * elmo-multi.el (elmo-message-fetch): Ditto.
1364
1365         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1366
1367         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1368
1369         * elmo-filter.el (elmo-message-fetch): Ditto.
1370
1371         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1372
1373         * elmo-imap4.el (mime-imap-location-section-body): Use
1374         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1375         follow the API change.
1376
1377 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1378
1379         * elmo-access.el: New file.
1380
1381         * elmo-null.el: Ditto.
1382
1383         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1384
1385 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1386
1387         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1388         (elmo-network-session): New attribute `last-accessed'.
1389         (elmo-network-get-session): Discard network cache if elapsed time
1390         since last-accessed is larger than elmo-network-session-idle-timeout.
1391
1392 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1393
1394         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1395         and added `number', `require-entireness'.
1396         (elmo-find-fetch-strategy): Rewrite.
1397         (elmo-message-fetch): Unset `unread' flag when argument unread is
1398         non-nil.
1399
1400         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1401
1402         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1403         (elmo-message-fetch): Notify event `flag-changed'.
1404
1405         * elmo-pipe.el: Likewise.
1406
1407         * elmo-mime.el (elmo-mime-entity): New class.
1408         (elmo-mime-entity-display-p): New generic function.
1409         (elmo-mime-entity-display): Ditto.
1410         (elmo-mime-entity-display-as-is): Ditto.
1411         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1412         elmo-mime-entity.
1413         (elmo-make-mime-message-location): Removed.
1414         (elmo-mime-message-display): Ditto.
1415         (elmo-mime-display-as-is): Ditto.
1416         (elmo-message-mime-entity): New function.
1417
1418         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1419
1420         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1421         change.
1422         (elmo-message-fetch): Re-count flagged message number and notify
1423         event `flag-changed'.
1424
1425         * elmo-version.el (elmo-version): Up to 2.13.1.
1426
1427 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1428
1429         * elmo-filter.el (elmo-message-field): Define.
1430         (elmo-message-set-field): Ditto.
1431
1432 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1433
1434         * elmo.el (elmo-message-set-cached): Call
1435         `elmo-folder-notify-event' with cache-changed.
1436         (elmo-event-handler-cache-changed): New generic function.
1437
1438 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1439
1440         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1441         instead of elmo-add-name-to-file.
1442         (elmo-folder-append-messages): Ditto.
1443
1444 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1445
1446         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1447
1448 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1449
1450         * elmo-version.el (elmo-version): Up to 2.13.0.
1451
1452         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1453         `auto'.
1454
1455         * modb-standard.el (modb-standard-economize-entity-size): Changed
1456         default value to `t'.
1457
1458         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1459         `standard'.
1460
1461         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1462         after parsing greeting string.
1463
1464 2004-11-23  Daishi Kato <daishi@axlight.com>
1465
1466         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1467         New user option.
1468         (elmo-spam-spamoracle-call): Use it.
1469
1470 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1471
1472         * elmo.el (elmo-message-accessible-p): Message in dop spool
1473         is accessible.
1474
1475 2004-11-23  Daishi Kato <daishi@axlight.com>
1476
1477         * elsp-spamoracle.el: New file.
1478
1479 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1480
1481         * elmo.el (elmo-message-flags-for-append): New function.
1482         (elmo-generic-folder-append-messages): Use it.
1483
1484         * elmo-split.el (elmo-split-subr): Ditto.
1485
1486         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1487         `flags' and use elmo-folder-append-buffer instead of
1488         write-region-as-binary.
1489         (elmo-dop-filter-pending-messages): New function.
1490         (elmo-folder-append-buffer-dop): Call
1491         elmo-dop-spool-folder-append-buffer with `flag'.
1492         (elmo-folder-set-flag-dop): Filter messages by
1493         elmo-dop-filter-pending-messages.
1494         (elmo-folder-unset-flag-dop): Ditto.
1495         (elmo-folder-append-buffer-dop-delayed): Use
1496         elmo-message-flags-for-append to get flags of the message and
1497         simplify.
1498
1499 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1500
1501         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1502
1503 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1504
1505         * elmo.el (elmo-folder): Added handlers slot.
1506         (elmo-event-handler): New class.
1507         (elmo-event-handler-flag-changed): New API.
1508         (elmo-folder-add-handler): New function.
1509         (elmo-folder-remove-handler): Ditto.
1510         (elmo-folder-notify-event): Ditto.
1511         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1512         `flag-changed'.
1513         (elmo-folder-unset-flag): Ditto.
1514
1515         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1516         (elmo-folder-unset-flag): Ditto.
1517
1518         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1519         (elmo-folder-unset-flag): Ditto.
1520
1521         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1522         (elmo-folder-unset-flag): Ditto.
1523
1524         * elmo-version.el (elmo-version): Up to 2.11.33.
1525
1526 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1527
1528         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1529
1530 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1531
1532         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1533
1534         * elmo-flag.el (elmo-folder-unset-flag): Define.
1535         (elmo-global-flag-detach): Do process when the flag is not target
1536         flag.
1537
1538 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1539
1540         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1541         variable.
1542         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1543
1544 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1545
1546         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1547         function.
1548         (elmo-folder-delete-messages): Detach messages before delete
1549         messages from target folder.
1550         (elmo-folder-detach-messages): Set updated number-list to slot.
1551
1552 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1553
1554         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1555
1556 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1557
1558         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1559
1560 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1561
1562         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1563         internal use only).
1564         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1565         not modified.
1566         (elmo-folder-delete-messages): Define.
1567         (elmo-folder-move-messages): Don't call
1568         `elmo-folder-detach-messages'.
1569         (elmo-folder-synchronize): Rewrite.
1570         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1571
1572         * elmo-util.el (elmo-last): New function.
1573         (elmo-set-list): Ditto.
1574         (elmo-number-set-delete-list): Ditto.
1575         (elmo-number-set-delete): Ditto.
1576
1577         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1578
1579         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1580         `elmo-folder-delete-messages' and don't delete location map.
1581         (elmo-folder-detach-messages): Define.
1582
1583         * elmo-imap4.el (elmo-folder-delete): Use
1584         `elmo-folder-delete-messages-internal' instead of
1585         `elmo-folder-delete-messages'.
1586
1587         * elmo-filter.el (elmo-folder-delete-messages): Call
1588         `elmo-folder-detach-messages'.
1589         (elmo-folder-detach-messages): Don't call
1590         `elmo-folder-detach-messages' for target folder.
1591
1592         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1593         message deletion is succeeded.
1594
1595         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1596
1597         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1598         from `elmo-folder-delete-messages'.
1599
1600         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1601
1602         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1603
1604         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1605
1606         * elmo-version.el (elmo-version): Up to 2.11.32.
1607
1608 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1609
1610         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1611         (elmo-global-flag-list): Added obsolete variable setting.
1612
1613         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1614
1615         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1616         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1617         `elmo-mime-display-header-analysis' is nil.
1618
1619         * elmo-flag.el (elmo-global-flags): Renamed from
1620         `elmo-global-flag-list' (All other related portions are changed).
1621         (elmo-local-flags): New variable.
1622         (elmo-local-flag-p): New function.
1623         (elmo-global-flag-set-internal): Cause an error when flag is not
1624         global.
1625
1626 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1627
1628         * elmo-util.el (elmo-concat-path): Treat empty path.
1629
1630 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1631
1632         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1633         field-or-fields).
1634         (elmo-split-address-match): Ditto.
1635         (elmo-split-equal): Ditto.
1636         (elmo-split-match): Ditto.
1637
1638 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1639
1640         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1641         (elmo-generic-folder-append-messages): If src message exists but
1642         has no flag, pass (read) for the FLAG argument of
1643         `elmo-folder-append-buffer'. Otherwise, pass nil.
1644
1645         * elmo-split.el (elmo-split-subr): Likewise.
1646
1647         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1648
1649         * elmo-multi.el (elmo-message-flags): Ditto.
1650
1651         * elmo-filter.el (elmo-message-flags): Ditto.
1652
1653         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1654         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1655         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1656         
1657 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1658
1659         * elmo-split.el (elmo-split-rule): Update comment.
1660         (elmo-split-address-equal): Allow 2nd argument to be a list.
1661         (elmo-split-address-match): Ditto.
1662         (elmo-split-equal): Ditto.
1663         (elmo-split-match): Ditto.
1664
1665 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1666
1667         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1668         (elmo-folder-append-msgdb): Don't treat `read'.
1669         (elmo-message-flags): Don't return `read'.
1670
1671         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1672         (elmo-folder-unset-read-delayed): Ditto.
1673
1674         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1675
1676 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1677
1678         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1679         deletion.
1680
1681 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1682
1683         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1684         header.
1685
1686 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1687
1688         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1689         here.
1690         (elmo-msgdb-save): Bind inhibit-quit.
1691         (modb-standard-message-entity): Ditto.
1692
1693 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1694
1695         * elmo-database.el: No need to require elmo-msgdb.
1696
1697 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1698
1699         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1700         instead of `elmo-list-subdirectories'.
1701
1702 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1703
1704         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1705         group entry.
1706         (elmo-folder-exists-p): "[" is empty.
1707         (elmo-folder-list-subfolders): Define.
1708         (elmo-folder-have-subfolder-p): Ditto.
1709
1710 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1711
1712         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1713
1714 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1715
1716         * elmo-filter.el (elmo-folder-local-p): Define.
1717
1718 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1719
1720         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1721         when entity is garbaged.
1722         (modb-standard-save-entity-1): Don't modify the original entity.
1723
1724 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1725
1726         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1727
1728 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1729
1730         * elmo.el (elmo-strict-folder-diff): Use
1731         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1732
1733 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1734
1735         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1736         (elmo-msgdb-message-number): Ditto.
1737         (elmo-msgdb-message-field): Ditto.
1738
1739         * modb-standard.el (modb-standard-economize-entity-size): New user
1740         option.
1741         (modb-standard-loaded-message-id): New inline function.
1742         (modb-standard-load-entity): Use it.
1743         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1744         throw message-id string away.
1745         (elmo-msgdb-flag-available-p): Define.
1746         (elmo-msgdb-message-number): Ditto.
1747         (elmo-msgdb-message-field): Ditto.
1748
1749         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1750         (suppoted -> supported).
1751         (modb-legacy-supported-flag-p): Ditto.
1752         (elmo-msgdb-set-flag): Ditto.
1753         (elmo-msgdb-unset-flag): Ditto.
1754         (elmo-msgdb-flag-available-p): Define.
1755
1756         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1757         is `t', treat it as legacy entity.
1758         
1759         * elmo.el (elmo-message-flag-available-p): New generic function.
1760         (elmo-message-number): Ditto.
1761         (elmo-message-field): Use `elmo-msgdb-message-field'.
1762
1763         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1764
1765         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1766         (elmo-message-number): Ditto.
1767
1768         * elmo-multi.el (elmo-message-number): Define.
1769         (elmo-message-flag-available-p): Ditto.
1770
1771         * elmo-filter.el (elmo-message-flag-available-p): Define.
1772         (elmo-message-number): Ditto.
1773
1774         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1775         (elmo-folder-initialize): Load `max-number'.
1776         (elmo-folder-commit): Save it.
1777         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1778         (elmo-global-flag-set-internal): Set up max-number slot.
1779
1780 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1781
1782         * elmo-version.el (elmo-version): Up to 2.11.31.
1783
1784 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1785
1786         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1787         unibyte string of the current buffer for the argument of `md5'
1788         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1789
1790 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1791
1792         * modb-legacy.el (modb-legacy-flag-list): New constant.
1793         (modb-legacy-suppoted-flag-p): New internal function.
1794         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1795         (elmo-msgdb-unset-flag): Ditto.
1796
1797 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1798
1799         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1800
1801         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1802         from msgdb.
1803
1804 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1805
1806         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1807         (follow the API change).
1808
1809         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1810
1811 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1812
1813         * modb-standard.el (modb-standard-digest-flags): Abolish.
1814         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1815
1816         * elmo-vars.el (elmo-digest-flags): New variable.
1817         (elmo-preserved-flags): Moved from elmo-flag.el.
1818
1819         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1820         (elmo-imap4-flag-to-imap-criteria): Ditto.
1821         (elmo-imap4-folder-list-flagged): Use it.
1822
1823         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1824
1825         * elmo.el (elmo-folder-count-flags): Changed return value.
1826
1827         * elmo-flag.el (elmo-preserved-flags): New variable.
1828         (elmo-get-global-flags): Use it.
1829
1830         * modb-standard.el (modb-standard-digest-flags): New variable.
1831         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1832         Changed behavior of `any'.
1833
1834         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1835         which are defined the Internet draft
1836         (draft-melnikov-imap-keywords-03.txt).
1837         (elmo-imap4-flags-to-imap): New function.
1838         (elmo-folder-append-buffer): Use it.
1839
1840         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1841         in the docstring.
1842
1843         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1844         avoid the bug of Emacs 21.3.
1845
1846 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1847
1848         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1849         function find-coding-system does not exist.
1850
1851 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1852
1853         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1854         parsing.
1855
1856 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1857
1858         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1859         response codes.
1860
1861 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1862
1863         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1864         (elmo-network-close-session): Follow the changes in
1865         `elmo-pop3-read-response'.
1866         (elmo-pop3-auth-user): Ditto.
1867         (elmo-pop3-auth-apop): Ditto.
1868         (elmo-network-initialize-session): Ditto.
1869         (elmo-network-authenticate-session): Ditto.
1870         (elmo-network-setup-session): Ditto.
1871         (elmo-folder-status): Ditto.
1872         (elmo-message-fetch-plugged): Ditto.
1873         (elmo-pop3-delete-msg): Ditto.
1874
1875 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1876
1877         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1878         on failure.
1879
1880 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1881
1882         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1883         style.
1884         (elmo-bind-directory): Ditto.
1885
1886 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1887
1888         * elmo.el (elmo-folder-append-messages): Note on return value.
1889         * elmo-archive.el (elmo-folder-append-messages): Don't return
1890         message numbers which could not be appended.
1891
1892 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1893
1894         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1895
1896 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1897
1898         * elmo-version.el (elmo-version): Up to 2.11.30.
1899
1900 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1901
1902         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1903         `mask'.
1904
1905         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1906
1907         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1908         (elmo-multi-split-numbers): Add elmo-folder object into each
1909         element of return value at first.
1910         (elmo-folder-delete-messages): Follow the above change.
1911         (elmo-folder-detach-messages): Ditto.
1912
1913         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1914         number which is synchronized in target folder.
1915
1916 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1917
1918         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1919         Change default value to symbol `all'.
1920         (elmo-map-message-fetch): Change condition to update overview
1921         follow the above.
1922
1923 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1924
1925         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1926         behavior to update overview.
1927         (elmo-shimbun-update-overview-folder-list): Note it.
1928
1929 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1930
1931         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1932         recursive call.
1933
1934 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1935
1936         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1937         buffer-disable-undo, it is unnecessary.
1938         (elmo-spam-register-good-messages): Ditto.
1939
1940         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1941         Ditto.
1942
1943         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1944
1945 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1946
1947         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1948         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1949         elmo-set-buffer-multibyte.
1950         (elmo-object-load): Ditto.
1951         (elmo-save-buffer): Ditto.
1952         (elmo-delete-char): Ditto.
1953         (elmo-file-field-primitive-condition-match): Ditto.
1954         (elmo-mime-string): Ditto.
1955
1956         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1957         (elmo-archive-field-condition-match): Ditto.
1958
1959         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1960
1961         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1962
1963         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1964         (elmo-nntp-msgdb-create-message): Ditto.
1965
1966         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1967
1968         * elmo.el (elmo-message-match-condition): Ditto.
1969         (elmo-message-match-condition): Ditto.
1970
1971         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1972         Ditto.
1973
1974         * elmo-version.el (elmo-version): Up to 2.11.29.
1975
1976         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1977         (elsp-header): New backend.
1978
1979         * elmo-util.el (elmo-decoded-field-body): New function.
1980
1981 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1982
1983         * elmo-version.el (elmo-version): Up to 2.11.28.
1984
1985 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1986
1987         * elmo-filter.el: Rewrite.
1988
1989         * elmo-version.el (elmo-version): Up to 2.11.27.
1990
1991 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1992
1993         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1994         msgdb path for the localdir folder with absolute path.
1995
1996         * utf7.el: Synch up with latest gnus/utf7.el;
1997         Modified for latest Emacs.
1998
1999 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2000
2001         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2002         shimbun backend couldn't open.
2003
2004 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2005
2006         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2007         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2008         when a destination folder is a filter folder.
2009
2010 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2011
2012         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2013         (elmo-generic-folder-append-messages): Call elmo-message-flags
2014         with argument `msgid'.
2015
2016         * elmo-split.el (elmo-split-subr): Ditto.
2017
2018         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2019
2020         * elmo-multi.el (elmo-message-flags): Ditto.
2021
2022 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2023
2024         * elmo.el (elmo-folder): Add new slot `flag-table'.
2025         (elmo-folder-flag-table): New API.
2026         (elmo-folder-close-flag-table): Ditto.
2027         (elmo-folder-preserve-flags): New function.
2028         (elmo-generic-folder-append-messages): Use
2029         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2030         Flag of a non-registered message, it sets to nil.
2031         Does not set flag to flag-table.
2032
2033         * elmo-maildir.el (elmo-folder-append-buffer): Use
2034         `elmo-folder-preserve-flags'.
2035         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2036         `elmo-folder-close-flag-table'.
2037
2038         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2039         (elmo-archive-folder-append-buffer): Use
2040         `elmo-folder-preserve-flags'.
2041
2042         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2043
2044         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2045
2046         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2047         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2048         `elmo-folder-close-flag-table'.
2049
2050         * elmo-version.el (elmo-version): Up to 2.11.26.
2051
2052 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2053
2054         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2055
2056         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2057         md5's 4th and 5th argument (non-existent in flim one).
2058
2059 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2060
2061         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2062         message, It sets to nil.
2063
2064 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2065
2066         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2067         list is non-nil.
2068
2069 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2070
2071         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2072
2073         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2074
2075         * elmo-util.el (elmo-uniq-sorted-list): New function.
2076         (elmo-make-number-list): Ditto.
2077         (elmo-number-set-to-number-list): Use elmo-make-number-list
2078         and don't use nreverse.
2079
2080 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2081
2082         * elmo-version.el (elmo-version): Up to 2.11.25.
2083
2084 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2085
2086         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2087         field not exists in message, Use md5 message digest of header.
2088
2089 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2090
2091         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2092         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2093         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2094         * elmo-split.el (elmo-split-subr): Check return value of
2095         elmo-folder-append-buffer.
2096
2097         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2098         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2099
2100         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2101         message-id.
2102
2103 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2104
2105         * elmo-split.el (elmo-split-subr): Append message with flag.
2106
2107         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2108         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2109         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2110
2111 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2112
2113         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2114         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2115         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2116
2117 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2118
2119         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2120         with a function call of `process-buffer'.  All callers are updated.
2121         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2122         Remove redundant `set-buffer' in a while loop.
2123
2124 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2125
2126         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2127         calls.
2128
2129 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2130
2131         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2132         elsp-spamfilter-register-buffer-internal with current buffer.
2133         (elmo-spam-register-spam-buffer): Ditto.
2134         (elmo-spam-register-good-buffer): Ditto.
2135
2136 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2137
2138         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2139         if it is not contained in the response(A workaround for courier-imap).
2140
2141 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2142
2143         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2144         parenthesis.
2145
2146 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2147
2148         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2149         range.
2150
2151 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2152
2153         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2154         of nconc.
2155
2156         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2157         argument handler.
2158         (elmo-msgdb-message-match-condition): Follow the change above.
2159
2160 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2161
2162         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2163         folder name.
2164
2165 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2166
2167         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2168
2169 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2170
2171         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2172
2173 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2174
2175         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2176         not found.
2177
2178 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2179
2180         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2181         value.
2182         (elmo-file-command-argument): Undo last change for cygwin.
2183         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2184         Don't return nil.
2185         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2186
2187 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2188
2189         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2190         value returned from elmo-file-find is nil.
2191
2192 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2193
2194         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2195         to elmo-vars.el.
2196
2197         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2198         instead of insert-file-contents-as-binary.
2199         (elmo-message-set-field): New generic function.
2200
2201         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2202         behavior change on `split-string'.
2203
2204         * elmo-file.el (elmo-file-find): New function.
2205         (elmo-file-command): New user option.
2206         (elmo-file-command-argument): Ditto.
2207         (elmo-file-fetch-max-size): Ditto.
2208         (elmo-file-detect-format): New function.
2209         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2210         Use elmo-file-detect-format.
2211         (elmo-map-folder-list-message-locations): Don't treat directories.
2212
2213 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2214
2215         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2216         (elmo-passwd-alist-clear): Shred password before clear.
2217         (elmo-remove-passwd): Remove all mached pair.
2218
2219 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2220
2221         * elmo.el (elmo-folder-synchronize): Fix description of the return
2222         value.
2223
2224 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2225
2226         * elmo.el (elmo-message-fetch-bodystructure): New method.
2227         (elmo-message-fetch-bodystructure): Define default.
2228
2229         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2230         elmo-message-fetch-bodystructure.
2231         (elmo-message-fetch-bodystructure): Define.
2232
2233         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2234
2235 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2236
2237         * elmo-filter.el (elmo-message-folder): Define.
2238
2239 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2240
2241         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2242         elmo-delete-cr-buffer.
2243
2244         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2245
2246         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2247
2248         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2249
2250         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2251         type seems to be a text.
2252
2253 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2254
2255         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2256         (elmo-spam-register-good-buffer): Ditto.
2257         (elmo-spam-spamassassin-register-messages): Ditto.
2258
2259         * elmo-util.el (elmo-string-member-ignore-case): Define with
2260         static-cond.
2261
2262 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2263
2264         * elmo.el (elmo-folder-type): Undo last change.
2265
2266         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2267
2268         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2269         warnings.
2270
2271         * elmo-file.el: New file.
2272         
2273         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2274
2275         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2276         variable.
2277         (elmo-spam-spamassassin-register-messages): New inline function.
2278         (elmo-spam-register-spam-messages): Define.
2279         (elmo-spam-register-good-messages): Ditto.
2280
2281         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2282         Fixed typo.
2283
2284         * elmo.el (toplevel): Added autoload setting for
2285         `elmo-get-global-flags'.
2286         (elmo-message-has-global-flag-p): New function.
2287         (elmo-message-set-global-flags): Ditto.
2288         (elmo-folder-type): Improvement for name: format.
2289
2290         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2291         availability of keyword flags.
2292         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2293         (elmo-folder-list-flagged-plugged): Renamed from
2294         elmo-folder-list-flagged-unplugged.
2295         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2296         accept any flag as keyword flag.
2297         (elmo-folder-set-flag-plugged): Accept keyword flags.
2298         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2299
2300         * elmo-flag.el (elmo-get-global-flags): New function.
2301
2302         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2303         folders.
2304
2305         * elmo-version.el (elmo-version): Up to 2.11.24.
2306
2307 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2308
2309         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2310         elmo-multiple-field-body instead of std11-field-body to check all
2311         headers.
2312
2313 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2314
2315         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2316         or "size".
2317
2318 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2319
2320         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2321         unintern is unbound.
2322
2323 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2324
2325         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2326         Protect from infinite loop.
2327
2328 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2329
2330         * elsp-bogofilter.el
2331         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2332         (elmo-spam-bogofilter-register-messages): New internal function.
2333         (elmo-spam-register-spam-messages): Define.
2334         (elmo-spam-register-good-messages): Ditto.
2335
2336 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2337
2338         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2339         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2340         (elmo-spam-bogofilter-call): Fixed the last change.
2341         (elmo-spam-bogofilter-arguments): Ditto.
2342
2343         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2344         Follow the options change of latest bogofilter.
2345
2346         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2347         (elmo-spam-bogofilter-good-switch): Ditto.
2348         (elmo-spam-bogofilter-arguments-alist): New user option.
2349         (elmo-spam-bogofilter-debug): Ditto.
2350         (elmo-spam-bogofilter-call): Renamed from
2351         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2352         is non-nil, insert output in buffer for debug.
2353         (elmo-spam-bogofilter-arguments): New macro.
2354         (elmo-spam-buffer-spam-p): Use it.
2355         (elsp-bogofilter-register-buffer): Ditto.
2356
2357 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2358
2359         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2360         regexp.
2361
2362 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2363
2364         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2365         value as "ruby".
2366         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2367         (elmo-spam-bsfilter-program): Set default value as full path for
2368         `bsfilter'.
2369         (elmo-spam-bsfilter-debug): New user option.
2370         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2371         non-nil, insert output in buffer for debug. Fix treating of
2372         argument.
2373
2374 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2375
2376         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2377         `elmo-maildir-flag-specs' element instead of one.
2378         (elmo-map-folder-unset-flag): Ditto.
2379         (Reported by Ken Makimura <macky@astem.or.jp>)
2380
2381         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2382         (elmo-folder-unset-flag-plugged): Ditto.
2383
2384 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2385
2386         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2387         to `reads' slot only if `in-msgdb' is nil.
2388
2389 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2390
2391         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2392         and complement argument list.
2393
2394 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2395
2396         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2397         instead of elmo-folder-list-flagged.
2398
2399 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2400
2401         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2402
2403         * elsp-bsfilter.el: New file.
2404
2405         * elmo-pipe.el (elmo-folder-list-unreads,
2406         elmo-folder-list-answereds,
2407         elmo-folder-list-importants,
2408         elmo-folder-flag-as-important,
2409         elmo-folder-unflag-important,
2410         elmo-folder-flag-as-read,
2411         elmo-folder-unflag-read,
2412         elmo-folder-flag-as-answered,
2413         elmo-folder-unflag-answered): Remove.
2414         (elmo-folder-set-flag): Define.
2415         (elmo-folder-unset-flag): Ditto.
2416
2417         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2418         (elmo-folder-set-flag): Define.
2419         (elmo-folder-unset-flag): Ditto.
2420         (elmo-folder-list-unreads): Remove.
2421         (elmo-folder-list-flagged): Define.
2422
2423         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2424         (elmo-folder-list-unreads,
2425         elmo-folder-list-importants,
2426         elmo-folder-list-answereds,
2427         elmo-folder-list-unreads-plugged,
2428         elmo-folder-list-importants-plugged,
2429         elmo-folder-list-answereds-plugged): Remove.
2430         (elmo-folder-list-flagged-plugged): New method.
2431         (elmo-folder-unflag-important,
2432         elmo-folder-flag-as-important,
2433         elmo-folder-unflag-read,
2434         elmo-folder-flag-as-read,
2435         elmo-folder-unflag-answered,
2436         elmo-folder-flag-as-answered,
2437         elmo-folder-flag-as-read-unplugged,
2438         elmo-folder-unflag-read-unplugged,
2439         elmo-folder-flag-as-important-unplugged,
2440         elmo-folder-unflag-important-unplugged,
2441         elmo-folder-flag-as-answered-unplugged,
2442         elmo-folder-unflag-answered-unplugged): Remove.
2443         (elmo-folder-set-flag): Define.
2444         (elmo-folder-unset-flag): Ditto.
2445         (elmo-folder-set-flag-unplugged): Ditto.
2446         (elmo-folder-unset-flag-unplugged): Ditto.
2447
2448         * elmo-multi.el (elmo-folder-list-unreads,
2449         elmo-folder-list-answereds,
2450         elmo-folder-list-importants,
2451         elmo-folder-flag-as-important,
2452         elmo-folder-unflag-important,
2453         elmo-folder-flag-as-read,
2454         elmo-folder-unflag-read,
2455         elmo-folder-flag-as-answered,
2456         elmo-folder-unflag-answered): Remove.
2457         (elmo-folder-set-flag): Define.
2458         (elmo-folder-unset-flag): Ditto.
2459
2460         * elmo-map.el (elmo-map-folder-unflag-important,
2461         elmo-map-folder-flag-as-important,
2462         elmo-map-folder-unflag-read,
2463         elmo-map-folder-flag-as-read,
2464         elmo-map-folder-unflag-answered,
2465         elmo-map-folder-flag-as-answered): Remove.
2466         (elmo-map-folder-set-flag): New method.
2467         (elmo-map-folder-unset-flag): Ditto.
2468         (elmo-map-folder-list-unreads,
2469         elmo-map-folder-list-importants,
2470         elmo-map-folder-list-answereds): Remove.
2471         (elmo-folder-list-flagged-internal): Define.
2472         (elmo-map-folder-list-flagged): New method.
2473
2474         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2475         (elmo-map-folder-list-unreads,
2476         elmo-map-folder-list-importants,
2477         elmo-map-folder-list-flagged): Remove.
2478         (elmo-map-folder-list-flagged): Define.
2479         (elmo-map-folder-flag-as-important,
2480         elmo-map-folder-unflag-important,
2481         elmo-map-folder-flag-as-read,
2482         elmo-map-folder-unflag-read,
2483         elmo-map-folder-flag-as-answered,
2484         elmo-map-folder-unflag-answered): Remove.
2485         (elmo-maildir-set-mark-messages): New internal function.
2486         (elmo-map-folder-set-flag): Define.
2487         (elmo-map-folder-unset-flag): Ditto.
2488
2489         * elmo.el (toplevel): Added autoload setting for
2490         `elmo-folder-list-global-flag-messages'.
2491         (elmo-folder-list-unreads,
2492         elmo-folder-list-importants,
2493         elmo-folder-list-answereds): Remove.
2494         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2495         Return a list whitch merged with messages have global flag.
2496         (elmo-folder-list-flagged-internal): New method.
2497         (elmo-folder-unflag-important,
2498         elmo-folder-flag-as-important,
2499         elmo-folder-unflag-read,
2500         elmo-folder-flag-as-read,
2501         elmo-folder-unflag-answered,
2502         elmo-folder-flag-as-answered): Remove.
2503         (elmo-folder-set-flag): New method.
2504         (elmo-folder-unset-flag): Ditto.
2505         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2506         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2507
2508         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2509         (elmo-folder-list-unreads-plugged,
2510         elmo-folder-list-importants-plugged,
2511         elmo-folder-list-answereds-plugged,
2512         elmo-folder-list-flagged-unplugged,
2513         elmo-folder-unflag-important-plugged,
2514         elmo-folder-flag-as-important-plugged,
2515         elmo-folder-unflag-read-plugged,
2516         elmo-folder-flag-as-read-plugged,
2517         elmo-folder-unflag-answered-plugged,
2518         elmo-folder-flag-as-answered-plugged): Remove.
2519         (elmo-folder-set-flag-plugged,
2520         elmo-folder-unset-flag-plugged): Define.
2521
2522         * elmo-flag.el (elmo-folder-initialize): Register to
2523         `elmo-global-flag-list' if flag is not global.
2524         (elmo-folder-append-messages): Set flag to source messages.
2525
2526         * elmo-filter.el (elmo-filter-folder-list-unreads,
2527         elmo-folder-list-unreads,
2528         elmo-filter-folder-list-importants,
2529         elmo-folder-list-importants,
2530         elmo-folder-flag-as-read,
2531         elmo-folder-unflag-read,
2532         elmo-folder-flag-as-important,
2533         elmo-folder-unflag-important,
2534         elmo-folder-flag-as-answered,
2535         elmo-folder-unflag-answered): Remove.
2536         (elmo-folder-set-flag): Define.
2537         (elmo-folder-unset-flag): Ditto.
2538
2539         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2540         elmo-folder-unflag-read-dop,
2541         elmo-folder-flag-as-important-dop,
2542         elmo-folder-unflag-important-dop,
2543         elmo-folder-flag-as-answered-dop,
2544         elmo-folder-unflag-answered-dop): Remove.
2545         (elmo-folder-set-flag-dop,
2546         elmo-folder-unset-flag-dop,
2547         elmo-folder-set-important-delayed,
2548         elmo-folder-unset-important-delayed,
2549         elmo-folder-set-read-delayed,
2550         elmo-folder-unset-read-delayed,
2551         elmo-folder-set-answered-delayed,
2552         elmo-folder-unset-answered-delayed): New function.
2553         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2554         (elmo-dop-queue-method-name-alist): Ditto.
2555
2556         * elmo-version.el (elmo-version): Up to 2.11.23.
2557
2558 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2559
2560         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2561
2562         * elsp-sa.el: New file.
2563
2564 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2565
2566         * modb-standard.el (modb-standard-message-entity): New function.
2567         (elmo-msgdb-message-entity): Use it.
2568
2569 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2570
2571         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2572         behavior when one-level is nil.
2573
2574         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2575
2576         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2577
2578 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2579
2580         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2581         get max number.
2582         (elmo-generic-folder-diff): Ditto.
2583
2584         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2585         (elmo-folder-update-number): Ditto.
2586
2587         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2588         (elmo-folder-next-message-number-dop): Ditto.
2589
2590 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2591
2592         * elmo-filter.el (elmo-folder-msgdb-create): Use
2593         `elmo-message-entity' and `elmo-message-flags' instead of
2594         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2595
2596 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2597
2598         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2599         `if-exists'.
2600
2601 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2602
2603         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2604
2605         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2606
2607         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2608
2609 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2610
2611         * elmo-version.el (elmo-version): Up to 2.11.22.
2612
2613 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2614
2615         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2616
2617 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2618
2619         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2620         if the message dose not exist.
2621
2622 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2623
2624         * elmo-version.el (elmo-version): Up to 2.11.21.
2625
2626 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2627
2628         * modb-standard.el (toplevel): Don't require mime.
2629
2630 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2631
2632         * elsp-bogofilter.el (toplevel): Don't require path-util.
2633         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2634         (elmo-spam-bogofilter-header): Abolish.
2635         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2636         (elmo-spam-bogofilter-args): New user option.
2637         (elsp-bogofilter-call-bogofilter): New internal function.
2638         (elmo-spam-buffer-spam-p): Use it.
2639         (elsp-bogofilter-register-buffer): Renamed from
2640         `elmo-spam-bogofilter-register-buffer';
2641         Use `elsp-bogofilter-call-bogofilter'.
2642         (elmo-spam-register-spam-buffer): Follow the change above.
2643         (elmo-spam-register-good-buffer): Ditto.
2644
2645 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2646
2647         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2648         message-id is nil do nothing.
2649
2650 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2651
2652         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2653         Revival.
2654         (elmo-imap4-session): Removed use-flag slot.
2655         (elmo-imap4-session-select-mailbox): Undo last change.
2656         (elmo-folder-use-flag-p): Use
2657         elmo-imap4-disuse-server-flag-mailbox-regexp.
2658
2659 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2660
2661         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2662         (elmo-imap4-session-select-mailbox): Set it up.
2663         (elmo-folder-use-flag-p): Return value of use-flag slot.
2664
2665 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2666
2667         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2668         message-id is nil.
2669         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2670
2671         * modb-entity.el (elmo-message-entity-handler): Likewise.
2672
2673 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2674
2675         * elmo.el (toplevel): Remove setting of autoloding for
2676         elmo-global-flag-initialize.
2677         (elmo-init): Don't call elmo-global-flag-initialize.
2678         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2679
2680         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2681         (elmo-global-mark-migrate): Don't call it.
2682         (elmo-global-mark-upgrade): Ditto.
2683
2684 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2685
2686         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2687         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2688
2689         * elmo-vars.el (elmo-init-hook): New user option.
2690
2691         * elmo.el (elmo-init): Run the elmo-init-hook.
2692
2693         * elmo-flag.el (elmo-global-mark-migrate): New function.
2694
2695 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2696
2697         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2698         Undo last change (move to elmo-msgdb-unset-flag).
2699         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2700         flag is unset.
2701
2702 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2703
2704         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2705         read flag is set.
2706         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2707         (elmo-msgdb-unset-flag): Ditto.
2708
2709 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2710
2711         * elmo-split.el (elmo-split): Return split message count.
2712
2713 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2714
2715         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2716         is nil.
2717
2718 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2719
2720         * elmo.el (elmo-folder-unflag-important): Call
2721         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2722         a symbol `always'.
2723
2724         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2725         before unset flag.
2726         (elmo-global-flag-detach): Delete the message from flag folder, if
2727         `delete-if-none' is a symbol `always'.
2728
2729 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2730
2731         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2732         `elmo-spam-spamfilter-decode-buffer'.
2733         (elsp-spamfilter-register-buffer-internal): New internal function.
2734         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2735         (elmo-spam-register-spam-buffer): Ditto.
2736         (elmo-spam-register-good-buffer): Ditto.
2737
2738         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2739         change.
2740         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2741         (elmo-spam-register-spam-buffer): Follow the API change.
2742         (elmo-spam-register-good-buffer): Ditto.
2743
2744         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2745         (elmo-split-spam-p): Added argument plist; Call
2746         `elmo-spam-buffer-spam-p' with new argument register.
2747
2748         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2749         `register'.
2750         (elmo-spam-message-spam-p): Ditto.
2751         (elmo-spam-register-spam-buffer): Added optional argument
2752         `restore'.
2753         (elmo-spam-register-good-buffer): Ditto.
2754         (elmo-spam-register-spam-messages): Ditto.
2755         (elmo-spam-register-good-messages): Ditto.
2756
2757 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2758
2759         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2760         register into good corpus.
2761         (elmo-spam-register-good-buffer): Fixed to register into bad
2762         corpus.
2763
2764 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2765
2766         * elmo-version.el (elmo-version): Up to 2.11.20.
2767
2768         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2769         change.
2770
2771         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2772         flag without depending on \Recent flag.
2773
2774 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2775
2776         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2777         (elmo-spam-modified-p): Defined.
2778         (elmo-spam-save-status): Set `modified' slot to nil.
2779         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2780         (elmo-spam-register-good-buffer): Ditto.
2781
2782         * elmo-spam.el (elmo-spam-modified-p): New API.
2783
2784 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2785
2786         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2787         duplicate definition.
2788
2789         * elmo-util.el (elmo-unfold-field-body): New function.
2790         (elmo-msgdb-get-message-id-from-buffer): Use it.
2791
2792         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2793         Fixed the last change; Use elmo-unfold-field-body.
2794
2795 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2796
2797         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2798         Unfold date value.
2799
2800 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2801
2802         * elmo-spam.el (elmo-spam-save-status): New API.
2803
2804         * elsp-spamfilter.el: New file.
2805
2806 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2807
2808         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2809
2810 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2811
2812         * elmo-split.el (elmo-split-spam-p): New function.
2813
2814         * elmo-spam.el: New file.
2815
2816         * elsp-bogofilter.el: Ditto.
2817
2818 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2819
2820         * elmo.el (elmo-folder-next-message-number): New API.
2821         (elmo-folder-next-message-number): Define.
2822         (elmo-message-field): Don't check folder length.
2823
2824         * elmo-net.el (elmo-folder-next-message-number): Define.
2825         (elmo-folder-next-message-number-unplugged): Define.
2826
2827         * elmo-map.el (elmo-folder-next-message-number): Define.
2828         (elmo-folder-delete-messages): Clear hash value.
2829
2830         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2831
2832         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2833         (elmo-folder-delete-messages-dop-delayed): Always return t.
2834
2835         * elmo-version.el (elmo-version): Up to 2.11.19.
2836
2837 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2838
2839         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2840         change.
2841
2842         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2843         identical cons cell into the mark-alist and the hash table.
2844
2845 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2846
2847         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2848         elmo-folder-list-messages with argument `visible-only' as t.
2849
2850         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2851         (elmo-folder-msgdb-create): Check the target folder.
2852
2853 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2854
2855         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2856         `permanentflag' instead of `flags'.
2857         (elmo-folder-open): Ditto.
2858         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2859         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2860         (elmo-folder-use-flag-p): Always return t.
2861         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2862         `permanentflags' does not exist.
2863         (elmo-folder-open): Ditto.
2864
2865 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2866
2867         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2868         is nil.
2869         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2870
2871         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2872         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2873         response.
2874         (elmo-folder-open): Ditto.
2875         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2876         slot of the session includes the flag.
2877         (elmo-imap4-session-flag-available-p): New function.
2878         (elmo-imap4-folder-list-flagged): Ditto.
2879         (elmo-folder-list-unreads-plugged): Use it.
2880         (elmo-folder-list-importants-plugged): Ditto.
2881         (elmo-folder-list-answereds-plugged): Ditto.
2882         (elmo-imap4-search-internal-primitive): Ditto.
2883         (elmo-imap4-folder-list-any-plugged,
2884         elmo-imap4-folder-list-digest-plugged): Abolish.
2885
2886         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2887         if numbers is nil.
2888
2889 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2890
2891         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2892
2893 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2894
2895         * elmo-util.el (elmo-get-hash-val): Simplify.
2896         (elmo-set-hash-val): Rewrite.
2897
2898 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2899
2900         * elmo.el (elmo-folder-list-messages): Append killed messages into
2901         result if `visible-only' is nil and `in-msgdb' is non-nil.
2902
2903         * elmo-util.el (elmo-uniq-list): Added optional argument
2904         `delete-function'.
2905
2906         * modb.el (elmo-msgdb-flag-count): New API.
2907
2908         * modb-standard.el (modb-standard): Added slot flag-count.
2909         (modb-standard-countup-flags): New function.
2910         (modb-standard-load-flag): Call it.
2911         (elmo-msgdb-append): Ditto.
2912         (elmo-msgdb-clear): Clear slot flag-count.
2913         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2914         (elmo-msgdb-unset-flag): Treat `all' flag and call
2915         modb-standard-countup-flags.
2916         (elmo-msgdb-flag-count): Define.
2917         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2918         (elmo-msgdb-delete-messages): Ditto.
2919
2920         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2921         (elmo-msgdb-flag-count): Define.
2922
2923         * elmo.el (elmo-folder-list-messages): Undo last change.
2924         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2925         (elmo-folder-kill-messages): Unset all flags to numbers.
2926
2927         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2928         elmo-folder-kill-messages.
2929
2930         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2931         (elmo-nntp-folder-delete-messages): Abolish.
2932
2933         * elmo-version.el (elmo-version): Up to 2.11.18.
2934
2935 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2936
2937         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2938         (elmo-folder-kill-messages-range): New function.
2939         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2940         instead of elmo-folder-kill-messages-before.
2941
2942 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2943
2944         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2945         elmo-imap4-current-msgdb to decide entity handler.
2946
2947 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2948
2949         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2950
2951         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2952         inline function.
2953         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2954         (elmo-msgdb-overview-entity-set-number,
2955         elmo-msgdb-overview-entity-get-references,
2956         elmo-msgdb-overview-entity-set-references,
2957         elmo-msgdb-overview-entity-get-from-no-decode,
2958         elmo-msgdb-overview-entity-get-from,
2959         elmo-msgdb-overview-entity-set-from,
2960         elmo-msgdb-overview-entity-get-subject,
2961         elmo-msgdb-overview-entity-get-subject-no-decode,
2962         elmo-msgdb-overview-entity-set-subject,
2963         elmo-msgdb-overview-entity-get-date,
2964         elmo-msgdb-overview-entity-set-date,
2965         elmo-msgdb-overview-entity-get-to,
2966         elmo-msgdb-overview-entity-get-cc,
2967         elmo-msgdb-overview-entity-get-size,
2968         elmo-msgdb-overview-entity-set-size,
2969         elmo-msgdb-overview-entity-get-extra,
2970         elmo-msgdb-overview-entity-set-extra,
2971         elmo-msgdb-overview-entity-get-extra-field,
2972         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2973         (elmo-msgdb-make-index): Use
2974         `elmo-msgdb-overview-entity-get-number-internal'.
2975         (elmo-msgdb-clear-index): Ditto.
2976         (elmo-msgdb-append-entity): Ditto;
2977         Use `elmo-msgdb-overview-entity-get-id-internal'.
2978
2979         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2980         elmo-msgdb-overview-entity-set-number,
2981         elmo-msgdb-overview-entity-get-references,
2982         elmo-msgdb-overview-entity-set-references,
2983         elmo-msgdb-overview-entity-get-from-no-decode,
2984         elmo-msgdb-overview-entity-get-from,
2985         elmo-msgdb-overview-entity-set-from,
2986         elmo-msgdb-overview-entity-get-subject,
2987         elmo-msgdb-overview-entity-get-subject-no-decode,
2988         elmo-msgdb-overview-entity-set-subject,
2989         elmo-msgdb-overview-entity-get-date,
2990         elmo-msgdb-overview-entity-set-date,
2991         elmo-msgdb-overview-entity-get-to,
2992         elmo-msgdb-overview-entity-get-cc,
2993         elmo-msgdb-overview-entity-get-size,
2994         elmo-msgdb-overview-entity-set-size,
2995         elmo-msgdb-overview-entity-get-extra,
2996         elmo-msgdb-overview-entity-set-extra,
2997         elmo-msgdb-overview-entity-get-extra-field,
2998         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2999         and rewrote for backward compatibility.
3000
3001 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3002
3003         * elmo.el (elmo-message-entity-number,
3004         elmo-message-entity-set-number,
3005         elmo-message-entity-field,
3006         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3007
3008         * elmo-msgdb.el (elmo-message-entity-number,
3009         elmo-message-entity-set-number,
3010         elmo-message-entity-field,
3011         elmo-message-entity-set-field): Moved from elmo.el.
3012
3013 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3014
3015         * elmo.el (toplevel): Changed definition orders.
3016
3017 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3018
3019         * modb.el (elmo-msgdb-search): New API .
3020         (elmo-msgdb-match-condition): Ditto.
3021
3022         * modb-standard.el (elmo-msgdb-search): Define.
3023
3024         * modb-legacy.el (elmo-msgdb-search): Ditto.
3025
3026         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3027         from elmo-msgdb-match-condition-internal.
3028
3029         * elmo.el (elmo-folder-search-fast): Abolish.
3030         (elmo-folder-search): Use elmo-msgdb-search and
3031         elmo-with-progress-display.
3032
3033         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3034         as msgdb API.
3035
3036         * elmo.el (elmo-folder): Remove slot message-modified and
3037         flag-modified.
3038         (elmo-folder-set-message-modified): Abolish.
3039         (elmo-generic-folder-commit): Follow the change above.
3040         (elmo-folder-synchronize): Ditto.
3041
3042         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3043
3044         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3045
3046         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3047
3048 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3049
3050         * modb-standard.el (modb-standard-make-message-entity,
3051         elmo-msgdb-make-message-entity,
3052         elmo-msgdb-create-message-entity-from-buffer,
3053         elmo-msgdb-message-entity-number,
3054         elmo-msgdb-message-entity-set-number,
3055         elmo-msgdb-message-entity-field,
3056         elmo-msgdb-message-entity-set-field,
3057         elmo-msgdb-copy-message-entity,
3058         elmo-msgdb-match-condition-internal): Remove.
3059
3060         * modb-entity.el: New file (again).
3061
3062         * modb.el (toplevel): Require modb-entity.
3063         (elmo-msgdb-message-entity-handler): New method.
3064
3065         * modb-standard.el (modb-standard-entity-id): Use
3066         elmo-message-entity-handler.
3067         (modb-standard-load-entity): Ditto.
3068         (elmo-msgdb-append-entity): Ditto.
3069         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3070
3071         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3072         elmo-msgdb-decoded-cache-hashtb,
3073         (modb-legacy-make-message-entity,
3074         elmo-msgdb-make-message-entity,
3075         elmo-msgdb-create-message-entity-from-buffer,
3076         elmo-msgdb-message-entity-number,
3077         elmo-msgdb-message-entity-set-number,
3078         elmo-msgdb-message-entity-field,
3079         elmo-msgdb-message-entity-set-field,
3080         elmo-msgdb-copy-message-entity,
3081         elmo-msgdb-match-condition-internal,
3082         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3083
3084         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3085         (elmo-message-entity-set-number): Ditto.
3086         (elmo-message-entity-field): Ditto.
3087         (elmo-message-entity-set-field): Ditto.
3088
3089         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3090
3091         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3092
3093         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3094
3095         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3096         (elmo-nntp-msgdb-create-message): Ditto.
3097
3098         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3099         (elmo-folder-msgdb-create): Add unread flag.
3100
3101         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3102
3103         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3104
3105         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3106
3107         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3108
3109         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3110         elmo-msgdb-messge-entity-handler.
3111         * elmo-version.el (elmo-version): Up to 2.11.17.
3112
3113 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3114
3115         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3116         change.
3117
3118 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3119
3120         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3121
3122         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3123         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3124         (elmo-msgdb-flag-table): Ditto.
3125         (elmo-msgdb-sort-by-date): Ditto.
3126
3127         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3128
3129         * modb-standard.el (toplevel): Require mime.
3130         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3131         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3132         elmo-msgdb-message-entity-number.
3133         (elmo-msgdb-append-entity): Ditto.
3134         (elmo-msgdb-create-message-entity-from-file): Remove.
3135         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3136         corresponds to the entity.
3137         (elmo-msgdb-message-entity-number): Do nothing currently.
3138         (elmo-msgdb-message-entity-field): Ditto.
3139         (elmo-msgdb-message-entity-set-field): Ditto.
3140         (elmo-msgdb-copy-message-entity): Ditto.
3141         (elmo-msgdb-match-condition-internal): Ditto.
3142
3143         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3144         elmo-util.el.
3145         (elmo-msgdb-create-message-entity-from-file): Remove.
3146
3147         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3148         modb-legacy.el.
3149         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3150
3151         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3152
3153 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3154
3155         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3156         (elmo-msgdb-message-entity-field): Ditto.
3157         (elmo-msgdb-message-entity-number): Ditto.
3158
3159 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3160
3161         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3162         Fixed how to set extra field into entity.
3163         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3164         symbol.
3165
3166         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3167         Fixed how to set extra field into entity.
3168         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3169         symbol.
3170
3171 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3172
3173         * modb.el (elmo-message-entity-db): New function.
3174         (elmo-msgdb-make-message-entity): New API.
3175         (elmo-msgdb-message-entity-number): Ditto.
3176         (elmo-msgdb-message-entity-set-number): Ditto.
3177         (elmo-msgdb-message-entity-field): Ditto.
3178         (elmo-msgdb-message-entity-set-field): Ditto.
3179         (elmo-msgdb-copy-message-entity): Ditto.
3180         (elmo-msgdb-create-message-entity-from-file): Ditto.
3181         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3182         (elmo-msgdb-match-condition-internal): Ditto.
3183
3184         * modb-standard.el (modb-legacy): Require modb-legacy.
3185         (modb-standard-make-message-entity): New inline function.
3186         (elmo-msgdb-make-message-entity): Define.
3187         (elmo-msgdb-create-message-entity-from-file): Ditto.
3188         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3189         (elmo-msgdb-message-entity-field): Ditto.
3190         (elmo-msgdb-message-entity-set-field): Ditto.
3191         (elmo-msgdb-copy-message-entity): Ditto.
3192         (elmo-msgdb-match-condition-internal): Ditto.
3193
3194         * modb-legacy.el: Don't require modb-entity.
3195         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3196         (elmo-msgdb-match-condition-primitive): Ditto.
3197         (elmo-msgdb-get-decoded-cache): Ditto.
3198         (elmo-msgdb-overview-entity-get-id): Ditto.
3199         (elmo-msgdb-overview-entity-get-number): Ditto.
3200         (elmo-msgdb-overview-entity-set-number): Ditto.
3201         (elmo-msgdb-overview-entity-get-references): Ditto.
3202         (elmo-msgdb-overview-entity-set-references): Ditto.
3203         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3204         (elmo-msgdb-overview-entity-get-from): Ditto.
3205         (elmo-msgdb-overview-entity-set-from): Ditto.
3206         (elmo-msgdb-overview-entity-get-subject): Ditto.
3207         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3208         (elmo-msgdb-overview-entity-set-subject): Ditto.
3209         (elmo-msgdb-overview-entity-get-date): Ditto.
3210         (elmo-msgdb-overview-entity-set-date): Ditto.
3211         (elmo-msgdb-overview-entity-get-to): Ditto.
3212         (elmo-msgdb-overview-entity-get-cc): Ditto.
3213         (elmo-msgdb-overview-entity-get-size): Ditto.
3214         (elmo-msgdb-overview-entity-set-size): Ditto.
3215         (elmo-msgdb-overview-entity-get-extra): Ditto.
3216         (elmo-msgdb-overview-entity-set-extra): Ditto.
3217         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3218         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3219         (elmo-msgdb-number-load): Ditto.
3220         (elmo-msgdb-overview-load): Ditto.
3221         (elmo-msgdb-mark-load): Ditto.
3222         (elmo-msgdb-number-save): Ditto.
3223         (elmo-msgdb-mark-save): Ditto.
3224         (elmo-msgdb-overview-save): Ditto.
3225         (modb-legacy-make-message-entity): New inline function.
3226         (elmo-msgdb-insert-file-header): Ditto.
3227         (elmo-msgdb-make-message-entity): Define.
3228         (elmo-msgdb-create-message-entity-from-file): Ditto.
3229         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3230         (elmo-msgdb-message-entity-number): Ditto.
3231         (elmo-msgdb-message-entity-set-number): Ditto.
3232         (elmo-msgdb-message-entity-field): Ditto.
3233         (elmo-msgdb-message-entity-set-field): Ditto.
3234         (elmo-msgdb-copy-message-entity): Ditto.
3235         (elmo-msgdb-match-condition-internal): Ditto.
3236
3237         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3238         (elmo-message-copy-entity): Rewrite.
3239         (elmo-message-entity-number): Ditto.
3240         (elmo-message-entity-set-number): Ditto.
3241         (elmo-message-entity-field): Use elmo-message-entity-db.
3242         (elmo-message-entity-set-field): Ditto.
3243         (elmo-message-field): Rewrite.
3244
3245         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3246         elmo-msgdb.el
3247         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3248
3249         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3250         elmo-message-entity-field.
3251         (elmo-shimbun-folder-shimbun-header): Ditto.
3252         (elmo-shimbun-entity-to-header): Ditto.
3253         (elmo-folder-msgdb-create): Ditto.
3254         (elmo-shimbun-msgdb-create-entity): Ditto;
3255         Use elmo-msgdb-create-message-entity-from-buffer.
3256         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3257         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3258
3259         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3260         elmo-msgdb-create-message-entity-from-file and 
3261         elmo-message-entity-field.
3262
3263         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3264         elmo-message-entity-number.
3265         (elmo-pop3-msgdb-create-message): Use
3266         elmo-msgdb-create-message-entity-from-buffer,
3267         elmo-message-entity-set-field, elmo-message-entity-number and
3268         elmo-message-entity-set-number.
3269
3270         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3271         the API change in elmo-msgdb-make-message-entity.
3272         (elmo-nntp-msgdb-create-message): Use
3273         elmo-msgdb-create-message-entity-from-buffer.
3274
3275         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3276         elmo-message-entity-field and
3277         elmo-msgdb-create-message-entity-from-file.
3278
3279         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3280         (elmo-msgdb-get-field): Abolish.
3281         (elmo-msgdb-get-number): Rewrite.
3282         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3283         (elmo-msgdb-flag-table): Ditto.
3284         (elmo-msgdb-get-last-message-id,
3285         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3286         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3287         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3288         (elmo-msgdb-create-overview-from-buffer,
3289         elmo-msgdb-overview-get-parent-entity): Abolish.
3290
3291         * elmo-mime.el (elmo-mime-display-as-is): Use
3292         elmo-message-entity-field.
3293
3294         * elmo-map.el (elmo-folder-pack-numbers): Use
3295         elmo-message-entity-set-number.
3296
3297         * elmo-maildir.el (elmo-folder-msgdb-create): 
3298         elmo-msgdb-create-message-entity-from-file instead of
3299         elmo-msgdb-create-overview-entity-from-file.
3300
3301         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3302         msgdb.
3303         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3304         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3305
3306         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3307         elmo-messge-entity-field and elmo-message-entity-number.
3308         (elmo-imap4-fetch-callback-1): Call
3309         elmo-msgdb-create-message-entity-from-buffer instead of
3310         elmo-msgdb-create-overview-from-buffer. 
3311         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3312         (elmo-find-fetch-strategy): Likewise.
3313
3314         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3315         elmo-localdir-msgdb-create-entity with argument msgdb.
3316
3317         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3318         and elmo-message-entity-set-number.
3319
3320         * elmo-cache.el (elmo-folder-msgdb-create): Use
3321         elmo-message-entity-field.
3322         (elmo-folder-msgdb-create): Call
3323         elmo-msgdb-create-message-entity-from-file instead of
3324         elmo-msgdb-create-overview-entity-from-file.
3325
3326         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3327         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3328         instead of elmo-msgdb-create-overview-from-buffer.
3329         (elmo-archive-msgdb-create-entity): Ditto.
3330         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3331         elmo-message-entity-field.
3332         (elmo-archive-parse-mmdf): Ditto.
3333
3334         * modb-entity.el: Removed.
3335
3336         * elmo-version.el (elmo-version): Up to 2.11.16.
3337
3338 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3339
3340         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3341         `is-local'.
3342         (elmo-folder-flag-as-answered): Ditto.
3343
3344 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3345
3346         * modb-standard.el: New file.
3347
3348         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3349         elmo-msgdb-convert-type is `sync'.
3350
3351         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3352         (elmo-msgdb-convert-type): New user option.
3353
3354         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3355         (elmo-load-msgdb): Auto detect saved type.
3356
3357         * elmo-version.el (elmo-version): Up to 2.11.15.
3358
3359 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3360
3361         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3362
3363         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3364         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3365         with argument `delete-if-none' when dst-folder is 'null.
3366
3367         * elmo-flag.el (elmo-folder-append-messages): Defined.
3368         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3369
3370 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3371
3372         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3373
3374 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3375
3376         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3377         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3378         (elmo-folder-commit): Ditto.
3379
3380 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3381
3382         * elmo-flag.el: New file.
3383
3384         * elmo-mark.el: Removed.
3385
3386         * modb-legacy.el (modb-legacy-new-mark,
3387         modb-legacy-unread-uncached-mark,
3388         modb-legacy-unread-cached-mark,
3389         modb-legacy-read-uncached-mark,
3390         modb-legacy-answered-cached-mark,
3391         modb-legacy-answered-uncached-mark,
3392         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3393         All other related portions are changed.
3394
3395         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3396         (elmo-folder-list-messages-with-global-mark): Abolish.
3397         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3398         (elmo-folder-flag-as-important): Ditto.
3399         (elmo-folder-unflag-read): Ditto.
3400         (elmo-folder-flag-as-read): Ditto.
3401         (elmo-folder-unflag-answered): Ditto.
3402         (elmo-folder-flag-as-answered): Ditto.
3403         (elmo-message-encache): Return the cache path.
3404         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3405         (elmo-message-set-flag): Transitional implementation.
3406         (elmo-message-unset-flag): Ditto.
3407         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3408         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3409         (elmo-init): Call elmo-global-flag-initialize.
3410         (toplevel): Added autoload settings for elmo-flag.
3411
3412         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3413
3414         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3415         (elmo-file-cache-delete): Don't treat global-mark.
3416
3417         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3418
3419         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3420
3421         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3422         `elmo-global-flags-set'.
3423
3424         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3425         `flag'.
3426         (elmo-folder-unflag-read): Ditto.
3427         (elmo-folder-unflag-important): Ditto.
3428         (elmo-folder-flag-as-important): Ditto.
3429         (elmo-folder-unflag-answered): Ditto.
3430         (elmo-folder-flag-as-answered): Ditto.
3431
3432         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3433         `elmo-global-flags-set'.
3434         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3435
3436         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3437
3438         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3439         `flag'.
3440         (elmo-folder-flag-as-important): Ditto.
3441         (elmo-folder-unflag-important): Ditto.
3442         (elmo-folder-flag-as-important): Ditto.
3443         (elmo-folder-unflag-read): Ditto.
3444         (elmo-folder-flag-as-read): Ditto.
3445         (elmo-folder-unflag-answered): Ditto.
3446         (elmo-folder-flag-as-answered): Ditto.
3447
3448         * elmo-multi.el (elmo-folder-list-importants): Don't call
3449         elmo-folder-list-messages-with-global-mark.
3450         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3451         (elmo-folder-unflag-important): Ditto.
3452         (elmo-folder-flag-as-read): Ditto.
3453         (elmo-folder-unflag-read): Ditto.
3454         (elmo-folder-flag-as-answered): Ditto.
3455         (elmo-folder-unflag-answered): Ditto.
3456
3457         * elmo-msgdb.el (elmo-msgdb-new-mark,
3458         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3459         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3460         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3461         (Moved to modb-legacy.el).
3462         (elmo-flag-table-get): Treat important flag too.
3463
3464         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3465         `mark' to `flag'.
3466         (elmo-map-folder-flag-as-important): Ditto.
3467         (elmo-map-folder-unflag-read): Ditto.
3468         (elmo-map-folder-flag-as-read): Ditto.
3469         (elmo-map-folder-unflag-answered): Ditto.
3470         (elmo-map-folder-flag-as-answered): Ditto.
3471         (elmo-folder-unflag-important): Ditto.
3472         (elmo-folder-flag-as-important): Ditto.
3473         (elmo-folder-unflag-read): Ditto.
3474         (elmo-folder-flag-as-read): Ditto.
3475         (elmo-folder-unflag-answered): Ditto.
3476         (elmo-folder-flag-as-answered): Ditto.
3477
3478         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3479         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3480         `flag'.
3481         (elmo-map-folder-unflag-important): Ditto.
3482         (elmo-map-folder-flag-as-read): Ditto.
3483         (elmo-map-folder-unflag-read): Ditto.
3484         (elmo-map-folder-flag-as-answered): Ditto.
3485         (elmo-map-folder-unflag-answered): Ditto.
3486
3487         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3488         `elmo-global-flags-set'.
3489         (elmo-global-flags-set): Added autoload setting.
3490
3491         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3492         `flag'.
3493
3494         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3495         `elmo-msgdb-global-mark-set'.
3496         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3497         Call `elmo-global-flags-set'.
3498         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3499         `flag'.
3500         (elmo-folder-flag-as-important-plugged): Ditto.
3501         (elmo-folder-unflag-read-plugged): Ditto.
3502         (elmo-folder-flag-as-read-plugged): Ditto.
3503         (elmo-folder-unflag-answered-plugged): Ditto.
3504         (elmo-folder-flag-as-answered-plugged): Ditto.
3505         (elmo-global-flags-set): Added autoload setting.
3506
3507         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3508         `flag'.
3509         (elmo-folder-unflag-read): Ditto.
3510         (elmo-folder-flag-as-important): Ditto.
3511         (elmo-folder-unflag-important): Ditto.
3512         (elmo-folder-flag-as-answered): Ditto.
3513         (elmo-folder-unflag-answered): Ditto.
3514
3515         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3516         change of `mark'->`flag'.
3517         (elmo-dop-queue-method-name-alist): Ditto.
3518         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3519         (elmo-folder-unflag-read-dop): Ditto.
3520         (elmo-folder-flag-as-important-dop): Ditto.
3521         (elmo-folder-unflag-important-dop): Ditto.
3522         (elmo-folder-flag-as-answered-dop): Ditto.
3523         (elmo-folder-unflag-answered-dop): Ditto.
3524
3525         * elmo-cache.el (elmo-folder-msgdb-create): Call
3526         `elmo-global-flags-set'.
3527
3528         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3529         Call `elmo-global-flags-set'.
3530         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3531         elmo-archive-parse-mmdf with argument `folder'.
3532         (elmo-archive-parse-mmdf): Added argument `folder';
3533         Call `elmo-global-flags-set'.
3534
3535         * elmo-version.el (elmo-version): Up to 2.11.14.
3536
3537 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3538
3539         * modb.el (elmo-msgdb-length): Define.
3540
3541         * elmo.el (elmo-make-folder): Fixed.
3542         (elmo-generic-folder-append-messages): Follow the API change.
3543
3544         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3545         API change.
3546
3547 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3548
3549         * modb.el: New file.
3550
3551         * modb-entity.el: Ditto.
3552
3553         * modb-legacy.el: Ditto.
3554
3555         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3556         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3557         of `elmo-msgdb-overview-get-entity'.
3558         (elmo-msgdb-get-field): Ditto.
3559         (elmo-msgdb-merge): Moved to `elmo.el'.
3560         (elmo-msgdb-length): Removed; redefine as modb method.
3561         (elmo-msgdb-change-mark): Abolish.
3562         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3563         (elmo-msgdb-match-condition): Don't use mark.
3564         (elmo-msgdb-overview-get-entity): Abolish.
3565         Split modb part into `modb*.el'.
3566
3567         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3568
3569         * elmo-shimbun.el (shimbun-mua-search-id): Use
3570         `elmo-msgdb-message-entity' instead of
3571         `elmo-msgdb-overview-get-entity'.
3572         (elmo-shimbun-folder-shimbun-header): Ditto.
3573         (elmo-shimbun-get-headers): Ditto.
3574         (elmo-shimbun-update-overview): Ditto.
3575
3576         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3577
3578         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3579
3580         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3581         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3582
3583         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3584         `elmo-msgdb-mark-to-flags'.
3585
3586         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3587         `elmo-msgdb-set-path'.
3588
3589         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3590  
3591         * elmo-version.el (elmo-version): Up to 2.11.13.
3592
3593         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3594
3595         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3596         of mark.
3597
3598 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3599
3600         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3601         mismatch.
3602
3603 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3604
3605         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3606         instead of `elmo-msgdb-get-cached'.
3607         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3608
3609         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3610         (elmo-msgdb-set-cached): Ditto.
3611         (elmo-msgdb-set-flag): Rewrite.
3612         (elmo-msgdb-unset-flag): Ditto.
3613
3614         * elmo-msgdb.el: Rewrite with luna.
3615
3616         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3617         (elmo-folder-msgdb): Follow the change above.
3618         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3619         (elmo-folder-unmark-important): Follow the API change.
3620         (elmo-folder-mark-as-important): Ditto.
3621         (elmo-folder-unmark-read): Ditto.
3622         (elmo-folder-mark-as-read): Ditto.
3623         (elmo-folder-unmark-answered): Ditto.
3624         (elmo-folder-mark-as-answered): Ditto.
3625         (elmo-folder-clear): Likewise.
3626
3627         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3628         instead of `elmo-msgdb-load' (renamed).
3629
3630         * elmo-version.el (elmo-version): Up to 2.11.12.
3631
3632 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3633
3634         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3635         change.
3636         (elmo-message-mark): Abolish.
3637         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3638         instead of `elmo-msgdb-change-mark'.
3639
3640         * elmo-pipe.el (elmo-message-mark): Abolish.
3641
3642         * elmo-multi.el (elmo-message-mark): Ditto.
3643
3644         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3645         (elmo-msgdb-unread-uncached-mark): Ditto.
3646         (elmo-msgdb-unread-cached-mark): Ditto.
3647         (elmo-msgdb-read-uncached-mark): Ditto.
3648         (elmo-msgdb-answered-cached-mark): Ditto.
3649         (elmo-msgdb-answered-uncached-mark): Ditto.
3650         (elmo-msgdb-important-mark): Ditto.
3651         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3652         `use-cache'.
3653         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3654         `flags'.
3655         (elmo-flag-table-load): Changed flag to list of flag.
3656         (elmo-flag-table-set): If flags is nil, set read flag.
3657         (elmo-flag-table-get): Return derived flags from global mark,
3658         cache status and saved flags.
3659         (elmo-msgdb-flag-table): Follow the change above.
3660         (elmo-msgdb-out-of-date-messages): New function.
3661
3662         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3663
3664         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3665
3666         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3667
3668         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3669         (elmo-nntp-msgdb-create-message): Ditto.
3670
3671         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3672
3673         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3674         independent.
3675         (elmo-folder-msgdb-create): Follow the API change.
3676
3677         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3678         (elmo-folder-append-messages): Ditto.
3679
3680         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3681         (elmo-folder-append-buffer): Ditto.
3682
3683         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3684
3685         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3686
3687         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3688         (elmo-archive-parse-mmdf): Ditto.
3689
3690         * elmo-version.el (elmo-version): Up to 2.11.11.
3691
3692 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3693
3694         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3695         `elmo-msgdb-mark'.
3696
3697         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3698
3699         * elmo-pipe.el (elmo-message-flags): Defined.
3700
3701         * elmo-multi.el (elmo-message-flags): Ditto.
3702
3703 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3704
3705         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3706         `elmo-msgdb-delete-msgs'.
3707
3708         * elmo.el (elmo-folder-count-flags): Don't use
3709         `elmo-msgdb-get-mark-alist'.
3710         (elmo-folder-detach-messages): Follow the API change.
3711
3712         * elmo.el (elmo-folder-list-messages): Append killed messages into
3713         result if `visible-only' is nil.
3714
3715         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3716         canceled messages.
3717         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3718         (elmo-folder-update-number): Likewise.
3719
3720         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3721         (elmo-pop3-sort-msgdb-by-original-number): Use
3722         `elmo-msgdb-sort-entities'.
3723
3724         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3725         (elmo-msgdb-sort-by-date): Use it.
3726         (elmo-msgdb-overview-sort-by-date): Abolish.
3727
3728         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3729
3730         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3731         (elmo-msgdb-flags): New function.
3732         (elmo-msgdb-merge): Use elmo-msgdb-append.
3733
3734         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3735         change.
3736
3737         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3738
3739         * elmo-dop.el (elmo-folder-status-dop): Use
3740         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3741
3742 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3743
3744         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3745
3746         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3747
3748         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3749
3750         * elmo-util.el (elmo-with-progress-display): New macro.
3751
3752         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3753
3754 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3755
3756         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3757         `elmo-folder-list-message-entities' instead of
3758         `elmo-msgdb-get-overview'.
3759         (elmo-map-folder-list-message-locations): Ditto.
3760
3761         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3762         methods instead of treat directly).
3763         (elmo-msgdb-clear): Ditto.
3764         (elmo-msgdb-delete-msgs): Ditto.
3765         (elmo-msgdb-sort-by-date): Ditto.
3766
3767         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3768         local variables.
3769         (elmo-nntp-folder-msgdb-create): Follow the API change.
3770
3771         * elmo-version.el (elmo-version): Up to 2.11.10.
3772
3773 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3774
3775         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3776         (elmo-msgdb-flags-to-mark): Ditto.
3777         (elmo-msgdb-append-entity): Ditto.
3778
3779         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3780         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3781         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3782         (elmo-archive-parse-mmdf): Ditto.
3783
3784         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3785
3786         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3787
3788         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3789
3790         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3791
3792         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3793
3794         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3795
3796         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3797
3798         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3799
3800         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3801         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3802         to empty msgdb.
3803
3804         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3805         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3806         instead of directly construction.
3807         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3808         instead of construct msgdb.
3809
3810         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3811         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3812         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3813         instead of construct msgdb.
3814
3815 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3816
3817         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3818         when field is from or subject.
3819
3820 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3821
3822         * elmo-multi.el (elmo-message-entity-parent): Define.
3823         (elmo-folder-search): Rewrite.
3824
3825 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3826
3827         * elmo-multi.el (elmo-message-cached-p): Define.
3828
3829         * elmo.el (elmo-message-cached-p): New method.
3830         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3831         (elmo-message-flags): New method.
3832         (elmo-message-flagged-p): New function.
3833
3834         * elmo-version.el (elmo-version): Up to 2.11.9.
3835
3836 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3837
3838         * elmo-version.el (elmo-version): Up to 2.11.8.
3839
3840         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3841
3842         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3843
3844 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3845
3846         * elmo.el (elmo-folder-detach-messages): Undo last change.
3847
3848 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3849
3850         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3851
3852         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3853         only when src folder type is pop3.
3854
3855 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3856
3857         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3858         elmo-msgdb-overview-entity-get-number instead of
3859         elmo-message-entity-number.
3860
3861 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3862
3863         * elmo-version.el (elmo-version): Up to 2.11.7.
3864
3865 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3866
3867         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3868         function.
3869
3870         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3871         (elmo-msgdb-merge): New function.
3872         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3873         (elmo-msgdb-make-index): Rewrite.
3874
3875         * elmo-version.el (elmo-version): Up to 2.11.6.
3876
3877         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3878         use it as a the path for loading message entities.
3879
3880         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3881
3882 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3883
3884         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3885         message-modified slot of itself if it does not require target msgdb.
3886
3887         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3888         if folder length is zero.
3889         (elmo-mime-display-as-is): Ditto.
3890
3891         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3892
3893         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3894
3895 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3896
3897         * elmo.el (elmo-folder-set-message-modified): New method.
3898         (elmo-generic-folder-commit): Use it.
3899         (elmo-folder-synchronize): Ditto.
3900
3901         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3902         (elmo-folder-commit): Remove duplicate definition.
3903
3904 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3905
3906         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3907
3908 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3909
3910         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3911         (elmo-strict-folder-diff): Ditto.
3912         (elmo-folder-set-info-max-by-numdb): Simplify.
3913
3914         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3915         elmo-msgdb-list-messages.
3916
3917         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3918         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3919
3920 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3921
3922         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3923         visible-only is non-nil.
3924         (elmo-folder-confirm-appends): Changed message.
3925         (elmo-folder-synchronize): Added argument disable-killed.
3926
3927         * elmo-multi.el (elmo-folder-synchronize): Added argument
3928         disable-killed.
3929
3930         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3931
3932         * elmo-version.el (elmo-version): Up to 2.11.5.
3933
3934         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3935         elmo-list-filter.
3936
3937         * elmo-util.el (elmo-list-filter): Simplify.
3938
3939         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3940         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3941         (elmo-generic-folder-diff): Abolish argument.
3942         (elmo-msgdb-load): Don't use number-alist.
3943
3944         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3945
3946         * elmo-pipe.el (elmo-folder-diff): Ditto.
3947
3948         * elmo-nmz.el (elmo-folder-diff): Ditto.
3949
3950         * elmo-net.el (elmo-folder-diff): Ditto.
3951
3952         * elmo-maildir.el (elmo-folder-diff): Ditto.
3953
3954         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3955
3956         * elmo-multi.el (elmo-folder-diff): Ditto
3957         (elmo-multi-folder-diff): Rewrite.
3958
3959 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3960
3961         * elmo-pipe.el (elmo-folder-msgdb): Define.
3962
3963 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3964
3965         * elmo.el (elmo-message-set-cached): Define as a method.
3966
3967         * elmo-pipe.el (elmo-message-set-cached): Define.
3968         (elmo-find-fetch-strategy): Ditto.
3969
3970         * elmo-multi.el (elmo-message-set-cached): Define.
3971         (elmo-find-fetch-strategy): Rewrite.
3972
3973         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3974
3975         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3976
3977 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3978
3979         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3980         instead of number-alist.
3981
3982         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3983         mark nor message-id when msgdb of source folder is not loaded.
3984
3985         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3986
3987         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3988
3989 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3990
3991         * elmo.el (elmo-folder-length): Don't require msgdb.
3992
3993 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3994
3995         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3996         (elmo-message-field): Ditto.
3997
3998         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3999         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4000         slot.
4001         (elmo-map-folder-list-answereds): Define.
4002         (elmo-maildir-list-location): Treat 'R' info.
4003         (elmo-folder-msgdb-create): Treat flag-table.
4004         (elmo-folder-append-messages): Save flag-table.
4005
4006 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4007
4008         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
4009         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4010
4011 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4012
4013         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4014
4015         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4016         'read when mark is null.
4017
4018 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4019
4020         * elmo-version.el (elmo-version): Up to 2.11.4.
4021
4022 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4023
4024         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4025         (elmo-folder-mark-as-answered): Ditto.
4026
4027 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4028
4029         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4030         (elmo-pop3-get-session): Make msgdb directory after session.
4031         (elmo-folder-exists-p): Check exactly at the first time even when the
4032         elmo-pop3-exists-exactly is nil.
4033
4034         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4035         (elmo-folder-list-messages): Define instead of
4036         elmo-folder-list-messages-internal.
4037         (elmo-folder-check): Check destination folder.
4038         (elmo-folder-synchronize): Drain the pipe.
4039
4040         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4041         when msgdb is not loaded.
4042
4043         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4044
4045         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4046         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4047         messages.
4048
4049         * elmo.el (elmo-folder-kill-messages-before): New function.
4050         (elmo-folder-kill-messages): Ditto.
4051         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4052
4053         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4054         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4055         killed not by synchronize (e.g. scoring).
4056
4057 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4058
4059         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4060         treated.
4061         (elmo-folder-search): Follow the change above.
4062
4063         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4064         into the candidates of search field.
4065
4066 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4067
4068         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4069         (elmo-msgdb-unset-flag): Ditto.
4070
4071         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4072
4073 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4074
4075         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4076         (elmo-folder-commit): Define.
4077         (elmo-folder-synchronize): Ditto.
4078         (elmo-folder-list-flagged): Ditto.
4079         (elmo-folder-commit): Ditto.
4080         (elmo-folder-length): Ditto.
4081         (elmo-folder-count-flags): Ditto.
4082         (elmo-message-mark): Ditto.
4083         (elmo-message-field): Ditto.
4084         (elmo-message-entity): Ditto.
4085         (elmo-message-folder): Ditto.
4086
4087 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4088
4089         * elmo.el (elmo-message-field): Define as a method.
4090
4091         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4092         (elmo-message-field): Define.
4093
4094         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4095         (elmo-folder-list-importants): Ditto.
4096         (elmo-folder-list-answereds): Ditto.
4097
4098         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4099         qualifier.
4100         (elmo-folder-mark-as-read): Ditto.
4101         (elmo-folder-unmark-read): Ditto.
4102         (elmo-folder-mark-as-answered): Ditto.
4103         (elmo-folder-unmark-answered): Ditto.
4104         (elmo-folder-list-flagged): Define.
4105         (elmo-folder-commit): Ditto.
4106         (elmo-folder-length): Ditto.
4107         (elmo-folder-count-flags): Ditto.
4108
4109 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4110
4111         * elmo.el (elmo-folder-detach-messages): New method.
4112         (elmo-folder-move-messages): Use it.
4113         (elmo-folder-synchronize): Ditto.
4114
4115         * elmo-multi.el (elmo-folder-detach-messages): Define.
4116
4117         * elmo.el (elmo-message-copy-entity): New function.
4118         (elmo-message-entity-set-number): Ditto.
4119         (elmo-message-mark): Define as method.
4120
4121         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4122         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4123         (elmo-message-entity): Fixed last change.
4124         (elmo-message-mark): Define.
4125         (elmo-folder-msgdb-create): Abolish.
4126         (elmo-multi-folder-append-msgdb): Ditto.
4127         (elmo-multi-folder-diff): Fixed.
4128         (elmo-multi-split-number-alist): Removed.
4129         (elmo-multi-split-mark-alist): Removed.
4130         (elmo-folder-list-messages): Define.
4131         (elmo-folder-list-messages-internal): Removed.
4132
4133         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4134         local file messages.
4135         (elmo-folder-msgdb-create): Fixed read mark.
4136
4137 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4138
4139         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4140         if mark is nil.
4141
4142 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4143
4144         * elmo.el (elmo-folder-list-message-entities): Define as inline
4145         function.
4146         (elmo-folder-messages): Abolish.
4147
4148         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4149         folder.
4150         (elmo-folder-synchronize): Define.
4151         (elmo-message-entity): Define.
4152
4153 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4154
4155         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4156         elmo-imap4-session-select-mailbox.
4157
4158         * elmo.el (elmo-folder-move-messages): Don't display any message.
4159
4160         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4161         parsing.
4162         (elmo-imap4-session-check): Don't wait CHECK response.
4163         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4164
4165 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4166
4167         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4168
4169 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4170
4171         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4172         API.
4173         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4174
4175
4176         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4177         (elmo-folder-list-message-entities): Added argument in-msgdb and
4178         numbers.
4179         (elmo-folder-synchronize): Define as a method.
4180
4181         * elmo-nntp.el (elmo-folder-initialize): Don't use
4182         elmo-nntp-default-user if zero-length username is specified
4183         explicitly.
4184
4185 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4186
4187         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4188         server name in case with username.
4189         (XXX: this is ad-hoc fix against username includes "@", it
4190         should be solved fundamentally)
4191
4192 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4193
4194         * elmo-nntp.el (elmo-nntp-debug): New function.
4195         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4196         (elmo-network-authenticate-session): Hide auth-info from the log.
4197
4198         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4199         user name if it is equal to elmo-nntp-default-user.
4200
4201 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4202
4203         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4204         instead of shimbun-server-internal;
4205         Use shimbun-current-group instead of shimbun-current-group-internal.
4206         (elmo-folder-plugged-p): Use shimbun-server instead of
4207         shimbun-server-internal.
4208         (elmo-folder-set-plugged): Ditto.
4209         (elmo-net-port-info): Ditto.
4210         (elmo-folder-check): Ditto.
4211         (elmo-folder-expand-msgdb-path): Ditto.
4212         (elmo-folder-list-subfolders): Ditto.
4213
4214 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4215
4216         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4217         Convert field-name to lower case.
4218         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4219
4220 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4221
4222         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4223         `message' and `error' take format string.
4224
4225 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4226
4227         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4228
4229 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4230
4231         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4232         recursive call (can't byte compile on emacs 20.7).
4233
4234 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4235
4236         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4237         (elmo-folder-list-message-entities): New API.
4238         (elmo-message-entity): Ditto.
4239         (elmo-message-entity-parent): Ditto.
4240         (elmo-folder-do-each-message-entity): Ditto.
4241         (elmo-message-entity-number): Ditto.
4242         (elmo-message-entity-field): Ditto.
4243         (elmo-message-entity-set-field): Ditto.
4244         (elmo-folder-count-flags): Ditto.
4245         (elmo-folder-length): Ditto.
4246
4247         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4248         not.
4249
4250         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4251         (elmo-msgdb-count-marks): Abolish.
4252         (elmo-msgdb-make-entity): Ditto.
4253         (elmo-msgdb-do-each-entity): Ditto.
4254         (elmo-msgdb-message-entity): New inline function.
4255         (elmo-msgdb-message-entity-field): Ditto.
4256         (elmo-msgdb-message-entity-set-field): Ditto.
4257         (elmo-msgdb-make-message-entity): New function.
4258
4259 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4260
4261         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4262         to flag. (All other related portions are changed.)
4263         (elmo-folder-msgdb-create): Likewise.
4264         (elmo-generic-folder-append-messages): Use flag-table instead of
4265         seen-list.
4266         (elmo-folder-move-messages): Removed redundant process.
4267         (elmo-folder-synchronize): Likewise.
4268
4269         * elmo-msgdb.el (elmo-flag-table-get): New function.
4270         (elmo-flag-table-save): Fixed.
4271         (elmo-msgdb-length): New inline function.
4272         (elmo-msgdb-flag-table): New function.
4273         (elmo-msgdb-mark): Add optional argument new.
4274         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4275         (elmo-msgdb-seen-list): Ditto.
4276         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4277
4278
4279 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4280
4281         * elmo.el (elmo-message-set-mark): Abolish.
4282         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4283         (All related portions are changed.)
4284
4285         * elmo-msgdb.el (toplevel): Added comment.
4286         (elmo-load-msgdb): Added 4th element `path'.
4287         (elmo-msgdb-append): Follow the change above.
4288         (elmo-msgdb-clear): Ditto.
4289         (elmo-msgdb-delete-msgs): Ditto.
4290         (elmo-msgdb-get-path): New inline function.
4291         (elmo-msgdb-set-path): Ditto.
4292         (elmo-flag-table-filename): New variable.
4293         (elmo-flag-table-load): New function.
4294         (elmo-flag-table-set): Ditto.
4295         (elmo-flag-table-save): Ditto.
4296         (elmo-msgdb-get-field-value): Abolish.
4297         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4298
4299 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4300
4301         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4302         the folder has been deleted successfully.
4303         * elmo-imap4.el (elmo-folder-delete): Ditto.
4304         * elmo-archive.el (elmo-folder-delete): Ditto.
4305         * elmo-localdir.el (elmo-folder-delete): Ditto.
4306         * elmo-maildir.el (elmo-folder-delete): Ditto.
4307
4308 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4309
4310         * elmo-util.el (elmo-string-member-ignore-case): New function.
4311         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4312         (elmo-imap4-fetch-callback-1-subr): Likewise.
4313
4314 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4315
4316         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4317         the case of the name attribute "\Noselect".
4318
4319 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4320
4321         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4322
4323         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4324         flist, is not always a member of onum-alist.
4325
4326 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4327
4328         * elmo-version.el (elmo-version): Up to 2.11.3.
4329
4330 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4331
4332         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4333         copied from localdir's one.
4334
4335         * elmo-pipe.el (elmo-folder-rename): New method, rename
4336         destination folder with leaving source folder as it is.
4337
4338 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4339
4340         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4341         replace-regexp.
4342
4343 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4344
4345         * elmo-version.el (elmo-version): Up to 2.11.2.
4346
4347 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4348
4349         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4350         shimbun-open in case of "@".
4351         (elmo-folder-open-internal): Cope with shimbun = nil case.
4352         (elmo-folder-plugged-p): Ditto.
4353         (elmo-folder-list-subfolders): Make list for "@/" group.
4354
4355 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4356
4357         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4358         mailbox (e.g. for %~/something).
4359
4360 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4361
4362         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4363         Replace nested conditional with guard clauses.
4364
4365 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4366
4367         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4368         error [wl:11327].
4369
4370         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4371         print-depth.
4372
4373 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4374
4375         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4376         Replace nested conditional with guard clauses.
4377
4378 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4379
4380         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4381         (elmo-passwd-alist-save): Ditto.
4382         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4383
4384 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4385
4386         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4387         dir-name only if it is absolute path.
4388         (TODO: distinguish +/something and +something)
4389
4390 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4391
4392         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4393         path for "+~/something".
4394
4395 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4396
4397         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4398         as non-directory, cause error before rename-file.
4399         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4400         apropriately, mimic localdir's one.
4401         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4402
4403 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4404
4405         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4406
4407 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4408
4409         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4410
4411         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4412         
4413         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4414         is included in the global-mark or not.
4415
4416 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4417
4418         * utf7.el (toplevel): Avoid error when the function
4419         find-coding-system does not exist.
4420
4421 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4422
4423         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4424         cache even if the folder is plugged.
4425         (elmo-nntp-search-primitive): Do nothing when body search is
4426         invoked (although it is not used by the change above).
4427         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4428
4429 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4430
4431         * elmo-version.el (elmo-version): Up to 2.11.1.
4432
4433 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4434
4435         * elmo-archive.el: Specify charset.
4436
4437 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4438
4439         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4440         process buffer lives or not.
4441
4442         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4443         while flushing queues (It causes infinite loop).
4444
4445 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4446
4447         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4448
4449 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4450
4451         * utf7.el (toplevel): Check the ucs features dynamically.
4452         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4453
4454         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4455         folder is creatabe or not if it already exists.
4456
4457 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4458
4459         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4460
4461         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4462
4463         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4464         (elmo-imap4-read-response): Take care of garbage response.
4465
4466 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4467
4468         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4469         just return nil instead of error.
4470
4471 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4472
4473         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4474         search-key is "body".
4475
4476 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4477
4478         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4479         of elmo-string-matched-assoc to use match-data.
4480         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4481
4482 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4483
4484         * elmo-split.el (elmo-split->): New function.
4485         (elmo-split-<): Ditto.
4486
4487 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4488
4489         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4490         workaround for invalid message-id.
4491
4492 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4493
4494         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4495         return normal pop3 session or pop3 biff session.
4496
4497 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4498
4499         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4500         info part to the cur files when the new files already have it.
4501         (Adviced by Jared Rhine <jared@wordzoo.com>)
4502
4503 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4504
4505         * elmo-split.el (elmo-split-default-action): New variable.
4506         (elmo-split-subr): Use it if all other conditions are passed.
4507         Extend `fname' and rename it as `action'. (implemented
4508         Teranishi-san's idea in [wl:10800])
4509
4510 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4511
4512         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4513         * elmo-util.el: Ditto.
4514
4515 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4516
4517         * elmo.el (elmo-message-accessible-p): Renamed from
4518         elmo-message-cached-p and rewritten.
4519
4520 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4521
4522         * elmo.el (elmo-folder-list-flagged): New generic function.
4523         (elmo-folder-list-importants): New implementation.
4524         (elmo-folder-list-answereds): Ditto.
4525         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4526         Added 'digest'.
4527         (elmo-message-cached-p): New function.
4528         (elmo-message-set-flag): Ditto (no content).
4529         (elmo-message-unset-flag): Ditto.
4530         (elmo-folder-list-messages-mark-match): Abolish.
4531
4532         * elmo-util.el (elmo-regexp-opt): New function.
4533
4534         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4535         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4536         Added 'digest'.
4537         (elmo-msgdb-list-flagged): New function.
4538
4539         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4540         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4541         Added 'digest'.
4542
4543         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4544
4545 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4546
4547         * elmo-version.el (elmo-version): Up to 2.11.0.
4548
4549 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4550
4551         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4552         `elmo-file-cache-exists-p'; use proper mark that depends on
4553         `use-cache'.
4554         (elmo-msgdb-unset-flag): Ditto.
4555         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4556
4557         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4558         with 4th argument `use-cache'.
4559
4560 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4561
4562         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4563         (elmo-folder-mark-as-important): Ditto.
4564         (elmo-folder-unmark-read): Ditto.
4565         (elmo-folder-mark-as-read): Ditto.
4566         (elmo-folder-unmark-answered): Ditto.
4567         (elmo-folder-mark-as-answered): Ditto.
4568
4569         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4570         message status.
4571         (elmo-msgdb-mark): Likewise.
4572         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4573         (elmo-msgdb-unset-flag): Likewise.
4574
4575         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4576
4577 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4578
4579         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4580         `last:' filter.
4581
4582 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4583
4584         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4585         set spool-length to 0.
4586
4587 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4588
4589         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4590         (elmo-dop-queue-flush): Fixed last change.
4591
4592 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4593
4594         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4595         if require-msgdb slot is nil.
4596         (elmo-folder-list-importants): Likewise.
4597
4598 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4599
4600         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4601         mark is changed.
4602
4603         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4604         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4605         is changed.
4606
4607 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4608
4609         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4610
4611 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4612
4613         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4614
4615         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4616
4617 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4618
4619         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4620         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4621
4622 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4623
4624         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4625         the problem reported by Sean Rima [wl-en:180].
4626
4627 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4628
4629         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4630
4631         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4632
4633         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4634
4635         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4636
4637         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4638
4639         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4640
4641         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4642
4643 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4644
4645         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4646         status number.
4647
4648 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4649
4650         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4651         (elmo-folder-mark-as-read): Follow the API change.
4652         (elmo-message-set-cached): New function.
4653
4654         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4655
4656         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4657
4658         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4659         (elmo-folder-mark-as-important): Ditto.
4660         (elmo-folder-unmark-read): Ditto.
4661         (elmo-folder-mark-as-read): Ditto.
4662         (elmo-folder-unmark-answered): Ditto.
4663         (elmo-folder-mark-as-answered): Ditto.
4664
4665         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4666         (elmo-folder-unmark-important): Ditto.
4667         (elmo-folder-mark-as-read): Ditto.
4668         (elmo-folder-unmark-read): Ditto.
4669         (elmo-folder-mark-as-answered): Ditto.
4670         (elmo-folder-unmark-answered): Ditto.
4671
4672         * elmo-mark.el (toplevel): Removed some mark method definitions.
4673
4674         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4675         (elmo-map-folder-mark-as-answered): Ditto.
4676         (elmo-folder-unmark-important): Add :before qualifier.
4677         (elmo-folder-mark-as-important): Ditto.
4678         (elmo-folder-unmark-read): Ditto.
4679         (elmo-folder-mark-as-read): Ditto.
4680         (elmo-folder-unmark-answered): Define.
4681         (elmo-folder-mark-as-answered): Ditto.
4682
4683         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4684         (elmo-map-folder-unmark-answered): Ditto.
4685
4686         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4687
4688         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4689         (elmo-folder-mark-as-important): Ditto.
4690         (elmo-folder-unmark-read): Ditto.
4691         (elmo-folder-mark-as-read): Ditto.
4692         (elmo-folder-unmark-answered): Ditto.
4693         (elmo-folder-mark-as-answered): Ditto.
4694
4695         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4696         `mark'; evaluate mark condition.
4697         (elmo-msgdb-match-condition-internal): New function.
4698         (elmo-msgdb-match-condition): Call it; changed argument.
4699
4700         * elmo.el (elmo-folder-search): Follow the API change on
4701         `elmo-msgdb-match-condition'.
4702
4703 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4704
4705         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4706         original mark is non-nil.
4707
4708 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4709
4710         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4711         (elmo-map-folder-list-answereds): New method.
4712         (elmo-folder-list-unreads): Add :around qualifier.
4713         (elmo-folder-list-importants): Ditto.
4714         (elmo-folder-list-answereds): Ditto.
4715
4716 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4717
4718         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4719
4720         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4721         method if msgdb is not required.
4722         (elmo-filter-folder-list-importants): Don't treat global-mark.
4723
4724         * elmo.el (elmo-folder-list-importants): Ditto.
4725
4726         * elmo-net.el (elmo-folder-list-importants): Ditto.
4727
4728         * elmo-map.el (elmo-folder-list-importants): Ditto.
4729
4730         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4731
4732         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4733         (elmo-imap4-folder-list-any-plugged): New function.
4734         (elmo-imap4-search-internal-primitive): Use it.
4735
4736         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4737         only when require-msgdb slot is non-nil.
4738         (elmo-folder-close): Clear target folder's msgdb.
4739
4740 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4741
4742         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4743         (elmo-pop3-msgdb-create-by-header): Ditto.
4744         (elmo-pop3-msgdb-create-message): Ditto.
4745
4746         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4747
4748         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4749
4750         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4751
4752         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4753         (elmo-folder-msgdb-create): Ditto.
4754         (elmo-nntp-folder-msgdb-create): Ditto.
4755         (elmo-nntp-msgdb-create-by-header): Ditto.
4756         (elmo-nntp-msgdb-create-message): Ditto.
4757         (elmo-folder-list-unreads): Define.
4758
4759         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4760         (elmo-folder-append-messages): Ditto.
4761         (elmo-folder-list-unreads): Define.
4762         (elmo-folder-list-importants): Ditto.
4763         (elmo-folder-list-answereds): Ditto.
4764
4765         * elmo-net.el (elmo-folder-list-unreads): Define.
4766         (elmo-folder-list-importants): Ditto.
4767         (elmo-folder-list-answereds): Ditto.
4768         (elmo-folder-list-answereds-plugged): Ditto.
4769         (elmo-folder-msgdb-create): Follow the API change.
4770         (elmo-folder-msgdb-create-unplugged): Ditto.
4771         (elmo-folder-unmark-answered): Define.
4772         (elmo-folder-mark-as-answered-unplugged): Ditto.
4773         (elmo-folder-unmark-answered-unplugged): Ditto.
4774
4775         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4776         (elmo-msgdb-unread-uncached-mark): Ditto.
4777         (elmo-msgdb-unread-cached-mark): Ditto.
4778         (elmo-msgdb-read-uncached-mark): Ditto.
4779         (elmo-msgdb-answered-cached-mark): Ditto.
4780         (elmo-msgdb-answered-uncached-mark): Ditto.
4781         (elmo-msgdb-important-mark): Ditto.
4782         (elmo-msgdb-set-mark): Rewrite.
4783         (elmo-msgdb-count-marks): Rewrite.
4784         (elmo-msgdb-mark-alist-set): Abolish.
4785         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4786         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4787
4788         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4789         (elmo-folder-close): Define.
4790         (elmo-folder-msgdb-create): Follow the API change.
4791         (elmo-folder-list-unreads): Rewrite.
4792         (elmo-folder-mark-as-important): Ditto.
4793         (elmo-folder-unmark-important): Ditto.
4794         (elmo-folder-mark-as-read): Ditto.
4795         (elmo-folder-unmark-read): Ditto.
4796         (elmo-folder-mark-as-answered): Define.
4797         (elmo-folder-unmark-answered): Ditto.
4798
4799         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4800         (elmo-folder-append-messages): Ditto.
4801
4802         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4803
4804         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4805         (elmo-folder-list-importants): Ditto.
4806
4807         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4808         (elmo-folder-append-messages): Ditto.
4809
4810         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4811         change.
4812         (elmo-folder-msgdb-create-plugged): Ditto.
4813         (elmo-folder-append-messages): Ditto.
4814         (elmo-folder-list-answereds-plugged): Define.
4815         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4816         (elmo-folder-unmark-answered-plugged): Define.
4817         (elmo-folder-mark-as-answered-plugged): Ditto.
4818         (elmo-folder-search-requires-msgdb-p): Ditto.
4819
4820         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4821         (elmo-folder-initialize): Set it.
4822         (elmo-folder-msgdb): Define.
4823         (elmo-folder-check): Call elmo-folder-synchronize.
4824         (elmo-folder-close): Define.
4825         (elmo-folder-commit): Ditto.
4826         (elmo-folder-msgdb-create): Rewrite.
4827         (elmo-folder-list-unreads): Ditto.
4828         (elmo-folder-list-importants): Ditto.
4829         (elmo-folder-mark-as-read): Ditto.
4830         (elmo-folder-unmark-read): Ditto.
4831         (elmo-folder-mark-as-important): Ditto.
4832         (elmo-folder-unmark-important): Ditto.
4833         (elmo-folder-mark-as-answered): Define.
4834         (elmo-folder-unmark-answered): Ditto.
4835
4836         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4837         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4838         (elmo-dop-queue-method-name-alist): Likewise.
4839         (elmo-folder-mark-as-answered-dop): New inline function.
4840         (elmo-folder-unmark-answered-dop): Ditto.
4841         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4842
4843         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4844         (elmo-folder-msgdb-create): Ditto.
4845         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4846         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4847         (elmo-archive-parse-mmdf): Ditto.
4848
4849         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4850         (elmo-folder-list-unreads-internal): Ditto.
4851
4852         * elmo.el (elmo-folder-msgdb): Define as generic function.
4853         (elmo-folder-list-messages): Added argument `in-msgdb'.
4854         (elmo-folder-list-unreads): Define as generic function.
4855         (elmo-folder-list-importants): Ditto.
4856         (elmo-folder-list-answereds): Ditto.
4857         (elmo-folder-list-messages-with-global-mark): New function.
4858         (elmo-folder-msgdb-create): Removed mark arguments.
4859         (elmo-folder-unmark-answered): New generic function.
4860         (elmo-folder-mark-as-answered): Ditto.
4861         (elmo-folder-append-messages): Removed argunment `unread-marks'
4862         (elmo-folder-list-unreads-internal): Abolish.
4863         (elmo-folder-list-importants-internal): Ditto.
4864         (elmo-folder-search-requires-msgdb-p): New generic function.
4865         (elmo-folder-search-requires-msgdb-p-internal): New function.
4866         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4867         elmo-msgdb-load.
4868         (elmo-folder-search-fast): Added key 'mark'.
4869         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4870         instead of unread-marks argument.
4871         (elmo-folder-move-messages): Removed argunment `unread-marks'
4872         (elmo-folder-unmark-important): Define.
4873         (elmo-folder-mark-as-important): Ditto.
4874         (elmo-folder-unmark-read): Ditto.
4875         (elmo-folder-mark-as-read): Ditto.
4876         (elmo-folder-unmark-answered): Ditto.
4877         (elmo-folder-mark-as-answered): Ditto.
4878         (elmo-folder-replace-marks): Abolish.
4879         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4880         duplicates.
4881         (elmo-folder-synchronize): Removed mark arguments;
4882         return crosspost only number.
4883
4884 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4885
4886         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4887         Remove redundunt connectivity check.
4888
4889 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4890
4891         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4892         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4893
4894 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4895
4896         * pldap.el (ldap-decode-string): Return string as-is if
4897         `ldap-coding-system' is nil.
4898         (ldap-encode-string): Ditto.
4899         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4900         (ldap-default-host): Fixed docstring.
4901
4902 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4903
4904         * elmo-util.el (elmo-warning): Define as a macro which uses
4905         `display-warning' if it is defined as a function.
4906
4907         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4908         (elmo-split-equal): Use it.
4909         (elmo-split-match): Ditto.
4910         (elmo-split-message-entity): New buffer-local variable.
4911         (elmo-split-subr): Set it.
4912
4913         * elmo-version.el (elmo-version): Up to 2.9.15.
4914
4915 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4916
4917         * elmo-imap4.el (elmo-network-initialize-session):
4918         Check capability after starttls.
4919
4920 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4921
4922         * elmo-util.el (elmo-list-delete): Added optional argument
4923         DELETE-FUNCTION.
4924
4925         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4926
4927         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4928
4929         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4930
4931         * elmo-imap4.el (elmo-folder-initialize): Don't use
4932         elmo-imap4-default-mailbox.
4933
4934 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4935
4936         * elmo-split.el (toplevel): Use `product-provide'.
4937         (elmo-split): Checkdoc.
4938
4939 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4940
4941         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4942         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4943         the function `elmo-imap4-debug-1'.
4944
4945 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4946
4947         * elmo-split.el (elmo-split): Moved to run hooks and to show
4948         message from elmo-split-subr.
4949         (elmo-split-subr): Follow the change above.
4950
4951         * elmo-split.el (elmo-split-subr): New function (renamed from
4952         elmo-split-subr).
4953         (elmo-split): Changed to call elmo-split-subr by element of
4954         elmo-split-folder.
4955         (elmo-split-folder): Changed customization type to choice.
4956
4957 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4958
4959         * elmo-split.el (elmo-split-and): Fixed condition.
4960
4961 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4962
4963         * elmo-split.el: New file.
4964         (elmo-split): Fixed logic.
4965         Display "Test:" instead of "Folder:" when reharsal.
4966
4967         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4968         explicitly.
4969
4970         * elmo-version.el (elmo-version): Up to 2.9.14.
4971
4972         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4973         wl-expand-newtext).
4974
4975 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4976
4977         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4978         message with no message-id field.
4979
4980 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4981
4982         * elmo-version.el (elmo-version): Up to 2.9.13.
4983
4984         * elmo-dop.el (elmo-folder-status-dop): Fix.
4985
4986 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4987
4988         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4989
4990         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4991         changing default value of default-mime-charset.
4992         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4993
4994         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4995
4996         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4997         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4998         instead of elmo-dop-queue-method-name-alist to check merging queue.
4999         (elmo-folder-delete-messages-dop): Delete from queue if negative
5000         message number.
5001         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5002         file is already removed.
5003
5004 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5005
5006         * elmo-vars.el: Bind colon keywords for old Emacsen.
5007
5008 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5009
5010         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5011         against non-exsisting charset.
5012
5013 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5014
5015         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5016         Use eword-decode-and-unfold-unstructured-field-body.
5017
5018         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5019         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5020         exists to decode raw subject string.
5021         (toplevel): Require 'mime.
5022
5023         * elmo-version.el (elmo-version): Up to 2.9.12.
5024
5025 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5026
5027         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5028         (elmo-msgdb-set-mark): Ditto.
5029
5030         * elmo-version.el (elmo-version): Up to 2.9.11.
5031
5032 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5033
5034         * elmo-util.el (elmo-delete-match-files): New function.
5035
5036         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5037         instead of elmo-delete-directory.
5038
5039         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5040         elmo-hash-minimun-size as 63.
5041
5042         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5043         elmo-diff-unread is nil.
5044
5045         * elmo-imap4.el (elmo-folder-open): Fix.
5046
5047         * elmo.el (elmo-message-mark): Rewrite.
5048         (elmo-message-field): Ditto.
5049         (elmo-message-set-mark): Ditto.
5050         (elmo-folder-replace-marks): New function.
5051         (elmo-generic-folder-append-msgdb): Removed third argument for
5052         elmo-msgdb-append.
5053         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5054         (elmo-msgdb-load): New implementation.
5055
5056         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5057
5058         * elmo-util.el (elmo-list-insert): New implementation.
5059
5060         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5061         argument for elmo-msgdb-append.
5062         
5063
5064         * elmo-msgdb.el (elmo-load-msgdb): New function.
5065         (elmo-make-msgdb): Ditto.
5066         (elmo-msgdb-get-index): New inline function.
5067         (elmo-msgdb-set-index): Ditto.
5068         (elmo-msgdb-get-entity-hashtb): Ditto.
5069         (elmo-msgdb-get-mark-hashtb): Ditto.
5070         (elmo-msgdb-get-mark): Ditto.
5071         (elmo-msgdb-set-mark): Ditto.
5072         (elmo-msgdb-count-marks): Ditto.
5073         (elmo-msgdb-get-number): Ditto.
5074         (elmo-msgdb-get-field): Ditto.
5075         (elmo-msgdb-seen-list): Ditto.
5076         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5077         (elmo-msgdb-delete-msgs): Follow the changes above.
5078         (elmo-msgdb-overview-get-entity): Ditto.
5079         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5080         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5081         and rewritten.
5082         (elmo-msgdb-make-index): Likewise.
5083         (elmo-msgdb-append): Removed third argument.
5084         (elmo-msgdb-clear): Clear index as nil.
5085         (elmo-folder-set-info-hashtb): Removed.
5086         (elmo-folder-set-info-max-by-numdb): Ditto.
5087         (elmo-folder-info-make-hashtb): Ditto.
5088
5089         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5090
5091         * elmo-map.el (elmo-folder-pack-number): Ditto.
5092
5093 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5094
5095         * elmo-version.el (elmo-version): Up to 2.9.10.
5096
5097         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5098
5099         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5100
5101 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5102
5103         * elmo-utils.el (elmo-make-directory): Add option.
5104         Default file mode is 700.
5105
5106 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5107
5108         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5109
5110 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5111
5112         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5113         mime-charset.
5114
5115         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5116         and "smaller".
5117
5118 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5119
5120         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5121         (elmo-shimbun-folder-entity-hash): New function.
5122         (elmo-shimbun-folder-shimbun-header): Ditto.
5123         (elmo-shimbun-entity-to-header): Ditto.
5124         (elmo-shimbun-msgdb-to-headers): Removed.
5125         (elmo-shimbun-folder-setup): Ditto.
5126         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5127         for hash key.
5128         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5129         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5130         Removed useless local bind.
5131         (elmo-folder-open-internal): Don't call
5132         `elmo-shimbun-folder-setup'.
5133         (elmo-folder-close-internal): Clear entity-hash slot.
5134         (elmo-folder-clear): Ditto.
5135         (elmo-shimbun-msgdb-create-entity): Use
5136         `elmo-shimbun-folder-shimbun-header'.
5137         (elmo-map-message-fetch): Ditto.
5138         (elmo-shimbun-update-overview): Use overview entity instead of
5139         shimbun header to lookup id by references.
5140         (elmo-map-folder-list-message-locations): Use not only headers but
5141         also overviews to list locations.
5142
5143 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5144
5145         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5146         msgdb path.
5147
5148         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5149
5150 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5151
5152         * elmo-util.el (elmo-read-search-condition-internal): Give default
5153         value for date.
5154
5155 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5156
5157         * elmo-util.el (elmo-condition-parse-search-value): Accept
5158         YYYY-MM-DD format to search.
5159         * elmo-date.el (elmo-date-get-datevec): Likewise.
5160
5161 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5162
5163         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5164         debugging code.
5165
5166 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5167
5168         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5169         from t.
5170
5171         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5172
5173         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5174         case from `elmo-folder-exists-p'.
5175         (elmo-folder-exists-p): Removed.
5176         (elmo-folder-creatable-p) Ditto.
5177
5178         * elmo-net.el (elmo-folder-create): Defined.
5179         (elmo-folder-create-unplugged): New function.
5180         (elmo-folder-exists-p): Changed default value to nil from t.
5181
5182         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5183         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5184
5185         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5186         `elmo-create-folder-dop' and append queue
5187         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5188         (elmo-folder-create-dop-delayed): New function.
5189
5190         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5191
5192         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5193
5194         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5195         (elmo-folder-writable-p) : Ditto.
5196
5197         * elmo-version.el (elmo-version): Up to 2.9.9.
5198
5199 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5200
5201         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5202         `elmo-message-use-cache-p' returns nil.
5203         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5204         (ignore cache file and refer the substance in local folders)
5205
5206 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5207
5208         * elmo-version.el (elmo-version): Up to 2.9.8.
5209
5210 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5211
5212         * elmo-version.el (elmo-version): Up to 2.9.7.
5213
5214         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5215
5216 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5217
5218         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5219
5220 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5221
5222         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5223         from --early.
5224         (elmo-map-folder-list-message-locations): Reverse location list.
5225
5226 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5227
5228         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5229
5230 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5231
5232         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5233         as a key.
5234         (elmo-nntp-folder-list-subfolders): Follow the change above.
5235
5236 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5237
5238         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5239         name if authentication type is specified.
5240
5241 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5242
5243         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5244         variable.
5245         (elmo-default-nntp-stream-type): Ditto.
5246         (elmo-default-pop3-stream-type): Ditto.
5247
5248 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5249
5250         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5251
5252 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5253
5254         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5255         elmo-vars.el.
5256         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5257
5258         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5259         (elmo-maildir-folder-path): Ditto.
5260         (elmo-maildir-list): Ditto (abolished).
5261
5262 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5263
5264         * elmo-version.el (elmo-version): Up to 2.9.6.
5265
5266 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5267
5268         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5269         (elmo-maildir-folder-path): Ditto.
5270         (elmo-msgdb-directory): Ditto.
5271         (elmo-passwd-life-time): Ditto.
5272         (elmo-msgdb-extra-fields): Ditto.
5273         (elmo-enable-disconnected-operation): Ditto.
5274
5275 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5276
5277         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5278         other choices.
5279         (elmo-pop3-default-authenticate-type): Ditto.
5280
5281 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5282
5283         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5284         choices for custom.
5285         (elmo-pop3-default-authenticate-type): Ditto.
5286
5287 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5288
5289         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5290         mailbox to new-folder.
5291
5292 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5293
5294         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5295         less than new, set new as unread.
5296
5297         * elmo-util.el (elmo-string): Don't put text-property if nil.
5298
5299 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5300
5301         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5302         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5303
5304 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5305
5306         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5307         is nil on `completing-read'.
5308
5309 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5310
5311         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5312         for namespace part.
5313         (elmo-imap4-parse-namespace-subr): Ditto.
5314         (elmo-folder-list-subfolders): Append a delimiter when the specified
5315         folder path is a root with namespace and does not end with delimiter.
5316
5317 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5318
5319         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5320         was used.
5321
5322 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5323
5324         * elmo-util.el (elmo-save-buffer): The first argument of message
5325         is a format control string.
5326
5327 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5328
5329         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5330         `elmo-folder-diff').
5331         (elmo-diff-unread): Likewise.
5332
5333 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5334
5335         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5336         is t on `completing-read'.
5337
5338 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5339
5340         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5341         method of target folder with self mark-alist if MARK-ALIST is nil.
5342
5343 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5344
5345         * elmo-version.el (elmo-version): Up to 2.9.5.
5346
5347 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5348
5349         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5350         (elmo-dop-merge-funcs): Remove.
5351
5352 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5353
5354         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5355         Return t if PATH is directory, too.
5356         Use `dolist' instead of while loop.
5357
5358 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5359
5360         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5361         is deleted.
5362
5363 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5364
5365         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5366         return value to t.
5367         (elmo-folder-list-messages-unplugged): Return t if
5368         elmo-enable-disconnected-operation is nil.
5369
5370         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5371         `elmo-folder-list-messages-internal'.
5372
5373 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5374
5375         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5376         Change to looking-at `[23][0-9]+'.
5377         (elmo-network-initialize-session): Use 'error-msg'
5378         * elmo-net.el (elmo-network-open-session): Set unplugged
5379         if elmo-network-initialize-session returns 'elmo-open-err.
5380
5381 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5382
5383         * elmo-version.el (elmo-version): Up to 2.9.4.
5384
5385 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5386
5387         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5388         `elmo-folder-list-messages-internal'.
5389
5390 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5391
5392         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5393         (elmo-message-match-condition): New method.
5394         (elmo-folder-search-fast): New inline function.
5395         (elmo-msgdb-search): Removed.
5396
5397         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5398         target folder if it is unplugged.
5399         (elmo-folder-list-messages-internal): Return t if target folder is
5400         unplugged and itself is persistent; In this case, use list be
5401         searched already.
5402
5403         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5404         (elmo-msgdb-search-internal-primitive): Ditto.
5405         (elmo-msgdb-match-condition): New function.
5406         (elmo-msgdb-match-condition-primitive): Ditto.
5407
5408         * elmo-util.el (elmo-filter-condition-p): New macro.
5409
5410         * elmo-cache.el (elmo-folder-search): Removed.
5411
5412         * elmo-localdir.el (elmo-folder-search): Ditto.
5413
5414         * elmo-maildir.el (elmo-folder-search): Ditto.
5415
5416         * elmo-mark.el (elmo-folder-search): Ditto.
5417
5418         * elmo-nmz.el (elmo-folder-search): Ditto.
5419
5420         * elmo-sendlog.el (elmo-folder-search): Ditto.
5421
5422         * elmo-shimbun.el (elmo-folder-search): Ditto.
5423
5424         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5425         if folder is unplugged.
5426
5427         * elmo-nntp.el (elmo-folder-search): Likewise.
5428         (elmo-nntp-search-internal): New function.
5429
5430         * elmo-version.el (elmo-version): Up to 2.9.3.
5431
5432 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5433
5434         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5435
5436 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5437
5438         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5439
5440 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5441
5442         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5443
5444 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5445
5446         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5447         (elmo-map-folder-list-message-locations): Do drive letter conversion
5448         on Windows environment.
5449         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5450         (elmo-map-message-fetch): Ditto.
5451
5452 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5453
5454         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5455         (elmo-network-initialize-session): Ditto.
5456
5457 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5458
5459         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5460
5461         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5462
5463         * elmo-util.el (elmo-progress-clear): Ditto.
5464
5465         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5466         `DD-Mon-YYYY' type date.
5467
5468 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5469
5470         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5471         `elmo-date-make-sortable-string' instead of
5472         `timezone-make-date-sortable'.
5473
5474         * elmo-date.el (elmo-date-make-sortable-string): Use
5475         `timezone-make-time-string'.
5476
5477 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5478
5479         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5480
5481         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5482         `since'; Fix timezone.
5483
5484         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5485
5486         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5487
5488 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5489
5490         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5491
5492 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5493
5494         * elmo.el (elmo-generic-folder-append-messages): Make
5495         fetch-strategy with `use-cache' as 'maybe. Check return value of
5496         `elmo-message-fetch'.
5497         (elmo-message-fetch): Return return value of
5498         `elmo-message-fetch-with-cache-process'.
5499         (elmo-message-fetch-with-cache-process): Return non-nil if
5500         fetching was succeed. Load cache when fetching was failed and
5501         fetch-strategy-use-cache is 'maybe.
5502
5503         * elmo-util.el (elmo-file-cache-load): New function.
5504
5505         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5506         defun.
5507
5508         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5509         non-nil if fetching was succeed.
5510
5511         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5512
5513         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5514
5515         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5516         (elmo-message-fetch-with-cache-process): Likwise.
5517
5518         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5519
5520         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5521
5522         * elmo-version.el (elmo-version): Up to 2.9.2.
5523
5524 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5525
5526         * elmo.el (elmo-folder-delete): Delete msgdb path.
5527
5528         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5529
5530         * elmo-maildir.el (elmo-folder-delete): Ditto.
5531
5532         * elmo-localdir.el (elmo-folder-delete): Ditto.
5533
5534         * elmo-imap4.el (elmo-folder-delete): Ditto.
5535
5536 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5537
5538         * elmo.el (luna-define-class): Added `biff' slot.
5539
5540         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5541         (elmo-pop3-debug-inhibit-logging): Abolished.
5542         (elmo-network-close-session): Eliminated needless let.
5543         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5544         (elmo-pop3-send-command): Added `no-log' argument.
5545         (elmo-pop3-process-filter): Use `with-current-buffer'.
5546         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5547         if login failure.
5548         (elmo-pop3-auth-apop): Likewise.
5549         (elmo-network-authenticate-session): Likewise.
5550
5551         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5552         if biff folder.
5553
5554         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5555         string to determine protocol.
5556         (elmo-network-session-name-prefix): Abolished.
5557         (elmo-network-session-cache-key): Follow the change above.
5558         (elmo-network-open-session): Ditto.
5559
5560         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5561         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5562
5563         * elmo-version.el (elmo-version): Up to 2.9.1.
5564
5565         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5566         unmatch condition checking.
5567
5568         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5569         condition.
5570
5571 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5572
5573         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5574
5575 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5576
5577         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5578         test for while loop to execute at least one SEARCH command.
5579
5580 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5581
5582         * elmo-version.el (elmo-version): Up to 2.9.0.
5583
5584 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5585
5586         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5587         (elmo-archive-folder-path): Define.
5588         (elmo-folder-initialize): Setup `dir-name' slot.
5589         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5590         Use `dir-name' as prefix of each subfolders.
5591         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5592
5593 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5594
5595         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5596         (elmo-pipe-folder-list-target-messages): New internal function.
5597         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5598         `killed-list'.
5599         (elmo-pipe-folder-copied-list-load): New function.
5600         (elmo-pipe-folder-copied-list-save): Ditto.
5601         (elmo-folder-open-internal): Follow the change above.
5602         (elmo-folder-status): Fixed for copy.
5603
5604 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5605
5606         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5607
5608 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5609
5610         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5611         elmo-copy-file instead of elmo-add-name-to-file.
5612
5613         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5614
5615         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5616         "file://..." index.
5617
5618         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5619         of accept-process-output as 1.
5620         (elmo-pop3-read-contents): Ditto.
5621         (elmo-pop3-read-body): Ditto.
5622
5623 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5624
5625         * elmo-version.el (product-version-as-string): Remove define.
5626
5627 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5628
5629         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5630         (elmo-imap4-copy-messages): Chop number set using
5631         `elmo-imap4-number-set-chop-length'.
5632         (elmo-imap4-set-flag): Ditto.
5633         (elmo-imap4-search-internal-primitive): Ditto.
5634
5635 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5636
5637         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5638         `elmo-folder-make-temp-dir'
5639
5640         * elmo-vars.el (elmo-cache-directory): New variable.
5641         (elmo-cache-dir): Abolished.
5642         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5643
5644         * elmo-version.el (elmo-version): Up to 2.7.7.
5645
5646 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5647
5648         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5649         defcustom; Set default value as t.
5650
5651 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5652
5653         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5654         (ldap-search-program-arguments): Changed default value.
5655         (ldap-search-basic): Accept exit status 4.
5656         (ldap/field-body): Parse options.
5657         (ldap/collect-field): Ditto.
5658         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5659
5660         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5661         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5662         (elmo-imap4-accept-ok): Ditto.
5663         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5664         'notify-bye, only BYE error is reported.
5665         (elmo-folder-exists-p-plugged): Set no-error argument of
5666         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5667
5668         * elmo.el (elmo-imap4-bye-error): Changed message.
5669
5670         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5671         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5672         queues (It causes infinite loop).
5673
5674 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5675
5676         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5677         (RECENT UNSEEN MESSAGES) extension.
5678
5679 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5680
5681         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5682         Check number of overview fields.
5683
5684 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5685
5686         * elmo.el (elmo-folder-confirm-appends): Changed message.
5687         (elmo-folder-confirm-appends): Ditto.
5688
5689         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5690         `with-temp-buffer'.
5691         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5692
5693 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5694
5695         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5696         of elmo-folder-update-threshold is nil, which can be set by
5697         wl-summary-update-confirm-threshold.
5698
5699 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5700
5701         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5702         (elmo-nmz-index-alias-alist): Ditto.
5703         (elmo-map-folder-list-message-locations): Follow the change above.
5704
5705 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5706
5707         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5708
5709         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5710
5711         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5712
5713         * elmo-util.el (elmo-read): Ditto.
5714         (elmo-display-error): Ditto.
5715
5716         * elmo-vars.el (elmo-date-match): Ditto.
5717
5718         * pldap.el (ldap-coding-system): Ditto.
5719
5720         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5721         `elmo-inhibit-number-mapping' as nil.
5722
5723 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5724
5725         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5726         space delimiter for list response.
5727
5728 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5729
5730         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5731
5732 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5733
5734         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5735         (elmo-map-message-fetch): Fix.
5736         * elmo-map.el (elmo-folder-status): Fix for killed.
5737
5738 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5739
5740         * elmo-sendlog.el: New file.
5741         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5742
5743 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5744
5745         * acap.el (acap-logging-out): New buffer local variable.
5746         (acap-close): Set it.
5747         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5748         an error.
5749
5750 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5751
5752         * acap.el (acap-response-bye-p): New function.
5753         (acap-response-bye-message): Ditto.
5754         (acap-wait-for-response): If bye response is received, cause an error.
5755         (acap-parse-response): Make bye response when 'Bye' is received.
5756
5757 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5758
5759         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5760
5761 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5762
5763         * elmo-util.el (elmo-copy-file): Added argument
5764         `ok-if-already-exists'.
5765         (elmo-copy-file): Fixed typo.
5766
5767 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5768
5769         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5770
5771 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5772
5773         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5774
5775 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5776
5777         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5778         to killed-list.
5779
5780 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5781
5782         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5783         (elmo-folder-initialize): Fix for `copy'.
5784         (elmo-pipe-drain): Ditto.
5785         (elmo-folder-open-internal): Ditto.
5786         (elmo-folder-newsgroups): Fix.
5787
5788 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5789
5790         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5791         for each message.
5792
5793         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5794         recent value is returned from imap folder.
5795
5796         * elmo.el (elmo-folder-newsgroups): New generic function.
5797
5798         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5799         (elmo-folder-initialize): Set it.
5800         (elmo-folder-expand-msgdb-path): Use it.
5801         (elmo-folder-newsgroups): Define.
5802
5803         * elmo-filter.el (elmo-folder-newsgroups): Define.
5804
5805         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5806
5807         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5808
5809         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5810
5811 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5812
5813         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5814         user option.
5815         (elmo-shimbun-header-extra-field): New inline function.
5816         (elmo-shimbun-header-set-extra-field): Ditto.
5817         (elmo-shimbun-folder-header-hash-setup): Ditto.
5818         (elmo-shimbun-update-overview): Ditto.
5819         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5820         (elmo-shimbun-folder-setup): Use
5821         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5822         (elmo-shimbun-get-headers): Ditto.
5823         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5824         Insert `X-Shimbun-Id:' header if extra field is set.
5825         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5826         field's value instead of `shimbun-header-id'.
5827
5828         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5829         inline function.
5830         (elmo-msgdb-overview-entity-set-date): Ditto.
5831         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5832
5833 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5834
5835         * mmimap.el (mmimap-entity-section): Changed body node number from
5836         "0" to "1".
5837
5838 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5839
5840         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5841         `elmo-folder-delete-messages'.
5842
5843         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5844         (elmo-folder-initialize): Changed to expand alias into index path.
5845
5846         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5847         `elmo-mime-insert-header-from-buffer' with 6th arg
5848         `sorted-fields'.
5849
5850 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5851
5852         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5853
5854         * elmo.el (elmo-diff-new): New inline function.
5855         (elmo-diff-unread): Ditto.
5856         (elmo-diff-all): Ditto.
5857
5858         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5859         value from responseb.
5860         (elmo-imap4-folder-diff-plugged): Ditto.
5861         (elmo-imap4-server-diff-async): Added recent argument.
5862         (elmo-server-diff-async): Ditto.
5863         (elmo-imap4-folder-diff-plugged): Ditto.
5864
5865         * elmo-version.el (elmo-version): Up to 2.7.6.
5866
5867 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5868
5869         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5870         in quoted-stirng.
5871
5872 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5873
5874         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5875
5876         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5877
5878         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5879
5880         * elmo-multi.el (elmo-folder-initialize): Ditto.
5881
5882         * elmo-util.el (elmo-parse-token): New function.
5883         (elmo-parse-prefixed-element): Ditto.
5884
5885 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5886
5887         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5888         delete process.
5889         (elmo-imap4-accept-ok): Ditto.
5890
5891 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5892
5893         * mmimap.el (mime-imap-entity-header-string): Don't check first
5894         element of node-id is `0' (Follow last change).
5895
5896 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5897
5898         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5899         assigned irregular node-id to nested multipart section.
5900         (initialize-instance): Followed above change.
5901
5902 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5903
5904         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5905         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5906         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5907         `elmo-shimbun-get-headers');
5908         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5909         visible article on summary exists in headers).
5910         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5911
5912 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5913
5914         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5915         definition.
5916
5917 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5918
5919         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5920
5921 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5922
5923         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5924         header separator into loop condition.
5925
5926 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5927
5928         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5929         Return duplicate folder if it has subfolder.
5930
5931 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5932
5933         * elmo.el (elmo-make-folder): Add folder name error check.
5934
5935         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5936         (elmo-nntp-encode-group-string): New inline function.
5937         (elmo-nntp-decode-group-string): Ditto.
5938         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5939         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5940         Use `not' instead of `null';
5941         Use elmo-nntp-decode-group-string.
5942
5943         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5944
5945         * elmo-version.el (elmo-version): Up to 2.7.5.
5946
5947 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5948
5949         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5950         Hide progress gauge if `elmo-folder-move-messages' exits
5951         nonlocally.
5952
5953 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5954
5955         * elmo-imap4.el (elmo-folder-initialize): Use
5956         `elmo-imap4-encode-folder-string' for folder name.
5957
5958 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5959
5960         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5961         `done'.
5962
5963 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5964
5965         * elmo-util.el (elmo-progress-counter-alist): New internal
5966         variable.
5967         (elmo-progress-counter-value): New macro.
5968         (elmo-progress-counter-all-value): Ditto.
5969         (elmo-progress-counter-format): Ditto.
5970         (elmo-progress-counter-set-value): Ditto.
5971         (elmo-progress-set): New function.
5972         (elmo-progress-clear): Ditto.
5973         (elmo-progress-notify): Ditto.
5974
5975         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5976         counter.
5977
5978         * elmo.el (elmo-generic-folder-append-messages): Call
5979         `elmo-progress-notify'.
5980         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5981
5982         * elmo-archive.el (elmo-folder-append-messages): Call
5983         `elmo-progress-notify'.
5984
5985         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5986
5987         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5988
5989         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5990
5991 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5992
5993         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5994         'Create'.
5995         (elmo-message-encache-dop): Added argument `read'.
5996
5997         * elmo-shimbun.el (elmo-message-encache): Ditto.
5998
5999         * elmo-net.el (elmo-message-encache): Ditto.
6000
6001         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6002         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6003         elmo-imap4-seen-messages.
6004         (elmo-folder-msgdb-create-plugged): Initialize
6005         elmo-imap4-seen-messages;
6006         Set seen mark on elmo-imap4-seen-messages.
6007
6008         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6009
6010         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6011         elmo-folder-append-buffer.
6012         (elmo-folder-encache): Added optional argument `read'.
6013         (elmo-message-encache): Ditto.
6014
6015         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6016
6017         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6018
6019         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6020         if append buffer content succeds.
6021
6022 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6023
6024         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6025         elmo-display-progress.
6026
6027         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6028         Set 4th argument of mime-display-message.
6029         (elmo-mime-display-as-is): Ditto.
6030
6031 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6032
6033         * elmo-nmz.el (toplevel): Require 'mime-edit.
6034         (elmo-nmz-content-type-alist): Abolished.
6035         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6036         content is not a message.
6037         (elmo-map-message-fetch): Changed behavior exept for message content;
6038         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6039         content-type, Add From: and Subject: field.
6040
6041 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6042
6043         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6044         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6045         not a message.
6046
6047 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6048
6049         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6050         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6051
6052         * elmo-archive.el (elmo-folder-writable-p): Defined.
6053
6054         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6055
6056         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6057
6058         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6059
6060         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6061
6062         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6063
6064         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6065
6066         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6067
6068         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6069
6070 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6071
6072         * elmo-util.el (elmo-address-quote-specials): New function;
6073         Renamed from `wl-address-quote-specials'.
6074
6075 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6076
6077         * elmo-version.el (elmo-version): Up to 2.7.4.
6078
6079 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6080
6081         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6082
6083 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6084
6085         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6086         both compile-time and run-time to avoid byte-compile warning.
6087
6088 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6089
6090         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6091
6092 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6093
6094         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6095         option.
6096         (elmo-mime-display-as-is-internal): Use it.
6097
6098         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6099         if `read-passwd' is not defined.
6100
6101 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6102
6103         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6104         by original number.
6105         (elmo-folder-status): Call `elmo-folder-open-internal';
6106         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6107         (elmo-folder-close-internal): Set location-alist as nil.
6108         (elmo-folder-clear): Define.
6109         (elmo-folder-check): Don't set location-alist as nil.
6110
6111         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6112
6113 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6114
6115         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6116         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6117
6118         * mmimap.el (mime-imap-entity::requested): New slot.
6119         (mime-imap-location-fetch-entity-p): New generic function.
6120         (mime-decode-parameters): Define using `defun-maybe'.
6121         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6122         content-type structure.
6123         (mime-entity-body): Return empty body if
6124         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6125
6126         * elmo.el (elmo-message-displaying): New variable.
6127
6128         * elmo-mime.el (elmo-mime-message-display): Bind
6129         elmo-message-displaying as t.
6130
6131         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6132
6133 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6134
6135         * acap.el (acap-open): erase buffer before starting network process.
6136         (acap-store): Rewrite.
6137
6138 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6139
6140         * elmo-imap4.el (elmo-imap4-default-mailbox,
6141         elmo-imap4-default-server
6142         elmo-imap4-default-authenticate-type,
6143         elmo-imap4-default-user,
6144         elmo-imap4-default-port,
6145         elmo-imap4-default-stream-type,
6146         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6147
6148         * elmo-pop3.el (elmo-pop3-default-user,
6149         elmo-pop3-default-server,
6150         elmo-pop3-default-authenticate-type,
6151         elmo-pop3-default-port,
6152         elmo-pop3-default-stream-type,
6153         elmo-pop3-stream-type-alist): Ditto.
6154
6155         * elmo-nntp.el (elmo-nntp-default-server,
6156         elmo-nntp-default-user,
6157         elmo-nntp-default-port,
6158         elmo-nntp-default-stream-type,
6159         elmo-nntp-stream-type-alist): Ditto.
6160
6161         * elmo-vars.el: Follow changes above.
6162         (elmo-setting): New custom group; added 'elmo-setting group to
6163         above variables.
6164
6165         * elmo-version.el (elmo-version): Up to 2.7.3.
6166
6167         * acap.el (acap-parse-response): Don't delete process when BYE
6168         response (It causes hang-up on slow network environment).
6169         (toplevel): Added comment.
6170
6171 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6172
6173         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6174
6175         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6176         parsing NIL.
6177         (acap-parse-return-metadata): Ditto.
6178
6179         * slp.el: New file.
6180         (toplevel): Fixed typo.
6181
6182         * acap.el: New file.
6183         (acap-network-stream-open): Show "Connecting..." message.
6184         (acap-parse-response): Fixed problem for BYE untagged response.
6185         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6186         (toplevel): Added tiny comments.
6187
6188 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6189
6190         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6191         space delimiter for uidl response.
6192
6193 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6194
6195         * elmo-vars.el (elmo-use-semi): Eliminated.
6196
6197         * elmo-util.el (elmo-string-assoc-all): New function.
6198
6199 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6200
6201         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6202         property 'mime-preview-situation for `mime-preview-quit'.
6203
6204 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6205
6206         * elmo.el (elmo-message-fetch-with-cache-process): Call
6207         elmo-message-fetch-internal instead of causing an error when fetch
6208         strategy is 'entire but only 'section cache is available.
6209
6210 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6211
6212         * elmo-version.el (elmo-version): Up to 2.7.2.
6213
6214         * elmo.el (elmo-generic-folder-append-messages): Make
6215         fetch-strategy with `use-cache'.
6216
6217         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6218         (elmo-dop-queue-method-name): New macro.
6219
6220 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6221
6222         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6223         unbalanced parenthesis.
6224
6225 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6226
6227         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6228
6229 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6230
6231         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6232         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6233
6234 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6235
6236         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6237         local variables.
6238
6239 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6240
6241         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6242         (elmo-message-use-cache-p): Define.
6243         (elmo-folder-msgdb-create): Treat cache.
6244
6245 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6246
6247         * elmo-nntp.el (elmo-network-initialize-session): Call
6248         `elmo-nntp-send-mode-reader'.
6249         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6250
6251 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6252
6253         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6254         alist.
6255         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6256         assoc.
6257
6258         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6259         for `elmo-plugged-p'.
6260         (elmo-open-network-stream): Fixed stream-type argument.
6261
6262 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6263
6264         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6265         unknown archive type is specified.
6266
6267 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6268
6269         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6270
6271         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6272         while loading msgdb.
6273
6274         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6275         (elmo-folder-open-internal): Rewrite.
6276
6277 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6278
6279         * elmo-mime.el (elmo-mime-display-as-is-internal):
6280         Adjust buffer-multibyte status.
6281
6282 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6283
6284         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6285         of elmo-condition-find-key.
6286
6287         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6288         (elmo-condition-in-msgdb-p): Ditto.
6289         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6290         argument.
6291
6292 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6293
6294         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6295
6296 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6297
6298         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6299         label for elmo-display-progress.
6300
6301 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6302
6303         * elmo.el (elmo-folder-clear): New method.
6304         (elmo-folder-clear): Define.
6305         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6306
6307         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6308         (elmo-folder-clear): Define.
6309
6310         * elmo-map.el (elmo-folder-clear): Define.
6311
6312         * elmo-version.el (elmo-version): Up to 2.7.1.
6313
6314 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6315
6316         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6317         updates.
6318
6319 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6320
6321         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6322         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6323
6324 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6325
6326         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6327
6328         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6329         and re-written.
6330
6331         * elmo-imap4.el (elmo-folder-initialize): Use
6332         elmo-get-network-stream-type.
6333
6334         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6335
6336         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6337
6338 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6339
6340         * elmo.el (elmo-message-encache): Set unread argument for
6341         elmo-message-fetch.
6342
6343         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6344
6345         * elmo.el (elmo-net-port-info): New method.
6346
6347         * elmo-shimbun.el (elmo-net-port-info): Define.
6348         (elmo-message-encache): Ditto.
6349
6350         * elmo-net.el (elmo-net-port-info): Define as method.
6351
6352         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6353         unplugged status when elmo-enable-disconnected-operation is t.
6354
6355         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6356         of spool folder before checking new number.
6357
6358 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6359
6360         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6361         (elmo-network-setup-session): Ditto.
6362         (elmo-message-fetch-plugged): Ditto.
6363         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6364         (elmo-network-initialize-session): Ditto.
6365         (elmo-pop3-read-response): Abolish 3rd argument.
6366         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6367         (elmo-pop3-read-contents): Ditto.
6368         (elmo-pop3-read-body): Ditto.
6369         (elmo-folder-status): Call elmo-folder-close.
6370         (elmo-pop3-lock): Abolish.
6371         (elmo-pop3-unlock): Ditto.
6372         (elmo-pop3-locked-p): Ditto.
6373         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6374
6375 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6376
6377         * elmo-version.el (elmo-version): Up to 2.7.0.
6378
6379         * elmo-pop3.el (elmo-pop3-debug): New variable.
6380         (elmo-pop3-debug-inhibit-logging): Ditto.
6381         (elmo-pop3-debug): New function.
6382         (elmo-pop3-send-command): Call elmo-pop3-debug.
6383         (elmo-pop3-read-response): Added keep-lock optional argument;
6384         Don't unlock if keep-lock is non-nil.
6385         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6386         (elmo-network-authenticate-session): Bind
6387         elmo-pop3-debug-inhibit-logging as t.
6388         (elmo-network-setup-session): Call elmo-pop3-read-response with
6389         keep-lock argument.
6390         (elmo-pop3-read-msg): Ditto.
6391         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6392         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6393         (elmo-network-initialize-session): Call elmo-pop3-lock.
6394         (elmo-folder-close-internal): Don't clear location-alist slot.
6395         (elmo-folder-check): Clear location-alist slot.
6396
6397 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6398
6399         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6400         (elmo-pop3-send-command): Call elmo-pop3-lock.
6401         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6402         (elmo-pop3-read-contents): Ditto.
6403         (elmo-pop3-lock): New function.
6404         (elmo-pop3-unlock): Ditto.
6405         (elmo-pop3-locked-p): Ditto.
6406         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6407         returns t.
6408
6409 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6410
6411         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6412
6413         * elmo-util.el (elmo-file-field-primitive-condition-match):
6414         New inline function (Don't fetch file content if "first" or "last").
6415         (elmo-file-field-condition-match): Use
6416         elmo-file-field-primitive-condition-match.
6417
6418         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6419         "first".
6420
6421         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6422         (elmo-message-fetch-plugged): Fixed.
6423
6424         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6425
6426 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6427
6428         * elmo.el (elmo-folder-move-messages): Bind
6429         elmo-inhibit-display-retrieval-progress as t while moving messages.
6430
6431         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6432         New variable.
6433         (elmo-inhibit-display-retrieval-progress): Ditto.
6434
6435         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6436         for retrieval progress;
6437         Don't display progress when total buffer size is smaller than
6438         elmo-display-retrieval-progress-threshold.
6439         (elmo-message-fetch-plugged): Don't display progress when
6440         elmo-inhibit-display-retrieval-progress is non-nil.
6441
6442         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6443         for retrieval progress;
6444         Don't display progress when literal size is smaller than
6445         elmo-display-retrieval-progress-threshold.
6446         (elmo-imap4-message-fetch): Don't display progress when
6447         elmo-inhibit-display-retrieval-progress is non-nil.
6448
6449 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6450
6451         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6452         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6453         (elmo-imap4-message-fetch): Likewise.
6454
6455         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6456         (elmo-shimbun-index-range-alist): Ditto.
6457         (elmo-shimbun-use-entire-index): Abolish.
6458         (shimbun-mua-use-entire-index): Ditto.
6459         (elmo-shimbun-folder): Added new slot `range'.
6460         (elmo-folder-initialize): Setup slot `range'.
6461
6462 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6463
6464         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6465         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6466         (elmo-shimbun-get-headers): Use return value of
6467         `shimbun-article-expiration-days'.
6468         (elmo-folder-close-internal): Clean up last-check slot.
6469
6470         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6471         (elmo-pop3-total-size): New variable.
6472         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6473
6474         * elmo.el (elmo-folder-reserve-status-p): New method.
6475
6476         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6477         (elmo-shimbun-use-entire-index): New user option.
6478         (shimbun-elmo-mua): New class.
6479         (shimbun-mua-search-id): Define.
6480         (shimbun-mua-use-entire-index): Ditto.
6481         (elmo-shimbun-folder:last-check): New slot.
6482         (elmo-shimbun-headers-cache-header-list): Abolish.
6483         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6484         (elmo-shimbun-headers-cache-header-hash): Ditto.
6485         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6486         (elmo-shimbun-headers-cache-last-check): Ditto.
6487         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6488         (elmo-shimbun-headers-check-p): Rewrite.
6489         (elmo-shimbun-msgdb-to-headers): New function.
6490         (elmo-shimbun-get-headers): Rewrite.
6491         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6492         (elmo-folder-open-internal): Get headers only if
6493         `elmo-shimbun-headers-check-p' is non-nil.
6494         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6495         is non-nil.
6496         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6497         (elmo-quit): Removed.
6498
6499         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6500         function.
6501         (elmo-msgdb-overview-entity-set-extra): Ditto.
6502         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6503
6504         * elmo-map.el (elmo-folder-status): Don't call
6505         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6506         is non-nil.
6507
6508 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6509
6510         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6511         of `elmo-msgdb-search-internal-primitive' when condition's car is
6512         `and' or `or'.
6513
6514 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6515
6516         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6517
6518 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6519
6520         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6521         call `elmo-pipe-drain'.
6522
6523 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6524
6525         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6526         typo. (elmo-cache-folder -> elmo-mark-folder)
6527
6528 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6529
6530         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6531         `elmo-message-fetch'.
6532
6533 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6534
6535         * elmo-net.el (elmo-message-encache): Fixed typo.
6536         (elmo-message-fetch-unplugged): Changed call
6537         `elmo-message-fetch-internal' without argument `outbuf'.
6538
6539 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6540
6541         * elmo.el (elmo-message-encache): Define as generic function.
6542         (elmo-message-fetch-field): New generic function.
6543         (elmo-message-fetch-with-cache-process): Cause an error when
6544         fetch strategy is 'entire but only 'section cache is available.
6545         (toplevel): Fixed nmz folder definition.
6546
6547         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6548         (elmo-msgdb-resume-list-filename): Ditto.
6549         (elmo-queue-filename): Ditto.
6550         (elmo-enable-disconnected-operation): Changed default value to t.
6551
6552         * elmo-util.el (elmo-cache-path-section-p): New function.
6553         (elmo-file-cache-get): Use it.
6554         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6555         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6556         (elmo-dop-queue-save): Ditto.
6557
6558         * elmo-net.el (elmo-folder-status-unplugged): Call
6559         elmo-folder-status-dop.
6560         (elmo-folder-list-messages-unplugged): Implemented.
6561         (elmo-folder-delete-messages-unplugged): Define.
6562         (elmo-folder-msgdb-create): Define.
6563         (elmo-folder-msgdb-create-unplugged): Define.
6564         (elmo-folder-mark-as-read-unplugged): Ditto.
6565         (elmo-folder-unmark-read-unplugged): Ditto.
6566         (elmo-folder-mark-as-important-unplugged): Ditto.
6567         (elmo-folder-unmark-important-unplugged): Ditto.
6568         (elmo-message-encache): Ditto.
6569
6570         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6571         (elmo-dop-queue-save): Ditto.
6572
6573         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6574         `elmo-folder-msgdb-create'.
6575         (elmo-folder-append-buffer): Implemented unplugged operation.
6576         (elmo-folder-append-messages): Call parent method in unplugged status.
6577         (elmo-message-fetch-unplugged): Removed definition.
6578         (elmo-message-fetch-field): Implemented.
6579
6580         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6581         (elmo-dop-folder): Removed variable definition.
6582         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6583         (elmo-dop-queue-flush): Implemented.
6584         (elmo-dop-queue-merge): Removed definition (TODO).
6585         (elmo-dop-spool-folder): New function.
6586         (elmo-dop-spool-folder-append-buffer): Ditto.
6587         (elmo-dop-spool-folder-list-messages): Ditto.
6588         (elmo-dop-list-deleting-messages): Ditto.
6589         (elmo-folder-append-buffer-dop): Ditto.
6590         (elmo-folder-delete-messages-dop): Ditto.
6591         (elmo-message-encache-dop): New inline function.
6592         (elmo-create-folder-dop): Ditto.
6593         (elmo-folder-mark-as-read-dop): Ditto.
6594         (elmo-folder-unmark-read-dop): Ditto.
6595         (elmo-folder-mark-as-important-dop): Ditto.
6596         (elmo-folder-unmark-important-dop): Ditto.
6597         (elmo-folder-status-dop): Fixed.
6598         (elmo-folder-append-buffer-dop-delayed): New function.
6599         (elmo-folder-delete-messages-dop-delayed): Ditto.
6600         (elmo-dop-msgdb): Ditto.
6601
6602 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6603
6604         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6605
6606 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6607
6608         * elmo.el (elmo-folder-move-messages): Fixed problem when
6609         `dst-folder' is 'null.
6610
6611 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6612
6613         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6614         instead of current mark.
6615
6616         * elmo-multi.el (elmo-folder-list-importants-internal): No
6617         operation if importants is not list.
6618
6619         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6620         Return t if importants is not list.
6621
6622         * elmo-map.el (elmo-map-folder-list-importants): Define.
6623         (elmo-folder-list-importants-internal): Check return value of
6624         `elmo-map-folder-list-importants-internal'.
6625
6626         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6627
6628         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6629
6630         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6631
6632         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6633
6634 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6635
6636         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6637         (Patch is provided by <kita@coe.nttdata.co.jp>).
6638
6639 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6640
6641         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6642         mark folder.
6643
6644 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6645
6646         * elmo.el (elmo-message-fetch): Define.
6647         (elmo-message-fetch-with-cache-process): New generic method.
6648         (elmo-message-fetch-internal): New generic method.
6649         (elmo-folder-synchronize):
6650
6651         * elmo-archive.el (elmo-message-fetch-internal): Define.
6652         (elmo-message-fetch): Eliminated.
6653
6654         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6655         (elmo-message-fetch): Eliminated.
6656
6657         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6658         argument OUTBUF.
6659         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6660
6661         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6662         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6663
6664         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6665         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6666
6667         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6668
6669         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6670
6671         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6672
6673         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6674         (elmo-message-fetch-unplugged): New generic method.
6675         (elmo-message-fetch-internal): Remove cache process (Renamed from
6676         `elmo-message-fetch').
6677
6678         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6679         (elmo-message-fetch): Eliminated.
6680         (elmo-message-fetch-unplugged): Ditto.
6681
6682         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6683
6684 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6685
6686         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6687         of `to-be-deleted' from number-alist to number-list.
6688
6689 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6690
6691         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6692         (elmo-folder-mark-as-important): Ditto.
6693
6694 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6695
6696         * elmo.el (elmo-folder): Added process-duplicates slot.
6697
6698         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6699         (elmo-folder-unmark-read): Ditto.
6700         (elmo-folder-unmark-important): Ditto.
6701         (elmo-folder-mark-as-important): Ditto.
6702
6703         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6704         duplicated message processing.
6705
6706         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6707
6708 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6709
6710         * elmo-util.el (elmo-list-subdirectories-1): New function.
6711         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6712         (elmo-mapcar-list-of-list): New function.
6713
6714         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6715         `elmo-mapcar-list-of-list' instead of `mapcar'.
6716
6717         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6718
6719         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6720         `elmo-have-link-count'. Return the fully qualified folder name.
6721
6722 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6723
6724         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6725         (elmo-shimbun-headers-cache): New internal variable.
6726         (elmo-shimbun-headers-cache-header-list): New inline function.
6727         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6728         (elmo-shimbun-headers-cache-header-hash): Ditto.
6729         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6730         (elmo-shimbun-headers-cache-last-check): Ditto.
6731         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6732         (elmo-shimbun-lapse-seconds): Ditto.
6733         (elmo-shimbun-headers-cache-check-p): Ditto.
6734         (elmo-shimbun-get-headers): New function.
6735         (elmo-folder-open-internal): Call it.
6736         (elmo-quit): Define (Clear headers-cache).
6737
6738 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6739
6740         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6741
6742         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6743         (elmo-msgdb-flist-save): Ditto.
6744
6745         * elmo-shimbun.el (elmo-folder-list-subfolders):
6746         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6747         (elmo-folder-exists-p): Ditto.
6748
6749         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6750         argument for `shimbun-header-insert'.
6751
6752 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6753
6754         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6755         at first time.
6756
6757         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6758         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6759
6760 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6761
6762         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6763         (elmo-folder-plugged-p): Define.
6764         (elmo-folder-set-plugged): Ditto.
6765         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6766         (elmo-folder-list-messages-internal): Return t if unplugged.
6767         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6768
6769         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6770         when elmo-folder-list-messages-internal method of children returns t.
6771
6772         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6773         pair is nil.
6774         (elmo-folder-open-internal): Don't update if unplugged status.
6775
6776 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6777
6778         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6779         new message.
6780
6781 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6782
6783         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6784
6785         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6786         saving.
6787
6788 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6789
6790         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6791
6792         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6793         (elmo-folder-open-internal): Set up headers slot.
6794         (elmo-folder-check): Call elmo-folder-close-internal and
6795         elmo-folder-open-internal.
6796         (elmo-folder-close-internal): Clean up headers slot.
6797
6798 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6799
6800         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6801         exactly folder list.
6802         (elmo-folder-append-messages): Fixed append archive with prefix.
6803
6804         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6805         make temp files with start-number.
6806
6807         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6808
6809 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6810
6811         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6812         argument `visible-only'.
6813         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6814         instead of `if'.
6815
6816         * elmo-pop3.el (elmo-folder-open-internal): Check
6817         `elmo-inhibit-number-mapping' is non-nil.
6818
6819         * elmo-pipe.el (elmo-folder-status): Fixed.
6820
6821 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6822
6823         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6824
6825         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6826         (elmo-folder-open-internal): Setup `header-hash' slot.
6827         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6828         information.
6829         (elmo-map-message-fetch): Ditto.
6830
6831 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6832
6833         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6834         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6835         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6836         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6837
6838         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6839
6840 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6841
6842         * sb-airs.el: Added footer.
6843
6844         * shimbun.el (shimbun-article): Define as luna-method.
6845
6846         * sb-tcup.el: New file.
6847
6848         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6849         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6850
6851 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6852
6853         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6854         (shimbun-get-headers): Ditto.
6855
6856         * elmo.el: Moved obsolete variable definitions from
6857         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6858
6859         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6860         groups.
6861
6862         * shimbun.el: New file.
6863
6864         * elmo-shimbun.el: New file.
6865
6866         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6867         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6868         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6869         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6870
6871 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6872
6873         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6874         hierarchy is t.
6875
6876 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6877
6878         * elmo.el (elmo-folder-msgdb): Define as macro.
6879         (elmo-folder-open): Added argument `load-msgdb'.
6880         (elmo-generic-folder-open): Ditto.
6881         (elmo-folder-encache): New function.
6882
6883         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6884
6885         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6886
6887         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6888         Eliminated argument FOLDER and added argument MSGDB.
6889         (elmo-dop-queue-load): Moved from elmo-dop.el.
6890         (elmo-dop-queue-save): Ditto.
6891
6892         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6893
6894         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6895
6896         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6897         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6898         (elmo-filter-folder-list-importants-internal): Ditto.
6899
6900         * elmo-map.el (elmo-folder-pack-number): Ditto.
6901
6902         * elmo-mime.el (elmo-mime-message-display): Ditto.
6903
6904         * elmo.el (elmo-generic-folder-commit): Ditto.
6905         (elmo-folder-list-unreads): Ditto.
6906         (elmo-folder-list-importants): Ditto.
6907         (elmo-generic-folder-commit): Ditto.
6908         (elmo-message-set-mark): Ditto.
6909         (elmo-generic-folder-append-msgdb): Ditto.
6910         (elmo-folder-synchronize): Ditto.
6911         (elmo-folder-messages): Ditto.
6912         (elmo-init): Call elmo-dop-queue-load.
6913         (elmo-folder-list-messages): Ditto.
6914
6915         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6916         (elmo-nntp-folder-process-crosspost): Ditto.
6917         (elmo-folder-list-unreads-internal): Ditto.
6918
6919         * elmo-dop.el: Removed old functions.
6920
6921 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6922
6923         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6924         `folder' to `msgdb'.
6925
6926 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6927
6928         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6929         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6930
6931         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6932         case-fold-search.
6933
6934 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6935
6936         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6937         defined.
6938
6939         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6940         (mmimap-parse-parameters-from-list): Define as alias for
6941         `mime-decode-parameter-plist' if it is defined as function.
6942         (mmimap-make-mime-entity): Added argument `number'.
6943         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6944         as 0.
6945         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6946
6947         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6948
6949         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6950
6951         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6952
6953 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6954
6955         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6956
6957         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6958         when elmo-imap4-default-authenticate-type is nil.
6959         (elmo-folder-list-subfolders): Ditto
6960         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6961         (elmo-imap4-fetch-callback-1-subr): Renamed from
6962         `elmo-imap4-fetch-callback-1' and define as inline function.
6963         (elmo-imap4-fetch-callback-1):
6964         Renamed from `elmo-imap4-fetch-callback'.
6965         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6966
6967         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6968         msgdb path (To keep compatibility with main trunk).
6969
6970         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6971
6972         * elmo-util.el (elmo-make-file-cache): Moved position of
6973         some macros.
6974
6975         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6976         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6977         instead of `elmo-pop3-inhibit-uidl'.
6978         (elmo-folder-exists-p): Ditto.
6979         (elmo-pop3-folder-list-messages): Ditto.
6980
6981         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6982         instead of `elmo-pop3-inhibit-uidl'.
6983         (elmo-folder-status): Ditto.
6984
6985         * elmo-dop.el (elmo-dop-folder): New variable.
6986         (elmo-dop-lock-message): Eliminated.
6987         (elmo-dop-unlock-message): Ditto.
6988         (elmo-dop-lock-list-load): Ditto.
6989         (elmo-dop-lock-list-save): Ditto.
6990         (elmo-dop-delete-folder): Ditto.
6991         (elmo-dop-rename-folder): Ditto.
6992
6993         * elmo.el: Removed incomplete commentary.
6994
6995 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6996
6997         * elmo.el (toplevel): Require 'elmo-version first;
6998         for little `recursive-load-depth' settings.
6999         Fix "ends here" comment.
7000
7001 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7002
7003         * elmo-util.el (toplevel): Require 'poem;
7004         Some functions are moved from elmo-cache.el.
7005
7006         * elmo-net.el (toplevel): Require 'elmo-cache.
7007
7008         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7009
7010         * elmo.el (toplevel): Ditto.
7011
7012         * elmo-cache.el: Rewrite with luna;
7013         Some functions are moved to elmo-util.el.
7014
7015         * elmo-internal.el (elmo-internal-folder-list): New variable.
7016         (elmo-internal-folder-initialize): Rewrite.
7017         (elmo-folder-list-subfolders): Ditto.
7018
7019         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7020         (elmo-cache-collect-sub-directories): Ditto.
7021
7022 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7023
7024         * elmo-version.el (elmo-version): Up to 2.5.8.
7025
7026         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7027
7028         * elmo-util.el (elmo-list-insert): New function.
7029
7030 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7031
7032         * elmo.el (elmo-init): New function.
7033         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7034
7035         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7036         (Renamed from `elmo-localdir-header-chop-length').
7037
7038         * elmo-pop3.el (elmo-pop3-use-cache,
7039         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7040
7041         * elmo-nntp.el (elmo-message-fetch): Define.
7042         (elmo-message-fetch-unplugged): Ditto.
7043         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7044         (elmo-nntp-use-cache): Ditto.
7045         (elmo-nntp-max-number-precedes-list-active): Ditto.
7046
7047         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7048
7049         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7050         `elmo-msgdb-insert-file-header'.
7051         Use `elmo-msgdb-file-header-chop-length'.
7052
7053         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7054         `elmo-vars.el'.
7055
7056         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7057         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7058         `elmo-msgdb-insert-file-header'.
7059
7060         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7061         Use new variable;
7062         Define obsolete variables with `elmo-define-obsolete-variable',
7063
7064         * elmo-util.el (elmo-warning-buffer-name): New constant.
7065         (elmo-warning): New function.
7066         (elmo-obsolete-variable-alist): New variable.
7067         (elmo-obsolete-variable-show-warnings): New variable.
7068         (elmo-define-obsolete-variable): New function.
7069         (elmo-resque-obsolete-variable): Ditto.
7070         (elmo-resque-obsolete-variables): Ditto.
7071
7072 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7073
7074         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7075         Eliminated.
7076
7077         * elmo-pop3.el, elmo-nntp.el: Use custom.
7078
7079 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7080
7081         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7082         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7083
7084 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7085
7086         * Luna-fy Kenichi OKADA's following changes.
7087         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7088         `nohide'.
7089         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7090
7091 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7092
7093         * elmo-util.el (elmo-display-progress): Prefer
7094         `progress-feedback-with-label' to `lprogress-display'.
7095
7096 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7097
7098         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7099
7100 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7101
7102         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7103         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7104         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7105         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7106         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7107         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7108         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7109         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7110         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7111         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7112         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7113         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7114         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7115
7116 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7117
7118         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7119         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7120
7121 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7122
7123         * elmo.el (elmo-folder-process-crosspost): New generic method.
7124         (elmo-folder-writable-p): Ditto.
7125         (elmo-folder-message-appendable-p): Eliminated.
7126         (elmo-generic-folder-append-msgdb): Rewrite.
7127         (elmo-newsgroups-hashtb): New internal variable.
7128         (elmo-crosspost-message-set): Eliminated.
7129         (elmo-crosspost-message-delete): Ditto.
7130         (elmo-setup-subscribed-newsgroups): New function.
7131         (elmo-crosspost-message-alist-modified): New internal variable.
7132         (elmo-crosspost-message-alist-load): New function (Renamed from
7133         `wl-crosspost-alist-load').
7134         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7135         `wl-crosspost-alist-save').
7136
7137         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7138
7139         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7140         `unreads'.
7141         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7142         elmo-newsgroups-hashtb).
7143         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7144         `elmo-nntp-folder-update-crosspost-message-alist'.
7145         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7146         `elmo-nntp-groups-hashtb'.
7147         (elmo-nntp-make-groups-hashtb): Eliminated.
7148         (elmo-nntp-parse-newsgroups): New function (Renamed from
7149         `wl-parse-newsgroups').
7150         (elmo-folder-creatable-p, elmo-folder-writable-p,
7151         elmo-folder-close-internal, elmo-folder-mark-as-read,
7152         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7153         Define.
7154         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7155
7156         * elmo-net.el (elmo-message-fetch): Check buffer size.
7157
7158         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7159
7160         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7161
7162         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7163         before `close' command.
7164
7165         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7166         `mark-alist' (All other related portions are changed).
7167
7168 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7169
7170         * elmo-util.el (elmo-create-hash-size): Eliminated.
7171         (elmo-make-hash) Make a hash with `one less than a power of two'
7172         length.
7173
7174         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7175         (elmo-hash-maximum-size): Changed value.
7176
7177 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7178
7179         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7180         (elmo-mime-message-display-as-is): Ditto.
7181
7182 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7183
7184         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7185         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7186
7187 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7188
7189         * elmo-mark.el: New file.
7190
7191         * elmo-internal.el: Rewrite (Almost empty).
7192
7193 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7194
7195         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7196         (mime-imap-entity-header-string): Ditto.
7197         (mmimap-entity-section): Rewrite.
7198
7199 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7200
7201         * elmo-nmz.el: New file.
7202
7203         * elmo-pipe.el: Rewrite with luna.
7204
7205 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7206
7207         * elmo-archive.el: Rewrite with luna.
7208
7209         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7210         (elmo-folder-list-importants-internal): Ditto.
7211
7212 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7213
7214         * elmo-archive.el (elmo-archive-version): Abolish.
7215         (toplevel) Removed `boso' comment.
7216
7217 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7218
7219         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7220         elmo-msgdb-add-msgs-to-seen-list-subr;
7221         Changed argument seen-marks to unread-marks.
7222
7223         * elmo-nntp.el: Rewrite with luna.
7224
7225 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7226
7227         * elmo-filter.el: Rewrite with luna.
7228
7229 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7230
7231         * elmo-pop3.el: Rewrite with luna.
7232
7233 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7234
7235         * elmo-multi.el: Rewrite with luna.
7236
7237         * elmo-vars.el (elmo-use-killed-list): Abolish.
7238         All other related portions are changed.
7239         (elmo-filename-replace-string-alist): Renamed from
7240         elmo-msgid-replace-string-alist.
7241
7242 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7243
7244         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7245
7246         * elmo-map.el: New file.
7247         * elmo-maildir.el: Rewrite with luna.
7248
7249 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7250
7251         * elmo.el: Changed meaning of `elmo-folder-commit'.
7252         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7253
7254 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7255
7256         * elmo.el (elmo-folder-append-buffer): New function.
7257         (Renamed from `elmo-append-msg')
7258
7259 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7260
7261         * elmo-mime.el: New file.
7262
7263 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7264
7265         * elmo-cache.el: Rewrite.
7266
7267 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7268
7269         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7270
7271 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7272
7273         * elmo-vars.el (elmo): New group.
7274         (elmo-strict-diff-folder-regexp): New variable.
7275
7276         * elmo-util.el (elmo-call-func): Abolish.
7277         (elmo-folder-get-type): Ditto.
7278         (elmo-*-get-spec): Ditto.
7279         (elmo-*-spec-*): Ditto.
7280         (elmo-imap4-identical-name-space-p): Ditto.
7281         (elmo-folder-identical-system-p): Ditto.
7282         (elmo-folder-direct-copy-alist): Ditto.
7283         (elmo-folder-direct-copy-p): Ditto.
7284
7285         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7286         (elmo-folder-initialize): Define.
7287         (elmo-folder-get-primitive-list): Ditto.
7288
7289         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7290         (elmo-folder-initialize): Define.
7291         Renamed `elmo-network-session-host-internal' to
7292         `elmo-network-session-server-internal'.
7293
7294         * elmo-multi.el (elmo-multi-folder): New luna class.
7295         (elmo-folder-initialize): Define.
7296         (elmo-folder-get-primitive-list): Ditto.
7297         (elmo-folder-contains-type): Ditto.
7298         (elmo-message-use-cache-p): Ditto.
7299
7300         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7301         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7302
7303         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7304         (elmo-folder-initialize): Define.
7305
7306         * elmo-filter.el (elmo-filter-folder): New luna class.
7307         (elmo-folder-initialize): Define.
7308         (elmo-folder-get-primitive-list): Ditto.
7309         (elmo-folder-contains-type): Ditto.
7310
7311 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7312
7313         * elmo-imap4.el: Rewrite with luna.
7314
7315         * mmimap.el: New file.
7316
7317         * mmelmo.el, mmelmo-imap4.el: Removed.
7318
7319         * elmo-net.el: Ditto.
7320
7321         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7322         (elmo-folder-initialize): Define.
7323
7324         * elmo-archive.el (elmo-archive-folder): New luna class.
7325         (elmo-folder-initialize): Define.
7326
7327         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7328         `elmo-folder-msgdb-path'.
7329         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7330         `elmo-make-folder'.
7331
7332 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7333
7334         * elmo.el: New file.
7335
7336         * elmo2.el: Renamed to elmo.el.
7337
7338 \f
7339 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7340
7341         * elmo-cache.el (elmo-cache-expire-by-size): Count
7342         a disk usage for a cache file entry in KB even when
7343         its kind is a directory.
7344
7345 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7346
7347         * elmo-version.el (elmo-version): Up to 2.5.7.
7348
7349 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7350
7351         * elmo-version.el (elmo-version): Up to 2.5.6.
7352
7353 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7354
7355         * elmo-version.el (elmo-version): Up to 2.5.5.
7356
7357 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7358
7359         * elmo-imap4.el (elmo-network-authenticate-session):
7360         Fixed a logic for response checking.
7361
7362 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7363
7364         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7365         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7366         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7367         `sasl-mechanisms'.
7368
7369         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7370         for `starttls-open-stream' and `starttls-negotiate'.
7371
7372         * elmo-nntp.el: Remove autoload settings for
7373         `starttls-open-stream' and `starttls-negotiate'.
7374
7375         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7376         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7377         `luna-define-class' with `eval-and-compile'.
7378
7379 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7380
7381         * elmo-util.el (elmo-read-search-condition-internal):
7382         Require an element of table for searching field.
7383
7384 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7385
7386         * elmo-version.el (elmo-version): Up to 2.5.4.
7387
7388 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7389
7390         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7391
7392 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7393
7394         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7395
7396 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7397
7398         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7399         before greeting.
7400
7401 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7402
7403         * elmo-imap4.el (elmo-imap4-delete-folder):
7404         Send "close" before "delete" (Use commented out line).
7405         (elmo-imap4-rename-folder): Ditto.
7406
7407         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7408         folder string itself.
7409         (elmo-dop-list-deleted): New function.
7410         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7411         killed.
7412
7413         * elmo-util.el (elmo-string-rassoc-all): New function.
7414
7415 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7416
7417         * elmo-version.el (elmo-version): Up to 2.5.3.
7418
7419         * elmo-net.el (elmo-network-get-session): Changed logic for
7420         checking process status.
7421
7422         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7423         process is nil;
7424         Changed logic for checking process status.
7425
7426 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7427
7428         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7429         before greeting.
7430         (elmo-network-setup-session): Set UIDL hash size according to
7431         the length of list response.
7432         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7433         according to the length of list response;
7434         Return the length of list response.
7435         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7436
7437 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7438
7439         * elmo-imap4.el (toplevel): Require 'ssl.
7440         Add autoload 'starttls.
7441         * elmo-pop3.el (toplevel): Ditto.
7442         * elmo-nntp.el (toplevel): Ditto.
7443
7444 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7445
7446         * elmo-imap4.el (toplevel): defun at compile time.
7447         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7448         sasl-next-step, sasl-step-data, sasl-step-set-data.
7449         * elmo-pop3.el (toplevel): Ditto.
7450
7451 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7452
7453         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7454
7455 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7456
7457         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7458         if error.
7459         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7460         and `elmo-pop-auth-apop'.
7461
7462 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7463
7464         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7465
7466 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7467
7468         * elmo-pop3.el (elmo-network-authenticate-session): Split
7469         encoded response value.
7470
7471 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7472
7473         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7474         `elmo-pop3-force-login'.
7475         Redefine `sasl-mechanisms'.
7476         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7477
7478 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7479
7480         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7481         Delete `elmo-imap4-authenticator-alist'.
7482         (elmo-imap4-auth-cram-md5): Delete.
7483         (elmo-imap4-auth-digest-md5): Delete.
7484
7485 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7486
7487         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7488         (elmo-pop3-auth-scram-md5): Ditto.
7489         (elmo-pop3-auth-cram-md5): Ditto.
7490
7491 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7492
7493         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7494         Delete `elmo-pop3-authenticator-alist'.
7495
7496 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7497
7498         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7499         new SASL API.
7500         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7501
7502 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7503
7504         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7505
7506 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7507
7508         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7509         Fixed problem when `elmo-pop3-use-uidl' is nil.
7510         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7511
7512 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7513
7514         * elmo-version.el (elmo-version): Up to 2.5.2.
7515
7516 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7517
7518         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7519         New function.
7520         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7521         (elmo-pop3-msgdb-create-as-numlist): Use it.
7522
7523         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7524         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7525
7526         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7527         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7528
7529 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7530
7531         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7532         when elmo-mark-as-read is called with second argument nil.
7533
7534 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7535
7536         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7537         Moved to elmo-util.el.
7538
7539         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7540         Moved from elmo-pipe.el
7541
7542         * elmo-archive.el (elmo-archive-call-process): Enclose with
7543         static-if.
7544
7545         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7546         "RFC822" (because RFC822.PEEK is obsolete).
7547         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7548
7549 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7550
7551         * elmo-archive.el (elmo-archive-call-process): Don't check for
7552         the exit status when Nemacs is running.
7553
7554 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7555
7556         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7557         'plain.
7558
7559         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7560         (elmo-pop3-get-spec): Set default of auth to 'user.
7561
7562         * elmo-imap4.el (elmo-imap4-session-check):
7563         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7564         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7565         (elmo-imap4-auth-login): New function; Revival.
7566         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7567         `elmo-imap4-auth-login'.
7568
7569 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7570
7571         * elmo2.el (toplevel): Move `product-provide' declare.
7572         * mmelmo.el (toplevel): Ditto.
7573
7574 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7575
7576         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7577
7578 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7579
7580         * elmo-util.el (elmo-folder-get-store-type): New function.
7581         (elmo-folder-direct-copy-p): Use it.
7582
7583 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7584
7585         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7586         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7587         and result of `elmo-imap4-use-flag-p'.
7588         (elmo-imap4-fetch-callback-1): Set mark according to
7589         the result of `elmo-imap4-use-flag-p'.
7590
7591 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7592
7593         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7594         (elmo-generic-list-folder-unread): Ditto.
7595         (elmo-folder-get-info): Ditto.
7596         (elmo-folder-set-info-max-by-numdb): Ditto.
7597         (elmo-folder-get-info-max): Ditto.
7598         (elmo-folder-get-info-length): Ditto.
7599         (elmo-folder-get-info-unread): Ditto.
7600         (elmo-folder-info-make-hashtb): Ditto.
7601
7602         * elmo2.el: Removed above functions.
7603
7604 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7605
7606         * elmo-imap4.el (toplevel): Require 'ssl.
7607         Add autoload 'starttls.
7608         * elmo-pop3.el (toplevel): Ditto.
7609         * elmo-nntp.el (toplevel): Ditto.
7610
7611 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7612
7613         * elmo-imap4.el (toplevel): defun at compile time.
7614         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7615         sasl-next-step, sasl-step-data, sasl-step-set-data.
7616         * elmo-pop3.el (toplevel): Ditto.
7617
7618 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7619
7620         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7621
7622 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7623
7624         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7625         if error.
7626         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7627         and `elmo-pop-auth-apop'.
7628
7629 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7630
7631         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7632
7633 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7634
7635         * elmo-pop3.el (elmo-network-authenticate-session): Split
7636         encoded response value.
7637
7638 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7639
7640         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7641         `elmo-pop3-force-login'.
7642         Redefine `sasl-mechanisms'.
7643         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7644
7645 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7646
7647         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7648         Delete `elmo-imap4-authenticator-alist'.
7649         (elmo-imap4-auth-cram-md5): Delete.
7650         (elmo-imap4-auth-digest-md5): Delete.
7651
7652 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7653
7654         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7655         (elmo-pop3-auth-scram-md5): Ditto.
7656         (elmo-pop3-auth-cram-md5): Ditto.
7657
7658 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7659
7660         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7661         Delete `elmo-pop3-authenticator-alist'.
7662
7663 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7664
7665         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7666         new SASL API.
7667         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7668
7669 \f
7670 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7671
7672         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7673
7674 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7675
7676         * elmo-nntp.el (elmo-nntp-get-folders-info):
7677         Fixed problem when '\' character is contained in user-id.
7678         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7679
7680 \f
7681 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7682
7683         * elmo-imap4.el (elmo-imap4-delete-folder):
7684         Send "close" before "delete" (Use commented out line).
7685         (elmo-imap4-rename-folder): Ditto.
7686
7687         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7688         folder string itself.
7689         (elmo-dop-list-deleted): New function.
7690         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7691         killed.
7692
7693         * elmo-util.el (elmo-string-rassoc-all): New function.
7694
7695         * elmo-version.el (elmo-version): Up to 2.5.1.
7696
7697 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7698
7699         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7700
7701         * elmo-internal.el (elmo-internal-search): Fix last change.
7702
7703 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7704
7705         * elmo-internal.el (elmo-internal-search): Rewrite.
7706         (Fixed problem which is pointed out by Akihiro MOTOKI
7707         <motoki@da.jp.nec.com>)
7708
7709         * elmo-version.el (elmo-version): Up to 2.5.0.
7710
7711 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7712
7713         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7714
7715 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7716
7717         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7718         non-nil, make hierarchy.
7719
7720 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7721
7722         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7723         `elmo-pop3-use-uidl' must be bound to nil.
7724         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7725
7726 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7727
7728         * elmo-util.el (elmo-copy-file): Don't cause an error after
7729         `add-name-to-file' failed.
7730
7731         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7732         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7733
7734 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7735
7736         * elmo-version.el (elmo-version): Up to 2.3.93.
7737
7738 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7739
7740         * elmo-util.el (elmo-flatten): New function.
7741
7742 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7743
7744         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7745         sync Author header.
7746         * elmo-cache.el (toplevel): Ditto.
7747         * elmo-database.el (toplevel): Ditto.
7748         * elmo-date.el (toplevel): Ditto.
7749         * elmo-dop.el (toplevel): Ditto.
7750         * elmo-filter.el (toplevel): Ditto.
7751         * elmo-imap4.el (toplevel): Ditto.
7752         * elmo-internal.el (toplevel): Ditto.
7753         * elmo-localdir.el (toplevel): Ditto.
7754         * elmo-localnews.el (toplevel): Ditto.
7755         * elmo-maildir.el (toplevel): Ditto.
7756         * elmo-msgdb.el (toplevel): Ditto.
7757         * elmo-multi.el (toplevel): Ditto.
7758         * elmo-net.el (toplevel): Ditto.
7759         * elmo-nntp.el (toplevel): Ditto.
7760         * elmo-pipe.el (toplevel): Ditto.
7761         * elmo-pop3.el (toplevel): Ditto.
7762         * elmo-util.el (toplevel): Ditto.
7763         * elmo-vars.el (toplevel): Ditto.
7764         * elmo2.el (toplevel): Ditto.
7765         * mmelmo-imap4.el (toplevel): Ditto.
7766         * mmelmo.el (toplevel): Ditto.
7767
7768         * elmo-version.el (elmo-version): Move to top.
7769
7770         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7771         * elmo-imap4.el (toplevel): Ditto.
7772         * elmo-localdir.el (toplevel): Ditto.
7773         * elmo-msgdb.el (toplevel): Ditto.
7774         * elmo-nntp.el (toplevel): Ditto.
7775         * elmo-pop3.el (toplevel): Ditto.
7776         * elmo-version.el (toplevel): Ditto.
7777
7778         * elmo-localnews.el (toplevel): Added Keyword header.
7779
7780 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7781
7782         * elmo-version.el (product-version-as-string): Defined using
7783         `defun-maybe'.
7784         (toplevel): Use it.
7785
7786         * elmo-localdir.el (toplevel): Updated copyright notice.
7787         * elmo-version.el (toplevel): Ditto.
7788         * elmo-msgdb.el (toplevel): Ditto.
7789         * elmo-imap4.el (toplevel): Ditto.
7790         * elmo-nntp.el (toplevel): Ditto.
7791         * elmo-pop3.el (toplevel): Ditto.
7792
7793 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7794
7795         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7796         messages.
7797
7798         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7799         parameter value (It sometimes contains raw kanji).
7800
7801 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7802
7803         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7804         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7805
7806 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7807
7808         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7809
7810 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7811
7812         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7813         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7814
7815 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7816
7817         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7818         value if selecting folder succceeded.
7819         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7820
7821 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7822
7823         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7824         representation.
7825
7826         * elmo-util.el (elmo-string-matched-member): New function.
7827
7828 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7829
7830         * elmo-util.el (elmo-unintern): New macro.
7831         (elmo-number-set-member): Fixed docstring.
7832
7833         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7834         tag token.
7835
7836 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7837
7838         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7839         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7840
7841 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7842
7843         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7844         `no-error'.
7845         Added docstring.
7846         Return non-nil if selecting folder succeeded.
7847         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7848
7849 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7850
7851         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7852         `file-name-completion' returns t.
7853         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7854         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7855         directory if it does not exist.
7856         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7857         for iteration.
7858
7859 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7860
7861         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7862         enclosure (It's harmful in unplugged status).
7863
7864         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7865
7866         * mmelmo-1.el: Removed.
7867
7868         * mmelmo-2.el: Ditto.
7869
7870         * mmelmo-imap4-1.el: Ditto.
7871
7872         * mmelmo-imap4-2.el: Ditto.
7873
7874         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7875
7876         * mmelmo.el: Merged mmelmo-2.el.
7877
7878         * elmo-version.el (elmo-version): Up to 2.3.92.
7879
7880 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7881
7882         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7883         elmo-update-number): Remove last period in "...done." message.
7884         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7885         Ditto.
7886         * elmo-cache.el (elmo-cache-expire-by-size,
7887         elmo-cache-get-sorted-cache-file-list,
7888         elmo-cache-msgdb-create-as-numlist): Ditto.
7889         * elmo-dop.el (elmo-dop-save-pending-messages,
7890         (elmo-dop-flush-pending-append-operations): Ditto.
7891         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7892         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7893         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7894         (elmo-localdir-pack-number): Ditto.
7895         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7896         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7897         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7898         mime-write-entity-content): Ditto.
7899         * pldap.el (ldap-search-basic): Ditto.
7900
7901 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7902
7903         * elmo-version.el (elmo-version): Up to 2.3.91.
7904
7905         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7906         Only when filter is 'last'.
7907
7908         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7909         (elmo-condition-parse-search-value): Use it.
7910         (elmo-read-search-condition-internal): Quote value only when
7911         it is not an atom.
7912
7913 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7914
7915         * elmo2.el (elmo-generic-folder-diff): Fix.
7916
7917 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7918
7919         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7920         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7921         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7922         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7923         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7924         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7925
7926 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7927
7928         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7929         extra-fields.
7930
7931 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7932
7933         * elmo-version.el (elmo-version): Up to 2.3.90.
7934
7935         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7936         (elmo-imap4-list-folder-important): Ditto.
7937
7938 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7939
7940         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7941
7942 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7943
7944         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7945
7946 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7947
7948         * elmo-nntp.el (elmo-network-initialize-session):
7949         Add starttls negotiation.
7950
7951 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7952
7953         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7954         response.
7955         (elmo-network-setup-session): Define.
7956         Call `elmo-nntp-send-mode-reader' when session opened.
7957
7958 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7959
7960         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7961
7962 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7963
7964         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7965         an invalid SPACE character ahead of `SEARCH' command.  Move
7966         a valid SPACE character following `SEARCH' from conditional
7967         `format' arguments to control-strings.
7968
7969 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7970
7971         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7972         was succeeded.
7973
7974         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7975
7976 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7977
7978         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7979         `w32-get-true-file-link-count' as t.
7980
7981         * elmo-imap4.el (elmo-imap4-read): Abolished.
7982         (Renamed to `elmo-read' and moved to elmo-util.el)
7983         All other related portions are changed.
7984
7985         * elmo-util.el (elmo-read): New function.
7986         (elmo-condition-parse-search-value): Use it.
7987
7988 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7989
7990         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7991
7992         * elmo-nntp.el (elmo-nntp-session): Define.
7993         (elmo-nntp-setting): Abolished.
7994         All other related portions are changed.
7995         (elmo-nntp-get-server-command): Changed argument.
7996         (elmo-nntp-set-server-command): Ditto.
7997         (elmo-nntp-xover-p): Ditto.
7998         (elmo-nntp-set-xover): Ditto.
7999         (elmo-nntp-listgroup-p): Ditto.
8000         (elmo-nntp-set-listgroup): Ditto.
8001         (elmo-nntp-list-active-p): Ditto.
8002         (elmo-nntp-set-list-active): Ditto.
8003         (elmo-nntp-xhdr-p): Ditto.
8004         (elmo-nntp-set-xhdr): Ditto.
8005         (elmo-nntp-flush-connection): Abolished.
8006         (elmo-nntp-get-connection): Abolished.
8007         (elmo-nntp-get-session): New function.
8008         (elmo-network-initialize-session): Defined.
8009         (elmo-network-authenticate-session): Ditto.
8010         (elmo-nntp-send-mode-reader): Changed argument.
8011         (elmo-nntp-send-command): Changed argument.
8012         All other related portions are changed.
8013         (elmo-nntp-read-response): Ditto.
8014         (elmo-nntp-read-raw-response): Ditto.
8015         (elmo-nntp-read-contents): Ditto.
8016         (elmo-nntp-read-body): Ditto.
8017         (elmo-nntp-goto-folder): Abolished.
8018         (elmo-nntp-select-group): New function.
8019         All other related portions are changed.
8020         (This function substitutes `elmo-nntp-goto-folder')
8021         (elmo-nntp-msgdb-create-by-header): Rewrite.
8022         (elmo-nntp-get-overview): Eliminated.
8023         (elmo-nntp-get-message): Ditto.
8024         (elmo-nntp-open-connection) Abolished.
8025         (elmo-nntp-read-msg): Rewrite.
8026         (elmo-nntp-post): Ditto.
8027         (elmo-nntp-send-data): Abolished.
8028         (elmo-nntp-send-buffer): New function.
8029         (elmo-nntp-send-data-line): Define as inline function.
8030         (elmo-nntp-get-folders-info-prepare): Use session as key.
8031         (elmo-nntp-groups-read-response): Changed argument.
8032         (elmo-nntp-retrieve-headers): Ditto.
8033         (elmo-nntp-msgdb-create-message): Ditto.
8034
8035         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8036         when searching by 'since' or 'before'.
8037
8038 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8039
8040         * elmo-version.el (toplevel): Use product-version-as-string for set
8041         verstion-string, if defined.
8042
8043 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8044
8045         * elmo-util.el: Doc fixes.
8046
8047 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8048
8049         * elmo-archive.el (toplevel): Use product-provide.
8050         * elmo-cache.el (toplevel): Ditto.
8051         * elmo-database.el (toplevel): Ditto.
8052         * elmo-date.el (toplevel): Ditto.
8053         * elmo-dop.el (toplevel): Ditto.
8054         * elmo-filter.el (toplevel): Ditto.
8055         * elmo-imap4.el (toplevel): Ditto.
8056         * elmo-internal.el (toplevel): Ditto.
8057         * elmo-localdir.el (toplevel): Ditto.
8058         * elmo-localnews.el (toplevel): Ditto.
8059         * elmo-maildir.el (toplevel): Ditto.
8060         * elmo-msgdb.el (toplevel): Ditto.
8061         * elmo-multi.el (toplevel): Ditto.
8062         * elmo-net.el (toplevel): Ditto.
8063         * elmo-nntp.el (toplevel): Ditto.
8064         * elmo-pipe.el (toplevel): Ditto.
8065         * elmo-pop3.el (toplevel): Ditto.
8066         * elmo-util.el (toplevel): Ditto.
8067         * elmo-vars.el (toplevel): Ditto.
8068         * elmo2.el (toplevel): Ditto.
8069         * mmelmo-1.el (toplevel): Ditto.
8070         * mmelmo-2.el (toplevel): Ditto.
8071         * mmelmo-imap4-1.el (toplevel): Ditto.
8072         * mmelmo-imap4-2.el (toplevel): Ditto.
8073         * mmelmo-imap4.el (toplevel): Ditto.
8074         * mmelmo.el (toplevel): Ditto.
8075
8076 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8077
8078         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8079         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8080
8081 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8082
8083         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8084         before splitting.
8085         (elmo-multi-split-number-alist): Ditto.
8086
8087 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8088
8089         * elmo-version.el: New file.  Use product.el.
8090         * elmo2.el: Add (require 'elmo-version).
8091         * elmo-vars.el (elmo-appname, elmo-version): Move to
8092         elmo-version.el
8093
8094 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8095
8096         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8097         `elmo-msgdb-expand-path'.
8098         (elmo-msgdb-load): Ditto.
8099         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8100         (elmo-generic-list-folder-unread): Rewrite.
8101         (elmo-generic-list-folder-important): Changed argument.
8102         (elmo-list-folder-unread): Ditto.
8103         (elmo-list-folder-important): Ditto.
8104         (elmo-folder-diff): Rewrite.
8105         (elmo-generic-folder-diff): New function.
8106         (elmo-multi-get-number-alist-list): Abolished
8107         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8108         (elmo-multi-folder-diff): Moved to elmo-multi.el
8109         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8110
8111         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8112         `elmo-msgdb-expand-path'.
8113         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8114         (elmo-pop3-read-msg): Ditto.
8115         (elmo-pop3-delete-msgs): Ditto.
8116         (elmo-pop3-folder-diff): New alias.
8117
8118         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8119         `elmo-msgdb-expand-path'.
8120         (elmo-pipe-list-folder-unread): Changed arguments.
8121         (elmo-pipe-list-folder-important): Ditto.
8122         (elmo-pipe-folder-diff): New alias.
8123
8124         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8125         `elmo-msgdb-expand-path'.
8126         (elmo-nntp-max-of-folder): Ditto.
8127         (elmo-nntp-msgdb-create): Ditto.
8128         (elmo-nntp-delete-msgs): Ditto.
8129         (elmo-nntp-folder-diff): New alias.
8130
8131         * elmo-multi.el (elmo-multi-folder-diff): New function.
8132         (elmo-multi-split-mark-alist): Ditto.
8133         (elmo-multi-split-number-alist): Ditto.
8134         (elmo-multi-mark-alist-list): Abolished (Renamed to
8135         elmo-multi-split-mark-alist).
8136         (elmo-multi-list-folder-unread): Rewrite.
8137         (elmo-multi-list-folder-important): Ditto.
8138         (elmo-multi-list-folder): Set `spec' as 1st argument for
8139         `elmo-msgdb-expand-path'.
8140         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8141         instead of `elmo-multi-get-number-alist-list'.
8142
8143         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8144         If 1st argument is not string, treat as spec.
8145         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8146         `elmo-msgdb-expand-path'.
8147         (elmo-msgdb-flist-load): Ditto.
8148         (elmo-msgdb-flist-save): Ditto.
8149         (elmo-msgdb-delete-path): Ditto.
8150         (elmo-msgdb-rename-path): Ditto.
8151
8152         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8153         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8154         (elmo-maildir-delete-mark-msgs): Ditto.
8155         (elmo-maildir-msgdb-create): Ditto.
8156         (elmo-maildir-read-msg): Ditto.
8157         (elmo-maildir-delete-msgs): Ditto.
8158         (elmo-maildir-list-folder-subr): Ditto.
8159         (elmo-maildir-search): Ditto.
8160         (elmo-maildir-get-msg-filename): Ditto.
8161         (elmo-maildir-pack-number): Ditto.
8162         (elmo-maildir-folder-diff): New alias.
8163
8164         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8165
8166         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8167         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8168         (elmo-localdir-folder-diff): New alias.
8169
8170         * elmo-internal.el (elmo-internal-list-folder-subr):
8171         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8172         (elmo-internal-list-folder-by-location): Ditto.
8173         (elmo-internal-msgdb-create): Ditto.
8174         (elmo-internal-delete-msgs): Ditto.
8175         (elmo-internal-read-msg): Ditto.
8176         (elmo-internal-folder-diff): New alias.
8177
8178         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8179         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8180         `elmo-msgdb-expand-path'.
8181         (elmo-imap4-list-folder-unread): Changed arguments.
8182         (elmo-imap4-list-folder-important): Ditto.
8183
8184         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8185         (elmo-filter-list-folder-important): Ditto.
8186         (elmo-filter-folder-diff): New function.
8187
8188         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8189
8190         * elmo-cache.el (elmo-cache-list-folder):
8191         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8192         (elmo-cache-copy-msgs): Ditto.
8193         (elmo-cache-folder-diff): New alias.
8194
8195         * elmo-archive.el (elmo-archive-list-folder-subr):
8196         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8197         (elmo-archive-get-archive-name): Ditto.
8198         (elmo-archive-create-file): Ditto.
8199         (elmo-archive-append-msg): Ditto.
8200         (elmo-archive-copy-msgs): Ditto.
8201         (elmo-archive-copy-msgs-froms): Ditto.
8202         (elmo-archive-get-msg-filename): Ditto.
8203         (elmo-archive-folder-diff): New alias.
8204
8205 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8206
8207         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8208         (elmo-pop3-stream-type-alist): New variable.
8209         (elmo-nntp-stream-type-alist): New variable.
8210
8211         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8212         (elmo-kill-buffer): Ditto.
8213         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8214         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8215         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8216         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8217         (elmo-imap4-get-spec): Take into account
8218         `elmo-imap4-stream-type-alist'.
8219
8220 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8221
8222         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8223         (elmo-nntp-list-folders-get-cache): Ditto.
8224
8225 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8226
8227         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8228         character before 'uid'.
8229
8230 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8231
8232         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8233
8234         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8235
8236         * elmo-util.el (elmo-number-set-member): New function.
8237         (elmo-number-set-append-list): Ditto.
8238         (elmo-number-set-append): Ditto.
8239
8240         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8241         Use `elmo-number-set-member'.
8242         (elmo-living-messages): Ditto.
8243         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8244         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8245
8246         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8247         (elmo-imap4-add-to-cont-list): Abolished.
8248         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8249         instead of elmo-imap4-add-to-cont-list.
8250
8251         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8252         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8253
8254         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8255
8256 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8257
8258         * elmo-util.el (elmo-condition-parse-search-value):
8259         Fixed date parsing.
8260
8261 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8262
8263         * elmo-util.el (elmo-condition-find-key-internal): New function.
8264         (elmo-condition-find-key): Ditto.
8265
8266         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8267         (elmo-msgdb-search-internal): Ditto.
8268         (elmo-msgdb-search): Ditto.
8269
8270 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8271
8272         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8273         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8274
8275         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8276         (elmo-nntp-search-primitive): Fixed problem when condition is
8277         'unmatch'.
8278
8279         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8280
8281         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8282         (elmo-nntp-xhdr-p): New macro.
8283         (elmo-nntp-set-xhdr): Ditto.
8284         (elmo-nntp-parse-xhdr-response): New function.
8285         (elmo-nntp-retrieve-field): Ditto.
8286         (elmo-nntp-search-primitive): Ditto.
8287         (elmo-nntp-search): Implemented.
8288
8289         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8290
8291         * elmo-archive.el (elmo-archive-search): Set all number list to
8292         `elmo-archive-field-condition-match'
8293
8294         * elmo-localdir.el (elmo-localdir-search): Likewise.
8295
8296         * elmo-maildir.el (elmo-maildir-search): Likewise.
8297
8298 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8299
8300         * elmo-msgdb.el (elmo-living-messages): New function.
8301         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8302         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8303         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8304         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8305         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8306         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8307         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8308         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8309         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8310         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8311         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8312
8313 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8314
8315         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8316
8317         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8318
8319         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8320
8321         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8322         arguments for `SEARCH' command.
8323         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8324         All other related portions are changed.
8325
8326         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8327
8328         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8329         (elmo-list-folder-unread): Rewrite.
8330         (elmo-list-folder-important): Ditto.
8331
8332         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8333         (elmo-condition-parse-error): New inline function.
8334         (elmo-read-search-condition): New function.
8335         (elmo-read-search-condition-internal): Ditto.
8336         (elmo-parse-search-condition): Rewrite.
8337         (elmo-condition-parse): New function.
8338         (elmo-condition-parse-or-expr): Ditto.
8339         (elmo-condition-parse-and-expr): Ditto.
8340         (elmo-condition-parse-primitive): Ditto.
8341         (elmo-condition-parse-search-value): Ditto.
8342         (elmo-buffer-field-primitive-condition-match): Ditto.
8343         (elmo-buffer-field-condition-match): Rewrite.
8344         (elmo-file-field-condition-match): Ditto.
8345
8346         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8347         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8348
8349         * elmo-internal.el (elmo-internal-search): Set `number' and
8350         `number-list' argument of `elmo-file-field-condition-match'.
8351
8352         * elmo-maildir.el (elmo-maildir-search): Ditto.
8353
8354         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8355         `msgdb' as argument instead of `mark-alist'.
8356         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8357         `overview'.
8358
8359         * elmo-multi.el: Likewise.
8360
8361         * elmo-pipe.el: Likewise.
8362
8363         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8364         (elmo-imap4-search-internal): Rewrite.
8365         (elmo-imap4-search): Ditto.
8366
8367         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8368         (elmo-filter-list-folder-unread): Ditto.
8369         (elmo-filter-list-folder-important): Ditto.
8370         (elmo-filter-search): Rewrite.
8371
8372         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8373         `number-list' argument of `elmo-file-field-condition-match'.
8374         (elmo-cache-search): Ditto.
8375
8376         * elmo-localdir.el: Likewise.
8377
8378         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8379         number-list and pass it to `elmo-buffer-field-condition-match'.
8380         (elmo-archive-field-condition-match): Pass `number-list' to
8381         `elmo-archive-field-condition-match'
8382
8383 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8384
8385         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8386         `listgroup'.
8387
8388         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8389         (elmo-folder-diff-async-callback-data): Ditto.
8390         (elmo-folder-diff-async): New function.
8391
8392         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8393         (elmo-network-session-cache-key): Use it as a prefix of the session
8394         name.
8395         (elmo-network-open-session): Ditto.
8396
8397         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8398         (elmo-imap4-status-callback-data): Ditto.
8399         (elmo-imap4-server-diff-async-callback): New variable.
8400         (elmo-imap4-server-diff-async-callback-data): Ditto.
8401         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8402         `elmo-imap4-status-callback-data'.
8403         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8404         `elmo-imap4-status-callback-data' as nil.
8405         (elmo-imap4-server-diff): Ditto.
8406         (elmo-imap4-server-diff-async-callback-1): New function.
8407         (elmo-imap4-server-diff-async): Ditto.
8408         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8409
8410 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8411
8412         * elmo-util.el (elmo-list-delete): Doc fix.
8413         (elmo-delete-lists): Abolish.
8414         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8415         instead of `elmo-delete-lists'.
8416
8417 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8418
8419         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8420         before `sort'.
8421
8422 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8423
8424         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8425         `elmo-imap4-literal-subr'.
8426         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8427         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8428
8429 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8430
8431         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8432         (elmo-archive-list-folder): Fix.
8433         (elmo-archive-max-of-folder): Fix.
8434
8435 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8436
8437         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8438          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8439         (elmo-localdir-append-msg): Ditto.
8440         (elmo-localdir-list-folder): Fix for `nonsort'.
8441         (elmo-localdir-list-folder-subr): Fix for `killed'.
8442         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8443         (elmo-maildir-list-folder-subr): Ditto.
8444         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8445         (elmo-archive-list-folder-subr): Ditto.
8446         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8447         (elmo-internal-list-folder-subr): Ditto.
8448
8449 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8450
8451         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8452
8453 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8454
8455         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8456
8457 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8458
8459         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8460         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8461
8462         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8463         before greeting.
8464         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8465         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8466
8467 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8468
8469         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8470
8471         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8472         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8473         before STORE command.
8474
8475 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8476
8477         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8478
8479         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8480         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8481         of `response'.
8482         (elmo-imap4-list-folders): Removed unused local variable.
8483         (elmo-network-initialize-session): Ditto.
8484         (elmo-imap4-delete-msg-by-id): Ditto.
8485         (elmo-imap4-parse-fetch): Ditto.
8486         (elmo-imap4-copy-msgs): Ditto.
8487         Use `dst-spec' instead of `dst-folder'.
8488         (elmo-network-authenticate-session): Check authenticate type `plain'.
8489
8490 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8491
8492         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8493         garbage checking.
8494         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8495         `elmo-imap4-response-value'.
8496         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8497
8498 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8499
8500         * elmo-imap4.el (elmo-imap4-send-command):
8501         Cause elmo-imap4-bye-error when current response is BYE.
8502         (elmo-imap4-arrival-filter): Changed greeting response value.
8503
8504         * elmo2.el (elmo-imap4-bye-error): Define.
8505
8506         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8507         (elmo-imap4-server-diff): Ditto.
8508         (elmo-imap4-response-bye-p): New macro.
8509         (elmo-imap4-response-error-text): Get text from BYE response.
8510         (elmo-imap4-read-response): Return if BYE response.
8511         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8512         (elmo-imap4-folder-exists-p): Ditto.
8513         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8514         (elmo-imap4-parse-bye): New function.
8515         (elmo-imap4-parse-response): Remove needless let.
8516         Call `elmo-imap4-parse-bye'.
8517
8518 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8519
8520         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8521         the mailbox does not exist.
8522         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8523
8524 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8525
8526         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8527
8528 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8529
8530         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8531
8532         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8533         (elmo-network-initialize-session-buffer): Defined.
8534
8535         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8536         Abolished.
8537         (mmelmo-imap4-get-mime-entity): Rewrite.
8538
8539         * elmo2.el (elmo-error): Capitalize error message.
8540
8541         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8542         (elmo-network-session-buffer): New macro.
8543         (elmo-network-open-session): Use it.
8544
8545         * elmo-imap4.el: Rewrite.
8546
8547 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8548
8549         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8550
8551 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8552
8553         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8554         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8555         (elmo-imap4-create-msgdb-from-overview-string): Use
8556         `elmo-msgdb-create-overview-from-buffer'.
8557
8558 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8559
8560         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8561         (elmo-imap4-default-hierarchy-delimiter): New variable.
8562         (elmo-imap4-list-folders): Use it.
8563
8564 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8565
8566         * elmo-net.el (elmo-network-open-session): Add user and
8567         stream-type for process-buffer name.
8568
8569         * elmo-pop3.el (elmo-network-initialize-session): Call
8570         buffer-disable-undo.
8571
8572         * elmo-imap4.el (elmo-network-initialize-session):
8573         Set current-buffer as an argument for `buffer-disable-undo'.
8574
8575         * elmo-pop3.el (elmo-network-close-session): Don't use
8576         `process-live-p'.
8577
8578         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8579         Set default as 'user.
8580
8581         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8582
8583         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8584         and `elmo-imap4-flush-connection'.
8585
8586         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8587         (elmo-pop3-get-spec): Assume auth as symbol.
8588         (elmo-open-network-stream): Moved to `elmo-net'.
8589
8590         * elmo-pop3.el (toplevel): Require 'elmo-net.
8591         Define `sasl-cram-md5' to silence byte compilier.
8592         (elmo-pop3-connection-cache) Abolished.
8593         (elmo-pop3-authenticator-alist) New variable.
8594         (elmo-pop3-session): Define.
8595         (elmo-pop3-connection-get-process): Abolished.
8596         (elmo-pop3-connection-get-buffer): Ditto.
8597         (elmo-pop3-close-connection): Ditto.
8598         (elmo-pop3-flush-connection): Ditto.
8599         (elmo-pop3-get-connection): Ditto.
8600         (elmo-pop3-get-session): New function.
8601         (Replacement for `elmo-pop3-get-connection').
8602         All other related modules are changed.
8603         (elmo-network-close-session): Define.
8604         (elmo-pop3-send-command): Abolished argument `buffer'.
8605         All other related modules are changed.
8606         (elmo-pop3-read-response): Likewise.
8607         (elmo-pop3-open-connection): Abolished.
8608         (elmo-pop3-auth-user): New function.
8609         (elmo-pop3-auth-apop): Ditto.
8610         (elmo-pop3-auth-cram-md5): Ditto.
8611         (elmo-pop3-auth-scram-md5): Ditto.
8612         (elmo-pop3-auth-digest-md5): Ditto.
8613         (elmo-network-initialize-session): Define.
8614         (elmo-network-authenticate-session): Ditto.
8615         (elmo-network-setup-session): Ditto.
8616
8617         * elmo-imap4.el (toplevel): Require 'elmo-net.
8618         (elmo-imap4-session): Define.
8619         (elmo-imap4-connection-cache): Abolished.
8620         (elmo-imap4-password-key): Ditto.
8621         (elmo-imap4-flush-connection): Ditto.
8622         (elmo-imap4-get-connection): Ditto.
8623         All other related modules are changed.
8624         (elmo-imap4-get-session): New function
8625         (Replacement for `elmo-imap4-get-connection').
8626         (elmo-imap4-read-response): Abolished argument `buffer'.
8627         All other related modules are changed.
8628         (elmo-imap4-send-command): Likewise.
8629         (elmo-imap4-select-folder): Abolished.
8630         All other related modules are changed.
8631         (elmo-imap4-select-mailbox): New function.
8632         (Replacement for `elmo-imap4-select-folder').
8633         (elmo-imap4-auth-login): Simplify.
8634         (Assume current buffer as process buffer)
8635         (elmo-imap4-auth-cram-md5): Ditto.
8636         (elmo-imap4-auth-digest-md5): Ditto.
8637         (elmo-imap4-login): Ditto.
8638         (elmo-imap4-open-connection): Abolished.
8639         (elmo-imap4-open-connection-1): Abolished.
8640         (elmo-network-initialize-sessoin): Define.
8641         (elmo-network-authenticate-session): Ditto.
8642         (elmo-network-setup-session): Ditto.
8643
8644         * elmo-net.el: New module.
8645
8646 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8647
8648         * elmo-util.el (elmo-define-error): New function.
8649
8650         * elmo2.el (elmo-error): Define.
8651         (elmo-open-error): Define.
8652         (elmo-authenticate-error): Define.
8653
8654         * elmo-imap4.el (elmo-imap4-error): Abolish.
8655         (elmo-imap4-error-type): Abolish.
8656         (elmo-imap4-error-process): Abolish.
8657         (elmo-imap4-error-message): Abolish
8658         (elmo-imap4-list-folders): Don't quote lambda.
8659         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8660         (elmo-imap4-parse-namespace): Ditto.
8661         (elmo-imap4-open-connection): Rewrite.
8662         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8663         (elmo-imap4-get-connection): Abolish local variable `result'.
8664
8665 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8666
8667         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8668         wrong-type-argument error when auth is nil.
8669
8670 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8671
8672         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8673         (elmo-default-nntp-stream-type): Ditto.
8674         (elmo-default-pop3-stream-type): Ditto.
8675         (elmo-network-stream-type-alist): Ditto.
8676         (elmo-default-imap4-ssl): Abolished.
8677         (elmo-default-nntp-ssl): Ditto.
8678         (elmo-default-pop3-ssl): Ditto.
8679
8680         * elmo-util.el: (toplevel): Removed needless requires.
8681         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8682         (elmo-open-network-stream): Open network stream according to
8683         the value of `elmo-network-stream-type-alist'.
8684         (elmo-get-network-stream-type): New function.
8685         (elmo-network-stream-type-spec-string): New macro.
8686         (elmo-network-stream-type-symbol): Ditto.
8687         (elmo-network-stream-type-function): Ditto.
8688
8689         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8690         network-stream-type. All other related portions are changed.
8691         (elmo-pop3-open-connection): Ditto.
8692
8693         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8694         network-stream-type. All other related portions are changed.
8695
8696         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8697         network-stream-type.All other related portions are changed.
8698         (elmo-imap4-error): New macro.
8699         (elmo-imap4-error-type): Ditto.
8700         (elmo-imap4-error-process): Ditto.
8701         (elmo-imap4-error-message): Ditto.
8702         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8703         (elmo-imap4-auth-cram-md5): Ditto.
8704         (elmo-imap4-auth-digest-md5): Ditto.
8705         (elmo-imap4-login): Ditto.
8706         (elmo-imap4-open-connection): Remove password entry if authentication
8707         was in vain.
8708         (elmo-imap4-user-at-host): Abolished.
8709         (elmo-imap4-password-key): New buffer local variable.
8710         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8711         using protocol, port, auth and stream-type.
8712
8713         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8714
8715 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8716
8717         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8718
8719         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8720
8721         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8722         (elmo-imap4-authenticator-alist): New variable.
8723         (elmo-imap4-open-connection-1): Rename from
8724         elmo-imap4-open-connection.
8725         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8726         only wraps elmo-imap4-open-connection-1.
8727         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8728         user-at-host.
8729         (elmo-imap4-auth-login): New function.
8730         (elmo-imap4-auth-cram-md5): New function.
8731         (elmo-imap4-auth-digest-md5): New function.
8732         (elmo-imap4-login): New function.
8733
8734 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8735
8736         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8737         function `error'.
8738
8739 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8740
8741         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8742
8743 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8744
8745         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8746
8747 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8748
8749         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8750         for server responses, quote `*' regardless of where it appears.
8751
8752 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8753
8754         * elmo-maildir.el (elmo-maildir-commit): New alias.
8755
8756 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8757
8758         * elmo-util.el (elmo-display-progress):
8759                 Use `progress-feedback-with-label'.
8760
8761 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8762
8763         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8764         (elmo-imap4-non-atom-char-regex): Ditto.
8765         (elmo-imap4-non-text-char-regex): Ditto.
8766         (elmo-imap4-literal-threshold): Ditto.
8767         (elmo-imap4-atom-p): New function.
8768         (elmo-imap4-quotable-p): Ditto.
8769         (elmo-imap4-nil): Ditto.
8770         (elmo-imap4-atom): Ditto.
8771         (elmo-imap4-quoted): Ditto.
8772         (elmo-imap4-literal-subr): Ditto.
8773         (elmo-imap4-literal): Ditto.
8774         (elmo-imap4-buffer-literal): Ditto.
8775         (elmo-imap4-string-subr): Ditto.
8776         (elmo-imap4-string): Ditto.
8777         (elmo-imap4-buffer-string): Ditto.
8778         (elmo-imap4-astring-subr): Ditto.
8779         (elmo-imap4-astring): Ditto.
8780         (elmo-imap4-buffer-astring): Ditto.
8781         (elmo-imap4-nstring): Ditto.
8782         (elmo-imap4-buffer-nstring): Ditto.
8783         (elmo-imap4-mailbox): New alias.
8784         (elmo-imap4-field-body): Ditto.
8785         (elmo-imap4-userid): Ditto.
8786         (elmo-imap4-password): Ditto.
8787         (elmo-imap4-format-quoted): New function.
8788         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8789         arguments and handle "atom", "quoted" and "literal" string here.
8790         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8791         `elmo-imap4-send-command'.
8792         (elmo-imap4-folder-exists-p): Likewise.
8793         (elmo-imap4-create-folder): Likewise.
8794         (elmo-imap4-delete-folder): Likewise.
8795         (elmo-imap4-rename-folder): Likewise.
8796         (elmo-imap4-max-of-folder): Likewise.
8797         (elmo-imap4-check-validity): Likewise.
8798         (elmo-imap4-sync-validity): Likewise.
8799         (elmo-imap4-server-diff): Likewise.
8800         (elmo-imap4-select-folder): Likewise.
8801         (elmo-imap4-copy-msgs): Likewise.
8802         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8803         (elmo-imap4-mark-set-on-msgs): Likewise.
8804         (elmo-imap4-read-part): Likewise.
8805         (elmo-imap4-read-msg): Likewise.
8806         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8807         `elmo-imap4-password' for `elmo-imap4-send-command'.
8808         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8809         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8810         `elmo-imap4-buffer-literal'.
8811         (elmo-imap4-append-msg): Likewise.
8812
8813         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8814         `delete' for removing dead connection from the connection cache.
8815         Move deletion of the process buffer after that.
8816         (elmo-imap4-list): Change `defsubst' to `defun'.
8817         (elmo-imap4-commit): Make error message verbose.
8818         (elmo-imap4-search): Ditto.
8819         (elmo-imap4-list): Ditto.
8820         (elmo-imap4-select-folder): Ditto.
8821         (elmo-imap4-copy-msgs): Ditto.
8822         (elmo-imap4-delete-msg-by-id): Ditto.
8823         (elmo-imap4-append-msg-by-id): Ditto.
8824         (elmo-imap4-append-msg): Ditto.
8825
8826 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8827
8828         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8829         when dired is used on XEmacs.
8830
8831 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8832
8833         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8834         instead of `append'.
8835         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8836         `elmo-plugged-p' directly.
8837         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8838         of `elmo-plugged-p' directly.
8839
8840         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8841         Eliminate unused variable.  Use `memq' for checking a process status.
8842         Use `cons' instead of `append' for updating the connection cache.
8843         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8844         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8845
8846 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8847
8848         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8849         `elmo-imap4-read-point' exactly.
8850
8851         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8852         the local variable `folder' to `mailbox'.
8853         Rename the argument `fld' to `folder'.
8854
8855 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8856
8857         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8858         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8859
8860 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8861
8862         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8863         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8864         (elmo-pop3-uidl-number-hash): Ditto.
8865         (elmo-pop3-size-hash): Ditto.
8866         (elmo-pop3-uidl-done): Ditto.
8867         (elmo-pop3-list-done): Ditto.
8868         (elmo-pop3-connection-get-process): New defmacro.
8869         (elmo-pop3-connection-get-buffer): Ditto.
8870         (elmo-pop3-close-connection): Delete buffer and process.
8871         (elmo-pop3-flush-connection): Don't delete buffer and process.
8872         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8873         Setup UIDL and size hash.
8874         (elmo-pop3-send-command-no-erase): Deleted
8875         (elmo-pop3-send-command): Added optional argument `no-erase'.
8876         (elmo-pop3-parse-uidl-response): New function.
8877         (elmo-pop3-parse-list-response): Set size hash.
8878         (elmo-pop3-list-location): New function.
8879         (elmo-pop3-list-by-uidl-subr): Ditto.
8880         (elmo-pop3-list-by-list): Ditto.
8881         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8882         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8883         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8884         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8885         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8886         Use uidl.
8887         (elmo-pop3-uidl-to-number): New function.
8888         (elmo-pop3-number-to-uidl): Ditto.
8889         (elmo-pop3-number-to-size): Ditto.
8890         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8891         Set number by use of uidl.
8892         (elmo-pop3-msgdb-create-message): Likewise.
8893         Set size, loc-alist in msgdb.
8894         (elmo-pop3-read-msg): Set number by use of uidl.
8895         Added optional argument `msgdb'.
8896         (elmo-pop3-delete-msg): Ditto.
8897         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8898         (elmo-pop3-commit): Close connection.
8899
8900         * elmo-pipe.el (elmo-pipe-max-of-folder):
8901         Bind `elmo-pop3-use-uidl' as nil.
8902         (elmo-pipe-drain): Ditto.
8903         Call `elmo-commit'.
8904
8905         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8906         (elmo-msgdb-overview-entity-set-size): New defsubst.
8907
8908 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8909
8910         * elmo-vars.el (elmo-use-killed-list): New variable
8911         (Renamed from `elmo-nntp-use-killed-list').
8912         (elmo-nntp-use-killed-list): Eliminated.
8913
8914         * elmo-msgdb.el (elmo-msgdb-expand-path):
8915         Changed expanding msgdb path for elmo-multi.
8916
8917         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8918         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8919         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8920         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8921         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8922         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8923         (toplevel): Deleted time-stamp line.
8924
8925         * elmo2.el (elmo-clear-killed ): Defined as function
8926         (Abolished defining as a backend function).
8927         All other related modules are changed.
8928
8929 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8930
8931         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8932
8933 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8934
8935         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8936
8937 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8938
8939         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8940
8941 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8942
8943         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8944         asynchronous folder check.
8945
8946         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8947
8948         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8949         `elmo-nntp-use-killed-list'.
8950         (elmo-nntp-list-folder): Use killed list.
8951         (elmo-nntp-max-of-folder): Ditto.
8952         (elmo-nntp-msgdb-create): Set killed list.
8953
8954         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8955
8956         * elmo2.el (elmo-clear-killed): New backend function.
8957         All other related modules are changed.
8958
8959 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8960
8961         * elmo-util.el (elmo-imap4-spec-folder): Use
8962         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8963         All callers changed.
8964
8965 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8966
8967         * mmelmo-2.el (initialize-instance):
8968         Use `mime-buffer-entity-buffer-internal' instead of
8969         `mime-entity-buffer'.
8970
8971         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8972         (mime-entity-body): Implemented.
8973         (mime-goto-header-start-point): Deleted.
8974         (mime-goto-body-end-point): Ditto.
8975         (mime-entity-point-min): Ditto.
8976         (mime-entity-point-max): Ditto.
8977         (mime-entity-children): Ditto.
8978         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8979         instead of `mime-entity-buffer'.
8980         (mime-entity-header-buffer): Ditto.
8981         (mime-entity-body-buffer): Ditto.
8982         (mime-write-entity-content): Ditto.
8983
8984         * pldap.el (ldap-static-if): New macro.
8985         (toplevel): Use it instead of `static-if'.
8986
8987 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8988
8989         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8990         included in `attrs' argument.
8991
8992 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8993
8994         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8995
8996         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8997         (ldap-ldif-safe-init-char-regexp): Ditto.
8998         (ldap-ldif-safe-string-regexp): Ditto.
8999         (ldap/ldif-safe-string-p): New macro.
9000         (ldap/ldif-insert-field): Ditto.
9001         (ldap-modify): Use it.
9002         (ldap-add): Ditto.
9003         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9004         (ldap-decode-attribute): Decode only when `attr' is consp.
9005         (ldap-delete): Bind `ret'.
9006         (toplevel): Require 'cl at compile time.
9007         Removed (require 'poe) and (require 'std11).
9008         (pldap-version): Eliminated.
9009         (ldap-search-basic): Removed auth and dn binding.
9010         (ldap-ldif-field-name-regexp): New constant.
9011         (ldap-ldif-field-head-regexp): Ditto.
9012         (ldap-ldif-next-field-head-regexp): Ditto.
9013         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9014         (ldap/field-end): New function.
9015         (ldap/field-body): Use it.
9016         (ldap/collect-field): Ditto.
9017         (ldap-search-basic): Use `ldap/field-body'.
9018
9019 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9020
9021         * pldap.el (ldap-default-attribute-encoder): New user option.
9022         (ldap/field-body): Decode base64 string.
9023         (ldap/collect-field): Ditto.
9024         (ldap-encode-attribute): New function.
9025         (ldap-add-entries): Use it.
9026         (ldap-modify-entries): Ditto.
9027         (ldap-search-entries): Enclosed decoding function with
9028         `with-temp-buffer' and set as unibyte.
9029         (ldap-search-basic): Set process buffer as unibyte.
9030
9031         * elmo-util.el (elmo-folder-identical-system-p):
9032         Eliminated name space checking.
9033
9034         * pldap.el: New module.
9035         toplevel: Changed condition to detect built-in ldap feature.
9036         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9037         (ldap-add): Added error handling.
9038         (ldap-modify): Ditto.
9039         (ldap-delete): Ditto.
9040
9041 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9042
9043         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9044         Initialize local variables with `let'.  Inline a temporary
9045         variable for the progress percentage.  Sort `setq' to reduce
9046         function call in the while-loop.
9047
9048         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9049         into the conditional branch.
9050
9051 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9052
9053         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9054         Move a conditional out of the while-loop.
9055
9056 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9057
9058         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9059         elmo-msgdb-overview-get-entity-by-number.
9060         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9061         throw.
9062
9063 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9064
9065         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9066         the local variable for a packed number self descriptively.
9067
9068 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9069
9070         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9071         * elmo-localdir.el (elmo-localdir-pack-number): Use
9072         `elmo-msgdb-overview-get-entity' instead of
9073         `elmo-msgdb-overview-get-entity-by-number'.
9074         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9075         (elmo-msgdb-search-overview-entity): Removed.
9076         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9077         by message-id or number.
9078         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9079         instead of `elmo-msgdb-overview-get-entity-by-number'.
9080
9081 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9082
9083         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9084         non-nil, use hash table for overview.
9085         (elmo-hash-maximum-size): New variable.
9086         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9087         (elmo-msgdb-make-overview-hashtb): New function.
9088         (elmo-msgdb-clear-overview-hashtb): New function.
9089         (elmo-clear-hash-val): New macro.
9090         All other related modules are changed.
9091
9092 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9093
9094         * elmo2.el (elmo-move-msgs): If there's other message with
9095         same message-id, don't use cache.
9096
9097 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9098
9099         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9100         number is already packed.
9101
9102 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9103
9104         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9105
9106 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9107
9108         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9109         All other related modules are changed.
9110
9111 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9112
9113         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9114         of refiling failure on Maildir.
9115
9116 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9117
9118         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9119         decoded mime-charset with cache.
9120         (elmo-msgdb-overview-entity-get-from): Ditto.
9121         (elmo-msgdb-overview-entity-get-subject): Ditto.
9122         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9123
9124 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9125
9126         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9127         (elmo-remove-passwd): Fill password with 0 before erase.
9128         * elmo-vars.el (elmo-passwd-life-time): New variable.
9129
9130 \f
9131 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9132
9133         * elmo-cache.el (elmo-buffer-cache-add):
9134         Set message cache buffer as unibyte.
9135
9136 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9137
9138         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9139         become nil.
9140
9141 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9142
9143         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9144         when display is finished.
9145         (elmo-nntp-msgdb-create): Ditto.
9146         (elmo-nntp-groups-read-response): Ditto.
9147         (elmo-nntp-retrieve-headers): Ditto.
9148         (elmo-nntp-msgdb-create-message): Ditto.
9149         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9150         (elmo-pop3-msgdb-create-message): Ditto.
9151
9152 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9153
9154         * elmo-maildir.el (elmo-maildir-msgdb-create):
9155         Use `elmo-msgdb-sort-by-date'.
9156
9157 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9158
9159         * elmo2.el (elmo-read-msg-no-cache):
9160         Eliminated arguments after `outbuf'.
9161         Don't use cache even if it exists.
9162         (elmo-read-msg): Don't pass arguments after `outbuf' to
9163         `elmo-read-msg-no-cache'.
9164
9165 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9166
9167         * elmo-archive.el (elmo-archive-list-folders):
9168         Use `file-name-directory' if base folder does not exist.
9169
9170 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9171
9172         * elmo-archive.el (elmo-archive-list-folders): Don't use
9173         `file-name-directory'.
9174
9175 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9176
9177         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9178         If `force' is non-nil, try flushing all operation queues.
9179
9180 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9181
9182         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9183         as-binary-process.
9184
9185 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9186
9187         * elmo-util.el (elmo-display-progress): Fixed.
9188
9189 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9190
9191         * elmo-util.el (elmo-display-progress): New function.
9192         All other related modules are changed.