(elmo-network-initialize-session): Check to
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-12-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elmo-imap4.el (elmo-network-initialize-session): Check to
4         retrieve a whole greeting message.
5
6 2006-11-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7
8         * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
9
10 2006-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
11
12         * elmo-util.el (elmo-safe-plist-get): New alias or macro.
13         (elmo-progress-notify): Use it instead of `plist-get'.
14
15 2006-11-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
16
17         * elmo.el (elmo-generic-folder-append-messages): Remove unused
18         variable `table'.
19
20 2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
21
22         * elmo-pipe.el (elmo-folder-set-plugged): Define.
23
24 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
25
26         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
27         (elmo-spam-list-spam-messages): Check it option.
28
29 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
30
31         * elmo-util.el (elmo-with-progress-display): Return the value
32         of the last form in `body'.
33
34 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
35
36         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
37         `elmo-progress-counter' as t when a query callback returns nil.
38         (elmo-progress-clear): New function.
39         (elmo-progress-done): Split into `elmo-progress-clear'.
40         (elmo-progress-notify): Update a total slot when it is nil.
41         (elmo-with-progress-display): Call `elmo-progress-clear' in
42         unwind-protect and move calling `elmo-progress-done' to outside.
43
44         * elmo-imap4.el (elmo-imap4-find-next-line): Call
45         `elmo-progress-notify' with :total parameter instead of
46         `elmo-progress-counter-set-total'.
47
48 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
49
50         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
51         Make it interactive.
52         (elmo-progress-start): Avoid updating `elmo-progress-counter'
53         when a query callback returns nil.  Return a progress counter
54         instead of t whenever a start callback was called.
55
56 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
57
58         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
59         (elmo-imap4-send-command): Use it.
60         (elmo-network-initialize-session): Ditto.
61         (elmo-network-setup-session): Ditto.
62         (elmo-folder-msgdb-create-plugged): Ditto.
63
64 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
65
66         * elmo-util.el (elmo-progress-done): Fix a miss refer to
67         `elmo-progress-counter'.
68
69 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
70
71         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
72         (elsp-bsfilter-list-spam-filter): New function.
73         (elsp-bsfilter-start-list-spam): Ditto.
74         (elsp-bsfilter-read-list-spam): Ditto.
75         (elmo-spam-list-spam-messages): Use async process to display
76         progress message by each message.
77
78 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
79
80         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
81         of flushing previously inserted message contents.
82
83         * elmo-imap4.el (elmo-folder-search): Fix return value.
84
85 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
86
87         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
88         of reporter is enable or not.
89
90 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
91
92         * elmo-util.el (elmo-list-bigger-diff): Abolish.
93         (elmo-display-progress): Ditto.
94         (elmo-progress-counter-alist): Ditto.
95         (elmo-progress-set): Ditto.
96         (elmo-progress-clear): Ditto.
97         (elmo-progress-counter-all-value): Rename to
98         `elmo-progress-counter-total'.
99         (elmo-progress-counter-format): Rename to
100         `elmo-progress-counter-action'.
101         (elmo-progress-counter): New internal variable.
102         (elmo-progress-callback-function): Ditto.
103         (elmo-progress-counter-label): New function.
104         (elmo-progress-counter-set-total): Ditto.
105         (elmo-progress-counter-set-action): Ditto.
106         (elmo-progress-call-callback): Ditto.
107         (elmo-progress-start): Ditto.
108         (elmo-progress-done): Ditto.
109         (elmo-progress-notify): Rewrite.
110         (elmo-with-progress-display): Remove first argument
111         `condition'. Add optional argument `var' in `spec'.
112
113         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
114         (elmo-display-retrieval-progress-threshold): Ditto.
115         (elmo-inhibit-display-retrieval-progress): Ditto.
116
117         * Replace all pair of `elmo-progress-set' and
118         `elmo-progress-clear' into `elmo-with-progress-display'.
119
120         * Replace to call `elmo-display-progress' into pair of
121         `elmo-progress-notify' and `elmo-with-progress-display'.
122
123         * elmo-version.el (elmo-version): Up to 2.15.5.
124
125 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
126
127         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
128         `cond'.
129
130 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
131
132         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
133         cleanup-forms [wl:14027].
134
135 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
136
137         * elmo-flag.el (elmo-global-flag-set-internal): Use
138         `elmo-copy-file' by priority when the message is a file.
139
140 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
141
142         * elmo.el: Fix typo: disptch -> dispatch.
143
144 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
145
146         * elmo.el (elmo-file-tag): New class.
147         (elmo-append-messages-disptch-table): New constant.
148         (elmo-folder-type-p): New function.
149         (elmo-folder-append-messages): Redefine as function.
150
151         * elmo-null.el (elmo-folder-append-messages): Renamed from
152         `elmo-folder-append-messages'.
153
154         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
155         (elmo-folder-append-messages-*-maildir): Renamed from
156         `elmo-folder-append-messages'.
157
158         * elmo-localdir.el (elmo-localdir-folder): Inherit
159         `elmo-file-tag'.
160         (elmo-folder-append-messages-*-localdir): Renamed from
161         `elmo-folder-append-messages'.
162
163         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
164         from `elmo-folder-append-messages'.
165
166         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
167         `elmo-folder-append-messages'.
168
169         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
170         function.
171         (elmo-folder-append-messages-*-filter): Ditto.
172
173         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
174
175         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
176         (elmo-folder-append-messages-*-pipe): Renamed from
177         `elmo-folder-append-messages'.
178
179         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
180
181         * elmo-file.el (elmo-file-folder): Ditto.
182
183         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
184
185         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
186         from `elmo-folder-append-messages'
187
188 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
189
190         * elmo-map.el (elmo-location-map-setup): Change an argument
191         `locations' to optional.
192         (elmo-location-map-clear): Abolish.
193         (elmo-folder-clear): Follow the API change.
194
195         * elmo-pop3.el (elmo-folder-clear): Ditto.
196
197         * elmo-pop3.el (toplevel): Require elmo-map.
198         (elmo-pop3-folder): Inherit elmo-location-map and abolish
199         location-alist slot (All other related portions are changed).
200         (elmo-pop3-folder-use-uidl): New function.
201         (elmo-folder-msgdb-create): Don't sort message entities.
202         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
203         (elmo-pop3-number-to-size): Convert return value to number.
204         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
205         working buffer.
206
207         * elmo-map.el: Use `location-map' as a variable name for instance
208         instead of `mapper'.
209         (elmo-location-map-setup): Return location alist.
210         (elmo-location-map-update): Ditto.
211
212 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
213
214         * elmo-map.el (elmo-location-map): New class; split location and
215         number mapping from elmo-map-folder (All other related portions
216         are changed).
217
218         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
219         change.
220
221         * elmo-version.el (elmo-version): Up to 2.15.4.
222
223 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
224
225         * elmo-vars.el (elmo-use-hardlink): New user option.
226
227         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
228         `elmo-use-hardlink'.
229
230         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
231         killed-list.
232         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
233         instead of `*-internal'. Use `elmo-with-progress-display'.
234
235 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
236
237         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
238         `elmo-spam-process-messages-as-mbox'.
239
240         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
241
242 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
243
244         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
245         argument BUFFER of `call-process'.
246
247 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
248
249         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
250         args.
251         (elsp-bsfilter-list-spam-files): Ditto.
252
253 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
254
255         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
256         (elmo-spam-bsfilter-max-messages-per-process): New use option.
257         (elmo-spam-bsfilter-debug): Fix a group.
258         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
259         `--homedir'.
260         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
261         (elsp-bsfilter-list-spam-files): New function.
262         (elmo-spam-list-spam-messages): Define.
263         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
264         (elmo-spam-bsfilter-register-messages): New function.
265         (elmo-spam-register-spam-messages): Define.
266         (elmo-spam-register-good-messages): Ditto.
267
268         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
269
270         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
271         `nconc' and `consp'.
272
273 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
274
275         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
276         hash table to test whether a location is exists.
277
278 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
279
280         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
281         even if some error occurred.
282
283         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
284         meaningless unwind-protect.
285
286         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
287         start-number correctly.
288         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
289         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
290
291 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
292
293         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
294         (elmo-folder-initialize): Use it.
295         (elmo-global-flag-replace-referrer): New function.
296
297         * elmo.el (toplevel): Added autoload setting for
298         `elmo-global-flag-replace-referrer'.
299         (elmo-folder-rename): Rewrite the last change use
300         `elmo-global-flag-replace-referrer'.
301
302         * elmo-pipe.el (elmo-folder-rename): Call
303         `elmo-global-flag-replace-referrer'.
304
305 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
306
307         * elmo.el (elmo-folder-rename): Set meta data for global flags
308         follow the rename.
309
310 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
311
312         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
313         as 'not-loaded.
314         (elmo-folder-close): Ditto.
315         (elmo-filter-folder-number-list-loaded-p): New function.
316         (elmo-filter-folder-number-list): Check whether loaded or not.
317         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
318         of `elmo-filter-folder-number-list-internal'.
319         (elmo-folder-delete-messages): Ditto.
320         (elmo-folder-length): Check whether number-list is loaded or not.
321
322 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
323
324         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
325         field `real field' into each element of list.
326         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
327         (elmo-msgdb-message-entity-field): Ditto.
328         (modb-entity-ml-info-real-fields): New function.
329
330         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
331
332         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
333         `elmo-msgdb-extra-fields'.
334
335 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
336
337         * elmo-util.el (elmo-passwd-alist-load): Move point to min
338         position before read.
339
340 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
341
342         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
343         (elmo-global-flags-initialize): Ditto.
344
345 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
346
347         * elmo-archive.el (toplevel): Don't require emu, std11
348         and elmo-localdir.
349
350         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
351         definition.
352
353 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
354
355         * elmo.el (elmo-folder-confirm-appends): Display folder name.
356
357 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
358
359         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
360         literals.
361
362 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
363
364         * elmo-maildir.el (elmo-maildir-list-location): Reduce
365         `elmo-get-last-modification-time' call.
366
367 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
368
369         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
370         expression.
371         (elmo-maildir-set-mark): Ditto.
372         (elmo-maildir-delete-mark): Ditto.
373
374 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
375
376         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
377         optional argument `separators'.
378
379 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
380
381         * elmo.el (cache-changed): Abolish.
382         (status-changed): New signal.
383         (elmo-message-killed-p): New generic function and define for
384         elmo-folder.
385         (elmo-folder-recover-messages): Ditto.
386         (elmo-message-set-cached): Emit signal `status-changed' instead of
387         `cache-changed'.
388         (elmo-message-status): New macro.
389         (elmo-message-status-folder): Ditto.
390         (elmo-message-status-number): Ditto.
391         (elmo-message-status-set-flags): Ditto.
392         (elmo-message-status-set-killed): Ditto.
393         (elmo-message-status-flags): New function.
394         (elmo-message-status-cached-p): Ditto.
395         (elmo-message-status-killed-p): Ditto.
396
397         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
398         `status-changed' instead of `cache-changed'.
399         (elmo-folder-recover-messages): Define.
400         (elmo-message-killed-p): Ditto.
401
402         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
403         `status-changed' instead of `cache-changed'.
404
405         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
406         (elmo-message-killed-p): Define.
407         (elmo-folder-recover-messages): Ditto.
408
409         * elmo-version.el (elmo-version): Up to 2.15.3.
410
411 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
412
413         * elmo-signal.el (elmo-signal-bindings): Use cons to append
414         element into list.
415         (elmo-define-signal-handler): Add docstring.
416         (elmo-define-signal-filter): Ditto.
417
418         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
419
420 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
421
422         * elmo-util.el (elmo-flatten): Don't use recursive call.
423
424         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
425         assignment.
426         (elmo-folder-message-make-temp-files): Use `number-to-string'
427         instead of `int-to-string'.
428
429 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
430
431         * elmo-search.el (elmo-folder-delete-messages): Define.
432
433 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
434
435         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
436         customization type.
437         (elmo-mailing-list-count-spec-list): Ditto.
438
439         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
440         for `list-id'.
441
442 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
443
444         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
445         handling.
446
447 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
448
449         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
450         (elmo-mailing-list-count-spec-list): Ditto.
451
452         * elmo-util.el (elmo-map-until-success): New function.
453         (elmo-string-match-substring): Ditto.
454         (elmo-find-list-match-value): Ditto.
455
456         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
457         Removed.
458         (modb-entity-extract-ml-info-from-subject): Ditto.
459         (modb-entity-extract-ml-info-from-return-path): Ditto.
460         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
461         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
462         (modb-entity-extract-ml-info-from-mailman): Ditto.
463         (modb-entity-extract-mailing-list-info-functions): Ditto.
464         (modb-entity-extract-mailing-list-info): Rewrite with
465         `elmo-find-list-match-value'.
466
467 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
468
469         * elmo-net.el (elmo-network-session-retry-count): New user option.
470         (elmo-network-session-buffer-name): New internal function.
471         (elmo-network-session-buffer-create): Ditto.
472         (elmo-network-open-session): Retry open network session
473         `elmo-network-session-retry-count' times.
474
475 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
476
477         * elmo-util.el (elmo-list-filter): Rewritten.
478
479 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
480
481         * elmo-util.el (elmo-string-member): Allow symbol element in list.
482
483 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
484
485         * elmo-search.el (elmo-make-search-engine): Use prefix
486         `elmo-search-' for require symbol instead of `else-'.
487         (elmo-search-engine-extprog): New class.
488         (elmo-search-engine-do-search): Remove nil from argument
489         list. Added argument pattern to evaluate element as function.
490         (elmo-search-engine-local-file): Derived from
491         `elmo-search-engine-extprog'.
492         (elmo-search-engine-create-message-entity): Check existance of file.
493         (elmo-search-engine-fetch-message): Ditto.
494         (elmo-search-namazu-index): Follow the API change.
495         (elmo-search-grep-target): Ditto.
496
497 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
498
499         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
500         characters of working buffer.
501
502         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
503         Does not bind `default-mime-charset'.
504         (elmo-msgdb-create-message-entity-from-buffer): Removed
505         unnecessary local bind.
506
507         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
508         function.
509         (modb-entity-extract-mailing-list-info-functions): Added it.
510
511 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
512
513         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
514         when number and message-id are non-nil.
515
516         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
517
518         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
519         conditional steatment.
520         (elmo-pop3-auth-apop): Likewise.
521         (elmo-network-authenticate-session): Likewise.
522
523 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
524
525         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
526         symbol `fill-column'.
527         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
528         decode field value.
529
530         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
531         (elmo-decoded-field-body): Ditto.
532
533 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
534
535         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
536         `tokens' to `params'.
537
538 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
539
540         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
541         working buffer.
542
543 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
544
545         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
546         decide index.
547
548 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
549
550         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
551         Set default value as nil.
552         (toplevel): Register search engines by
553         `elmo-search-register-engine' if there are not defined.
554
555         * elmo.el (autoload): Added autoload setting for
556         `elmo-search-register-engine'.
557
558 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
559
560         * elmo.el (toplevel): `[' is redefined as the prefix of the search
561         folder instead of nmz folder.
562         (elmo-nmz-default-index-path): Added obsolete variable setting.
563         (elmo-nmz-index-alias-alist): Ditto.
564         (elmo-nmz-use-drive-letter): Ditto.
565
566         * elmo-search.el (elmo-search-register-engine): New function.
567
568         * elmo-nmz.el: Removed.
569
570         * elmo-version.el (elmo-version): Up to 2.15.2.
571
572 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
573
574         * elmo-search.el: New file.
575
576 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
577
578         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
579         condition `larger' and `smaller'.
580
581 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
582
583         * elmo-util.el (elmo-safe-filename): Rewrite to replace
584         `"' (double quote) into "_Q_".
585
586 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
587
588         * elmo-net.el (elmo-net-quote-chars): Abolish.
589         (elmo-net-format-quoted): Ditto.
590
591 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
592
593         * elmo.el (elmo-get-folder-function): New variable.
594         (elmo-get-folder): New function.
595         (elmo-folder-rename): Call `elmo-make-folder' with specified
596         mime-charset.
597
598         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
599         `elmo-make-folder'.
600         (elmo-split-subr): Ditto.
601
602         * elmo-multi.el (elmo-folder-initialize): Ditto.
603
604         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
605
606         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
607         (elmo-flag-get-folder): Ditto.
608
609         * elmo-filter.el (elmo-folder-initialize): Ditto.
610
611         * elmo-access.el (elmo-folder-initialize): Ditto.
612         (elmo-access-folder-update-children): Ditto.
613
614         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
615         (elmo-dop-queue-flush): Ditto.
616         (elmo-folder-append-buffer-dop-delayed): Ditto.
617         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
618         mime-charset.
619
620         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
621         instead of `elmo-make-folder'.
622         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
623         destination folder instead of send `elmo-folder-rename-internal'.
624
625         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
626         slot of subfolder instead of create it.
627
628 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
629
630         * elmo-util.el (elmo-collect-separators): New function.
631         (elmo-collect-separators-internal): Ditto.
632         (elmo-collect-trail-separators): Ditto.
633         (elmo-parse-separated-tokens): Ditto.
634         (elmo-parse-separated-tokens-internal): Ditto.
635         (elmo-quote-syntactical-element): Ditto.
636
637         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
638         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
639
640         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
641         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
642         (elmo-nntp-folder-list-subfolders): Quote a user name.
643
644         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
645         (elmo-net-parse-network): Abolish.
646         (elmo-net-folder-set-parameters): New function.
647         (elmo-folder-initialize): Follow the above change.
648
649         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
650         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
651         (elmo-folder-list-subfolders): Use
652         `elmo-quote-syntactical-element' instead of
653         `elmo-net-format-quoted' to quote mailbox and user name.
654
655 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
656
657         * elmo-util.el (elmo-token-valid-p): New function.
658         (elmo-parse-token): Add optional argument `requirement'.
659         (elmo-parse-prefixed-element): Likewise.
660
661         * elmo-net.el (elmo-net-quote-chars): Renamed from
662         `elmo-net-quote-chars-regexp'.
663         (elmo-net-format-quoted): Add optional argument `extra-chars'.
664
665         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
666         by info document. Check token `uidl' is started an alphabet.
667
668         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
669         by info document. Check token `user' is started an alphabet.
670
671         * elmo-imap4.el (elmo-folder-initialize): Ditto.
672         (elmo-folder-list-subfolders): Quote user.
673
674 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
675
676         * elmo-util.el (elmo-quoted-specials-list): New constant.
677         (elmo-quoted-token): New function.
678
679         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
680         (elmo-net-format-quoted): New function.
681         (elmo-net-parse-network): Ditto.
682         (elmo-folder-initialize): Use it.
683
684         * elmo-nntp.el (elmo-folder-initialize): Use
685         `elmo-net-parse-network' to parse network specification instead of
686         `elmo-folder-initialize#elmo-net'.
687
688         * elmo-pop3.el (elmo-folder-initialize): Ditto.
689
690         * elmo-imap4.el (elmo-folder-initialize): Ditto.
691         (elmo-folder-list-subfolders): Quote folder name by
692         `elmo-net-format-quoted'.
693
694 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
695
696         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
697         (elmo-folder-search): Use it.
698
699 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
700
701         * modb-standard.el (modb-standard-loaded-message-id): Use
702         `elmo-msgdb-message-entity-field'.
703
704 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
705
706         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
707         without filename.
708
709 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
710
711         * elmo-util.el (elmo-set-auto-coding): New function.
712         (elmo-object-load): Use it.
713
714 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
715
716         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
717         (elmo-time<): Define as alias of `elmo-time-less-p'.
718         (elmo-time-to-datevec): New function.
719
720         * elmo-date.el (elmo-time-to-days): New function.
721
722 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
723
724         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
725         is not cons cell.
726
727 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
728
729         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
730         parenthesis.
731
732         * elmo-util.el (elmo-map-recursive): New function.
733
734         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
735         (modb-entity-encode-string-recursive): Ditto.
736
737 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
738
739         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
740         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
741         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
742         compare sequence number when last modified time is nil.
743
744 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
745
746         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
747
748         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
749
750 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
751
752         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
753         modification time of the file.
754
755 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
756
757         * elmo-util.el (elmo-condition-optimize): Discriminated against
758         preserved fields, extra fields and the other weight.
759
760 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
761
762         * modb-entity.el (initialize-instance): Define.
763         (modb-entity-handler-mime-charset): New internal function.
764         (modb-standard-entity-set-field): Use it.
765         (elmo-msgdb-message-entity-field): Ditto.
766         (elmo-msgdb-message-entity-field): Ditto.
767
768         * modb.el (elmo-msgdb-match-condition): Rewrite with
769         `elmo-condition-match'.
770         (elmo-msgdb-match-condition-primitive): New function.
771
772         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
773         arguments `flags' and `numbers'.
774         (elmo-msgdb-match-condition-primitive): Abolished (merged to
775         `elmo-msgdb-message-match-condition').
776         (modb-buffer-entity-handler): New class.
777
778         * elmo.el (elmo-folder-search): Optimize condition to use
779         `elmo-condition-optimize'.
780         (elmo-message-buffer-match-condition): New function.
781         (elmo-message-match-condition): Use
782         `elmo-message-buffer-match-condition' instead of
783         `elmo-buffer-field-condition-match'.
784
785         * elmo-util.el (elmo-condition-match): New function.
786         (elmo-condition-optimize): Ditto.
787         (elmo-buffer-field-primitive-condition-match): Abolish.
788         (elmo-buffer-field-condition-match): Ditto.
789
790         * elmo-archive.el (elmo-archive-field-condition-match): Use
791         `elmo-message-buffer-match-condition' instead of
792         `elmo-buffer-field-condition-match'.
793
794 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
795
796         * elmo-flag.el (elmo-global-flags-initialize): Check the
797         existence of the flag directory.
798
799 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
800
801         * elmo-access.el (elmo-folder-initialize): Call
802         `elmo-multi-connect-signals'.
803
804         * elmo-pipe.el (elmo-folder-close): Define.
805
806         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
807         children folders.
808
809         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
810         with target folder.
811
812         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
813         `number'.
814
815         * elmo-multi.el (elmo-message-entity): Don't use return value of
816         `elmo-message-entity-set-number'.
817
818 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
819
820         * modb.el (modb-generic): Added slot `mime-charset'.
821
822         * modb-standard.el (modb-standard): Added slot `overview-handler'.
823         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
824         and `modb-entity-handler-dump-parameters'.
825         (modb-standard-default-entity-handler): Abolish.
826         (elmo-msgdb-message-entity-handler): Save created handler by
827         instance slot.
828
829         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
830         (modb-entity-handler-list-parameters): New method.
831         (modb-entity-handler-equal-p): New function.
832         (modb-entity-handler-dump-parameters): Ditto.
833         (modb-entity-parse-address-string): Encode return value.
834         (modb-entity-make-address-string): Decode argument value.
835         (modb-entity-decode-string-recursive): New function.
836         (modb-entity-encode-string-recursive): Ditto.
837         (modb-standard-entity-normalizer): Set to encode field value.
838         (modb-standard-entity-specializer): Follow the above change.
839         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
840         mime-charset of handler.
841         (elmo-msgdb-message-entity-field): Ditto.
842         (elmo-msgdb-copy-message-entity): Fixed reference to internal
843         structure.
844         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
845
846         * elmo.el (elmo-folder): Added slot `mime-charset'.
847         (elmo-make-folder): Added argument `mime-charset'.
848         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
849         `mime-charest'.
850
851         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
852         (elmo-make-msgdb): Likewise.
853
854         * elmo-internal.el (elmo-internal-folder-initialize): Call
855         `luna-make-entity' with :mime-charset parameter.
856
857 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
858
859         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
860         encoded words in `from' and `subject' field.
861
862 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
863
864         * modb.el (elmo-msgdb-message-field): Add argument `type'.
865         (elmo-msgdb-match-condition): Get handler from entity instead of
866         msgdb.
867
868         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
869         (modb-standard-load-entity): Treat new file format.
870         (modb-standard-save-entity-1): Save as new file format.
871         (modb-standard-save-entity): Split messages into section here.
872         (elmo-msgdb-message-field): Follow the API change.
873         (modb-standard-default-entity-handler): New internal variable.
874         (elmo-msgdb-message-entity-handler): Define.
875
876         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
877         to `elmo-vars.el'.
878         (modb-entity-field-extractor-alist): New user option.
879         (elmo-msgdb-message-entity-field): Removed argument `decode' and
880         added argument `type'.
881         (elmo-msgdb-copy-message-entity): Add optional argument
882         `make-handler'.
883         (modb-set-field-converter): New function.
884         (modb-convert-field-value): Ditto.
885         (modb-entity-string-decoder): Ditto.
886         (modb-entity-string-encoder): Ditto.
887         (modb-entity-parse-date-string): Ditto.
888         (modb-entity-make-date-string): Ditto.
889         (modb-entity-mime-decoder): Ditto.
890         (modb-entity-mime-encoder): Ditto.
891         (modb-entity-address-list-decoder): Ditto.
892         (modb-entity-address-list-encoder): Ditto.
893         (modb-entity-parse-address-string): Ditto.
894         (modb-entity-make-address-string): Ditto.
895         (modb-entity-create-field-indices): Ditto.
896         (modb-legacy-entity-field-slots): New constant.
897         (modb-legacy-entity-field-indices): Ditto.
898         (modb-legacy-entity-normalizer): New variable.
899         (modb-legacy-entity-specializer): Ditto.
900         (modb-legacy-entity-field-index): New macro.
901         (modb-legacy-entity-set-field): New function.
902         (modb-legacy-make-message-entity): Rewrite.
903         (elmo-msgdb-create-message-entity-from-buffer): Use
904         `elmo-msgdb-get-references-from-buffer'. Use
905         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
906         Use `modb-legacy-entity-set-field' instead of
907         `elmo-msgdb-message-entity-set-field'.
908         (elmo-msgdb-message-entity-field): Rewrite.
909         (elmo-msgdb-message-entity-set-field): Ditto.
910         (elmo-msgdb-copy-message-entity): Make new entity by
911         `make-handler' if it specified.
912         (elmo-msgdb-message-match-condition): Define a method of
913         `modb-entity-handler' and follow the API change.
914         (modb-standard-entity-handler): New class.
915         (modb-entity-extract-ml-info-from-x-sequence): New function.
916         (modb-entity-extract-ml-info-from-subject): Ditto.
917         (modb-entity-extract-ml-info-from-return-path): Ditto.
918         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
919         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
920         (modb-entity-extract-mailing-list-info): Ditto.
921         (modb-entity-extract-mailing-list-info-functions): New variable.
922
923         * elmo.el (elmo-message-field): Add optional argument `type'.
924
925         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
926         from `modb-entity.el'.
927
928         * elmo-util.el (elmo-object-load): Decode by coding-system from
929         `set-auto-coding-function'.
930         (elmo-object-save): Use `detect-mime-charset-region' and add
931         coding cookie if encode.
932         (elmo-msgdb-get-references-from-buffer): New function.
933         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
934
935         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
936
937         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
938         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
939         instead of `shimbun-make-header' and follow the API change.
940         (elmo-shimbun-update-overview): Follow the API change.
941         (elmo-map-folder-list-message-locations): Ditto.
942
943         * elmo-pipe.el (elmo-message-field): Ditto.
944
945         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
946         Ditto.
947
948         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
949
950         * elmo-multi.el (elmo-message-field): Ditto.
951
952         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
953         (elmo-msgdb-sort-by-date): Ditto.
954         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
955         `elmo-message-entity-field'.
956         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
957         change.
958         (elmo-msgdb-overview-entity-get-from): Ditto.
959         (elmo-msgdb-overview-entity-get-subject): Ditto.
960         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
961         (elmo-msgdb-overview-entity-get-date): Ditto.
962         (elmo-msgdb-overview-entity-get-to): Ditto.
963         (elmo-msgdb-overview-entity-get-cc): Ditto.
964
965         * elmo-mime.el (elmo-message-mime-entity): Ditto.
966         (elmo-mime-collect-message/partial-pieces): Ditto.
967
968         * elmo-filter.el (elmo-message-field): Ditto.
969
970         * elmo-date.el (elmo-datevec-to-time): New function.
971         (elmo-time-parse-date-string): Ditto.
972         (elmo-time-make-date-string): Ditto.
973         (elmo-time<): Ditto.
974
975         * elmo-version.el (elmo-version): Up to 2.15.1.
976
977 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
978
979         * elmo-flag.el (elmo-global-flags-initialize): Don't include
980         member of elmo-local-flags.
981
982 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
983
984         * elmo-version.el (elmo-version): Up to 2.15.0.
985
986 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
987
988         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
989         `ignore-msgdb' is non-nil.
990
991 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
992
993         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
994         (elmo-condition-in-msgdb-p): Ditto.
995         (elmo-file-field-primitive-condition-match): Ditto.
996         (elmo-file-field-condition-match): Ditto.
997
998         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
999
1000 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1001
1002         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1003         subdirectories here.
1004         (elmo-global-flags-initialize): New function.
1005
1006         * elmo.el (toplevel): Added autoload setting for
1007         `elmo-global-flags-initialize'.
1008
1009 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
1010
1011         * elmo.el (message-number-changed): Define new signal.
1012         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1013         message-number-changed signal.
1014         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1015         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1016         Respect `elmo-pack-number-check-strict'.
1017
1018 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1019
1020         * elmo-signal.el (elmo-connect-signal): Document.
1021         (elmo-emit-signal): Ditto.
1022         (elmo-emit-signal): It should pass source argument to filter and
1023         handler, not slot-source.
1024
1025 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1026
1027         * modb.el (elmo-msgdb-update-entity): New API and define generic
1028         implement.
1029
1030         * modb-standard.el (elmo-msgdb-update-entity): Define.
1031
1032         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1033         API and define generic implement.
1034
1035         * elmo.el (update-overview): New singnal.
1036
1037         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1038         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1039         (elmo-message-entity-parent): Define.
1040
1041         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1042         `update-overview'.
1043
1044         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1045
1046         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1047
1048 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1049
1050         * elmo.el (elmo-folder-synchronize): Sort the return value of
1051         `elmo-list-diff'.
1052
1053         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1054         list.
1055
1056 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1057
1058         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1059         `default-enable-multibyte-characters'.
1060         (elmo-object-load): Use `with-temp-buffer' instead of
1061         `elmo-set-work-buf'.
1062         (elmo-object-save): Ditto.
1063         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1064         `elmo-set-work-buf'.
1065         (elmo-decoded-field-body): Ditto.
1066
1067         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1068
1069         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1070         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1071
1072         * elmo-version.el (elmo-version): Up to 2.13.3.
1073
1074 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1075
1076         * elmo-util.el (elmo-list-diff): Fix the last change.
1077         Reverse order of result lists.
1078
1079 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1080
1081         * modb-standard.el (elmo-msgdb-set-flag): Use
1082         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1083         (elmo-msgdb-unset-flag): Ditto.
1084
1085         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1086         `elmo-list-diff'.
1087
1088         * elmo-util.el (elmo-list-diff): Rewrite.
1089         (elmo-list-diff-nonsortable): New function.
1090
1091 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1092
1093         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1094         `elmo-multibypte-buffer-name'.  All referers are updated.
1095
1096 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1097
1098         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1099         (elmo-mime-entity-fragment-p): New function.
1100         (mime-elmo-buffer-entity): Added slot `reassembled'.
1101         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1102         (elmo-message-mime-entity-internal): New function (renamed from
1103         `elmo-message-mime-entity').
1104         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1105         (elmo-mime-make-reassembled-mime-entity): New function.
1106         (elmo-message-reassembled-mime-entity): Ditto.
1107         (elmo-mime-collect-message/partial-pieces): Ditto.
1108
1109 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1110
1111         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1112
1113         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1114         (elmo-with-enable-multibyte): New macro.
1115
1116         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1117
1118 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1119
1120         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1121         argument `number'.
1122         (elmo-filter-connect-signals): Follow the above change.
1123
1124 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1125
1126         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1127
1128         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1129         that only the first flag is used.
1130
1131 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1132
1133         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1134         if available.
1135
1136 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1137
1138         * elmo-signal.el: New file.
1139
1140         * elmo.el (toplevel): Require elmo-signal.
1141         (flag-changing, flag-changed, cache-changed): New signal.
1142         (elmo-folder): Remove slog `handlers'.
1143         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1144         `elmo-folder-notify-event'.
1145         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1146         (elmo-folder-unset-flag): Ditto.
1147         (elmo-event-handler): Abolish.
1148         (elmo-event-handler-flag-changed): Ditto.
1149         (elmo-event-handler-cache-changed): Ditto.
1150         (elmo-folder-add-handler): Ditto.
1151         (elmo-folder-remove-handler): Ditto.
1152         (elmo-folder-notify-event): Ditto.
1153
1154         * elmo-pipe.el (toplevel): Require elmo-signal.
1155         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1156         (elmo-pipe-connect-signals): New function.
1157         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1158         (elmo-folder-set-flag): Ditto.
1159         (elmo-folder-unset-flag): Ditto.
1160         (elmo-message-set-cached): Ditto.
1161
1162         * elmo-multi.el (toplevel): Require elmo-signal.
1163         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1164         (elmo-multi-connect-signals): New function.
1165         (elmo-multi-map-numbers): Ditto.
1166         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1167         (elmo-message-fetch): Ditto.
1168         (elmo-folder-set-flag): Ditto.
1169         (elmo-folder-unset-flag): Ditto.
1170
1171         * elmo-filter.el (toplevel): Require elmo-signal.
1172         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1173         (elmo-filter-connect-signals): New function.
1174         (elmo-filter-add-flag-count): Ditto.
1175         (elmo-message-fetch): Does not call
1176         `elmo-filter-folder-countup-message-flags' and
1177         `elmo-folder-notify-event'.
1178         (elmo-message-set-cached): Ditto.
1179         (elmo-folder-set-flag): Ditto.
1180         (elmo-folder-unset-flag): Ditto.
1181
1182         * elmo-version.el (elmo-version): Up to 2.13.2.
1183
1184 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1185
1186         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1187         `flags'.
1188
1189 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1190
1191         * elmo-filter.el (elmo-message-set-cached): Call
1192         `elmo-folder-notify-event' with event `cache-changed'.
1193
1194         * elmo-multi.el (elmo-message-set-cached): Ditto.
1195
1196         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1197
1198 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1199
1200         * elmo.el (elmo-folder-encache): Abolish.
1201
1202 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1203
1204         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1205         (elmo-folder-next-message-number-dop): Return appropriate negative
1206         integer.
1207
1208 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1209
1210         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1211         clearing pending operations.
1212         (elmo-folder-next-message-number-dop): Return appropriate negative
1213         integer.
1214
1215 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1216
1217         * elmo.el (toplevel): Added autoload setting for `md5'.
1218         (elmo-msgdb-path-encode-threshold): New user option.
1219         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1220         longer than `elmo-msgdb-path-encode-threshold'.
1221
1222         * elmo-flag.el (elmo-global-mark-migrate): Use
1223         `elmo-folder-expand-msgdb-path' instead of
1224         `elmo-folder-msgdb-path'.
1225
1226 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1227
1228         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1229         element of the difference is nil.
1230
1231 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1232
1233         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1234         to the check logic of file systems which are weak in colon character.
1235
1236 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1237
1238         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1239
1240 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1241
1242         * elmo-maildir.el (elmo-maildir-move-file): New function.
1243         (elmo-folder-append-buffer): Use it.
1244         (elmo-folder-append-messages): Ditto.
1245         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1246
1247         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1248         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1249
1250         * elmo-maildir.el (elmo-maildir-separator): New user option.
1251         (elmo-maildir-adjust-separator): New macro.
1252         (elmo-maildir-list-location): Use it.
1253         (elmo-maildir-update-current): Ditto.
1254         (elmo-maildir-set-mark): Ditto.
1255         (elmo-maildir-delete-mark): Ditto.
1256         (These changes are based on Hiroya Murata's patch [wl: 13437])
1257
1258 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1259
1260         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1261
1262 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1263
1264         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1265         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1266         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1267
1268 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1269
1270         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1271         Use `with-temp-buffer'.
1272
1273 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1274
1275         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1276
1277         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1278         `wl-read-search-condition').
1279         (elmo-read-search-condition-internal): Likewise.
1280
1281         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1282         (elmo-flag-valid-p): New function.
1283         (elmo-folder-initialize): Check flag name is valid.
1284
1285 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1286
1287         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1288         delimiter to obtain root mailbox itself.
1289
1290 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1291
1292         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1293         type mismatch.
1294
1295 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1296
1297         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1298         as t.
1299
1300 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1301
1302         * elmo-shimbun.el (toplevel): Require cl at compile.
1303
1304         * elmo-nntp.el (toplevel): Ditto.
1305
1306         * elmo-nmz.el (toplevel): Ditto.
1307
1308         * elmo-multi.el (toplevel): Ditto.
1309
1310         * elmo-file.el (toplevel): Ditto.
1311
1312         * elmo-dop.el (toplevel): Ditto.
1313
1314         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1315
1316 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1317
1318         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1319         as nil.
1320
1321         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1322         size of elmo-message-fetch-internal is 0 byte.
1323
1324 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1325
1326         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1327
1328 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1329
1330         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1331         always plugged.
1332
1333 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1334
1335         * elmo-maildir.el (elmo-map-message-fetch): Call
1336         `elmo-map-folder-set-flag'.
1337
1338         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1339         (elmo-message-fetch): Merge from
1340         `elmo-message-fetch-with-cache-process'.
1341
1342         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1343         (elmo-message-fetch): Define.
1344
1345         * elmo-nntp.el (elmo-message-fetch): Renamed from
1346         `elmo-message-fetch-with-cache-process'.
1347
1348         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1349         (elmo-message-fetch): Define.
1350
1351         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1352         search-key.
1353
1354         * elmo-shimbun.el (shimbun-mua-search-id): Use
1355         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1356         (elmo-shimbun-folder-shimbun-header): Ditto.
1357         (elmo-shimbun-get-headers): Ditto.
1358         (elmo-shimbun-update-overview): Ditto.
1359
1360         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1361
1362         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1363         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1364
1365 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1366
1367         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1368         message is cached.
1369         (elmo-message-fetch-string): Fixed argument.
1370
1371 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1372
1373         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1374         exchange order of arguments `section' and `unread'.
1375         (elmo-message-encache): Follow the API change.
1376         (elmo-message-match-condition): Ditto.
1377         (elmo-generic-folder-append-messages): Ditto.
1378         (elmo-message-fetch-string): New function.
1379
1380         * elmo-split.el (elmo-split-subr): Ditto.
1381
1382         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1383
1384         * elmo-pipe.el (elmo-message-fetch): Ditto.
1385
1386         * elmo-multi.el (elmo-message-fetch): Ditto.
1387
1388         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1389
1390         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1391
1392         * elmo-filter.el (elmo-message-fetch): Ditto.
1393
1394         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1395
1396         * elmo-imap4.el (mime-imap-location-section-body): Use
1397         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1398         follow the API change.
1399
1400 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1401
1402         * elmo-access.el: New file.
1403
1404         * elmo-null.el: Ditto.
1405
1406         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1407
1408 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1409
1410         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1411         (elmo-network-session): New attribute `last-accessed'.
1412         (elmo-network-get-session): Discard network cache if elapsed time
1413         since last-accessed is larger than elmo-network-session-idle-timeout.
1414
1415 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1416
1417         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1418         and added `number', `require-entireness'.
1419         (elmo-find-fetch-strategy): Rewrite.
1420         (elmo-message-fetch): Unset `unread' flag when argument unread is
1421         non-nil.
1422
1423         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1424
1425         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1426         (elmo-message-fetch): Notify event `flag-changed'.
1427
1428         * elmo-pipe.el: Likewise.
1429
1430         * elmo-mime.el (elmo-mime-entity): New class.
1431         (elmo-mime-entity-display-p): New generic function.
1432         (elmo-mime-entity-display): Ditto.
1433         (elmo-mime-entity-display-as-is): Ditto.
1434         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1435         elmo-mime-entity.
1436         (elmo-make-mime-message-location): Removed.
1437         (elmo-mime-message-display): Ditto.
1438         (elmo-mime-display-as-is): Ditto.
1439         (elmo-message-mime-entity): New function.
1440
1441         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1442
1443         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1444         change.
1445         (elmo-message-fetch): Re-count flagged message number and notify
1446         event `flag-changed'.
1447
1448         * elmo-version.el (elmo-version): Up to 2.13.1.
1449
1450 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1451
1452         * elmo-filter.el (elmo-message-field): Define.
1453         (elmo-message-set-field): Ditto.
1454
1455 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1456
1457         * elmo.el (elmo-message-set-cached): Call
1458         `elmo-folder-notify-event' with cache-changed.
1459         (elmo-event-handler-cache-changed): New generic function.
1460
1461 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1462
1463         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1464         instead of elmo-add-name-to-file.
1465         (elmo-folder-append-messages): Ditto.
1466
1467 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1468
1469         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1470
1471 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1472
1473         * elmo-version.el (elmo-version): Up to 2.13.0.
1474
1475         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1476         `auto'.
1477
1478         * modb-standard.el (modb-standard-economize-entity-size): Changed
1479         default value to `t'.
1480
1481         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1482         `standard'.
1483
1484         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1485         after parsing greeting string.
1486
1487 2004-11-23  Daishi Kato <daishi@axlight.com>
1488
1489         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1490         New user option.
1491         (elmo-spam-spamoracle-call): Use it.
1492
1493 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1494
1495         * elmo.el (elmo-message-accessible-p): Message in dop spool
1496         is accessible.
1497
1498 2004-11-23  Daishi Kato <daishi@axlight.com>
1499
1500         * elsp-spamoracle.el: New file.
1501
1502 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1503
1504         * elmo.el (elmo-message-flags-for-append): New function.
1505         (elmo-generic-folder-append-messages): Use it.
1506
1507         * elmo-split.el (elmo-split-subr): Ditto.
1508
1509         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1510         `flags' and use elmo-folder-append-buffer instead of
1511         write-region-as-binary.
1512         (elmo-dop-filter-pending-messages): New function.
1513         (elmo-folder-append-buffer-dop): Call
1514         elmo-dop-spool-folder-append-buffer with `flag'.
1515         (elmo-folder-set-flag-dop): Filter messages by
1516         elmo-dop-filter-pending-messages.
1517         (elmo-folder-unset-flag-dop): Ditto.
1518         (elmo-folder-append-buffer-dop-delayed): Use
1519         elmo-message-flags-for-append to get flags of the message and
1520         simplify.
1521
1522 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1523
1524         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1525
1526 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1527
1528         * elmo.el (elmo-folder): Added handlers slot.
1529         (elmo-event-handler): New class.
1530         (elmo-event-handler-flag-changed): New API.
1531         (elmo-folder-add-handler): New function.
1532         (elmo-folder-remove-handler): Ditto.
1533         (elmo-folder-notify-event): Ditto.
1534         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1535         `flag-changed'.
1536         (elmo-folder-unset-flag): Ditto.
1537
1538         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1539         (elmo-folder-unset-flag): Ditto.
1540
1541         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1542         (elmo-folder-unset-flag): Ditto.
1543
1544         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1545         (elmo-folder-unset-flag): Ditto.
1546
1547         * elmo-version.el (elmo-version): Up to 2.11.33.
1548
1549 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1550
1551         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1552
1553 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1554
1555         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1556
1557         * elmo-flag.el (elmo-folder-unset-flag): Define.
1558         (elmo-global-flag-detach): Do process when the flag is not target
1559         flag.
1560
1561 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1562
1563         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1564         variable.
1565         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1566
1567 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1568
1569         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1570         function.
1571         (elmo-folder-delete-messages): Detach messages before delete
1572         messages from target folder.
1573         (elmo-folder-detach-messages): Set updated number-list to slot.
1574
1575 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1576
1577         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1578
1579 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1580
1581         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1582
1583 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1584
1585         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1586         internal use only).
1587         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1588         not modified.
1589         (elmo-folder-delete-messages): Define.
1590         (elmo-folder-move-messages): Don't call
1591         `elmo-folder-detach-messages'.
1592         (elmo-folder-synchronize): Rewrite.
1593         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1594
1595         * elmo-util.el (elmo-last): New function.
1596         (elmo-set-list): Ditto.
1597         (elmo-number-set-delete-list): Ditto.
1598         (elmo-number-set-delete): Ditto.
1599
1600         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1601
1602         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1603         `elmo-folder-delete-messages' and don't delete location map.
1604         (elmo-folder-detach-messages): Define.
1605
1606         * elmo-imap4.el (elmo-folder-delete): Use
1607         `elmo-folder-delete-messages-internal' instead of
1608         `elmo-folder-delete-messages'.
1609
1610         * elmo-filter.el (elmo-folder-delete-messages): Call
1611         `elmo-folder-detach-messages'.
1612         (elmo-folder-detach-messages): Don't call
1613         `elmo-folder-detach-messages' for target folder.
1614
1615         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1616         message deletion is succeeded.
1617
1618         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1619
1620         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1621         from `elmo-folder-delete-messages'.
1622
1623         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1624
1625         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1626
1627         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1628
1629         * elmo-version.el (elmo-version): Up to 2.11.32.
1630
1631 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1632
1633         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1634         (elmo-global-flag-list): Added obsolete variable setting.
1635
1636         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1637
1638         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1639         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1640         `elmo-mime-display-header-analysis' is nil.
1641
1642         * elmo-flag.el (elmo-global-flags): Renamed from
1643         `elmo-global-flag-list' (All other related portions are changed).
1644         (elmo-local-flags): New variable.
1645         (elmo-local-flag-p): New function.
1646         (elmo-global-flag-set-internal): Cause an error when flag is not
1647         global.
1648
1649 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1650
1651         * elmo-util.el (elmo-concat-path): Treat empty path.
1652
1653 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1654
1655         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1656         field-or-fields).
1657         (elmo-split-address-match): Ditto.
1658         (elmo-split-equal): Ditto.
1659         (elmo-split-match): Ditto.
1660
1661 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1662
1663         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1664         (elmo-generic-folder-append-messages): If src message exists but
1665         has no flag, pass (read) for the FLAG argument of
1666         `elmo-folder-append-buffer'. Otherwise, pass nil.
1667
1668         * elmo-split.el (elmo-split-subr): Likewise.
1669
1670         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1671
1672         * elmo-multi.el (elmo-message-flags): Ditto.
1673
1674         * elmo-filter.el (elmo-message-flags): Ditto.
1675
1676         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1677         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1678         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1679         
1680 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1681
1682         * elmo-split.el (elmo-split-rule): Update comment.
1683         (elmo-split-address-equal): Allow 2nd argument to be a list.
1684         (elmo-split-address-match): Ditto.
1685         (elmo-split-equal): Ditto.
1686         (elmo-split-match): Ditto.
1687
1688 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1689
1690         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1691         (elmo-folder-append-msgdb): Don't treat `read'.
1692         (elmo-message-flags): Don't return `read'.
1693
1694         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1695         (elmo-folder-unset-read-delayed): Ditto.
1696
1697         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1698
1699 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1700
1701         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1702         deletion.
1703
1704 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1705
1706         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1707         header.
1708
1709 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1710
1711         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1712         here.
1713         (elmo-msgdb-save): Bind inhibit-quit.
1714         (modb-standard-message-entity): Ditto.
1715
1716 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1717
1718         * elmo-database.el: No need to require elmo-msgdb.
1719
1720 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1721
1722         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1723         instead of `elmo-list-subdirectories'.
1724
1725 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1726
1727         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1728         group entry.
1729         (elmo-folder-exists-p): "[" is empty.
1730         (elmo-folder-list-subfolders): Define.
1731         (elmo-folder-have-subfolder-p): Ditto.
1732
1733 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1734
1735         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1736
1737 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1738
1739         * elmo-filter.el (elmo-folder-local-p): Define.
1740
1741 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1742
1743         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1744         when entity is garbaged.
1745         (modb-standard-save-entity-1): Don't modify the original entity.
1746
1747 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1748
1749         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1750
1751 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1752
1753         * elmo.el (elmo-strict-folder-diff): Use
1754         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1755
1756 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1757
1758         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1759         (elmo-msgdb-message-number): Ditto.
1760         (elmo-msgdb-message-field): Ditto.
1761
1762         * modb-standard.el (modb-standard-economize-entity-size): New user
1763         option.
1764         (modb-standard-loaded-message-id): New inline function.
1765         (modb-standard-load-entity): Use it.
1766         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1767         throw message-id string away.
1768         (elmo-msgdb-flag-available-p): Define.
1769         (elmo-msgdb-message-number): Ditto.
1770         (elmo-msgdb-message-field): Ditto.
1771
1772         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1773         (suppoted -> supported).
1774         (modb-legacy-supported-flag-p): Ditto.
1775         (elmo-msgdb-set-flag): Ditto.
1776         (elmo-msgdb-unset-flag): Ditto.
1777         (elmo-msgdb-flag-available-p): Define.
1778
1779         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1780         is `t', treat it as legacy entity.
1781         
1782         * elmo.el (elmo-message-flag-available-p): New generic function.
1783         (elmo-message-number): Ditto.
1784         (elmo-message-field): Use `elmo-msgdb-message-field'.
1785
1786         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1787
1788         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1789         (elmo-message-number): Ditto.
1790
1791         * elmo-multi.el (elmo-message-number): Define.
1792         (elmo-message-flag-available-p): Ditto.
1793
1794         * elmo-filter.el (elmo-message-flag-available-p): Define.
1795         (elmo-message-number): Ditto.
1796
1797         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1798         (elmo-folder-initialize): Load `max-number'.
1799         (elmo-folder-commit): Save it.
1800         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1801         (elmo-global-flag-set-internal): Set up max-number slot.
1802
1803 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1804
1805         * elmo-version.el (elmo-version): Up to 2.11.31.
1806
1807 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1808
1809         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1810         unibyte string of the current buffer for the argument of `md5'
1811         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1812
1813 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1814
1815         * modb-legacy.el (modb-legacy-flag-list): New constant.
1816         (modb-legacy-suppoted-flag-p): New internal function.
1817         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1818         (elmo-msgdb-unset-flag): Ditto.
1819
1820 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1821
1822         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1823
1824         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1825         from msgdb.
1826
1827 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1828
1829         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1830         (follow the API change).
1831
1832         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1833
1834 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1835
1836         * modb-standard.el (modb-standard-digest-flags): Abolish.
1837         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1838
1839         * elmo-vars.el (elmo-digest-flags): New variable.
1840         (elmo-preserved-flags): Moved from elmo-flag.el.
1841
1842         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1843         (elmo-imap4-flag-to-imap-criteria): Ditto.
1844         (elmo-imap4-folder-list-flagged): Use it.
1845
1846         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1847
1848         * elmo.el (elmo-folder-count-flags): Changed return value.
1849
1850         * elmo-flag.el (elmo-preserved-flags): New variable.
1851         (elmo-get-global-flags): Use it.
1852
1853         * modb-standard.el (modb-standard-digest-flags): New variable.
1854         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1855         Changed behavior of `any'.
1856
1857         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1858         which are defined the Internet draft
1859         (draft-melnikov-imap-keywords-03.txt).
1860         (elmo-imap4-flags-to-imap): New function.
1861         (elmo-folder-append-buffer): Use it.
1862
1863         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1864         in the docstring.
1865
1866         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1867         avoid the bug of Emacs 21.3.
1868
1869 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1870
1871         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1872         function find-coding-system does not exist.
1873
1874 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1875
1876         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1877         parsing.
1878
1879 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1880
1881         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1882         response codes.
1883
1884 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1885
1886         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1887         (elmo-network-close-session): Follow the changes in
1888         `elmo-pop3-read-response'.
1889         (elmo-pop3-auth-user): Ditto.
1890         (elmo-pop3-auth-apop): Ditto.
1891         (elmo-network-initialize-session): Ditto.
1892         (elmo-network-authenticate-session): Ditto.
1893         (elmo-network-setup-session): Ditto.
1894         (elmo-folder-status): Ditto.
1895         (elmo-message-fetch-plugged): Ditto.
1896         (elmo-pop3-delete-msg): Ditto.
1897
1898 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1899
1900         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1901         on failure.
1902
1903 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1904
1905         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1906         style.
1907         (elmo-bind-directory): Ditto.
1908
1909 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1910
1911         * elmo.el (elmo-folder-append-messages): Note on return value.
1912         * elmo-archive.el (elmo-folder-append-messages): Don't return
1913         message numbers which could not be appended.
1914
1915 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1916
1917         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1918
1919 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1920
1921         * elmo-version.el (elmo-version): Up to 2.11.30.
1922
1923 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1924
1925         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1926         `mask'.
1927
1928         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1929
1930         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1931         (elmo-multi-split-numbers): Add elmo-folder object into each
1932         element of return value at first.
1933         (elmo-folder-delete-messages): Follow the above change.
1934         (elmo-folder-detach-messages): Ditto.
1935
1936         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1937         number which is synchronized in target folder.
1938
1939 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1940
1941         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1942         Change default value to symbol `all'.
1943         (elmo-map-message-fetch): Change condition to update overview
1944         follow the above.
1945
1946 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1947
1948         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1949         behavior to update overview.
1950         (elmo-shimbun-update-overview-folder-list): Note it.
1951
1952 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1953
1954         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1955         recursive call.
1956
1957 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1958
1959         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1960         buffer-disable-undo, it is unnecessary.
1961         (elmo-spam-register-good-messages): Ditto.
1962
1963         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1964         Ditto.
1965
1966         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1967
1968 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1969
1970         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1971         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1972         elmo-set-buffer-multibyte.
1973         (elmo-object-load): Ditto.
1974         (elmo-save-buffer): Ditto.
1975         (elmo-delete-char): Ditto.
1976         (elmo-file-field-primitive-condition-match): Ditto.
1977         (elmo-mime-string): Ditto.
1978
1979         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1980         (elmo-archive-field-condition-match): Ditto.
1981
1982         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1983
1984         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1985
1986         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1987         (elmo-nntp-msgdb-create-message): Ditto.
1988
1989         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1990
1991         * elmo.el (elmo-message-match-condition): Ditto.
1992         (elmo-message-match-condition): Ditto.
1993
1994         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1995         Ditto.
1996
1997         * elmo-version.el (elmo-version): Up to 2.11.29.
1998
1999         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2000         (elsp-header): New backend.
2001
2002         * elmo-util.el (elmo-decoded-field-body): New function.
2003
2004 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2005
2006         * elmo-version.el (elmo-version): Up to 2.11.28.
2007
2008 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2009
2010         * elmo-filter.el: Rewrite.
2011
2012         * elmo-version.el (elmo-version): Up to 2.11.27.
2013
2014 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
2015
2016         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2017         msgdb path for the localdir folder with absolute path.
2018
2019         * utf7.el: Synch up with latest gnus/utf7.el;
2020         Modified for latest Emacs.
2021
2022 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2023
2024         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2025         shimbun backend couldn't open.
2026
2027 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2028
2029         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2030         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2031         when a destination folder is a filter folder.
2032
2033 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2034
2035         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2036         (elmo-generic-folder-append-messages): Call elmo-message-flags
2037         with argument `msgid'.
2038
2039         * elmo-split.el (elmo-split-subr): Ditto.
2040
2041         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2042
2043         * elmo-multi.el (elmo-message-flags): Ditto.
2044
2045 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2046
2047         * elmo.el (elmo-folder): Add new slot `flag-table'.
2048         (elmo-folder-flag-table): New API.
2049         (elmo-folder-close-flag-table): Ditto.
2050         (elmo-folder-preserve-flags): New function.
2051         (elmo-generic-folder-append-messages): Use
2052         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2053         Flag of a non-registered message, it sets to nil.
2054         Does not set flag to flag-table.
2055
2056         * elmo-maildir.el (elmo-folder-append-buffer): Use
2057         `elmo-folder-preserve-flags'.
2058         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2059         `elmo-folder-close-flag-table'.
2060
2061         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2062         (elmo-archive-folder-append-buffer): Use
2063         `elmo-folder-preserve-flags'.
2064
2065         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2066
2067         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2068
2069         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2070         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2071         `elmo-folder-close-flag-table'.
2072
2073         * elmo-version.el (elmo-version): Up to 2.11.26.
2074
2075 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2076
2077         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2078
2079         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2080         md5's 4th and 5th argument (non-existent in flim one).
2081
2082 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2083
2084         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2085         message, It sets to nil.
2086
2087 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2088
2089         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2090         list is non-nil.
2091
2092 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2093
2094         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2095
2096         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2097
2098         * elmo-util.el (elmo-uniq-sorted-list): New function.
2099         (elmo-make-number-list): Ditto.
2100         (elmo-number-set-to-number-list): Use elmo-make-number-list
2101         and don't use nreverse.
2102
2103 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2104
2105         * elmo-version.el (elmo-version): Up to 2.11.25.
2106
2107 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2108
2109         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2110         field not exists in message, Use md5 message digest of header.
2111
2112 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2113
2114         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2115         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2116         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2117         * elmo-split.el (elmo-split-subr): Check return value of
2118         elmo-folder-append-buffer.
2119
2120         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2121         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2122
2123         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2124         message-id.
2125
2126 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2127
2128         * elmo-split.el (elmo-split-subr): Append message with flag.
2129
2130         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2131         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2132         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2133
2134 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2135
2136         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2137         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2138         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2139
2140 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2141
2142         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2143         with a function call of `process-buffer'.  All callers are updated.
2144         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2145         Remove redundant `set-buffer' in a while loop.
2146
2147 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2148
2149         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2150         calls.
2151
2152 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2153
2154         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2155         elsp-spamfilter-register-buffer-internal with current buffer.
2156         (elmo-spam-register-spam-buffer): Ditto.
2157         (elmo-spam-register-good-buffer): Ditto.
2158
2159 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2160
2161         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2162         if it is not contained in the response(A workaround for courier-imap).
2163
2164 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2165
2166         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2167         parenthesis.
2168
2169 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2170
2171         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2172         range.
2173
2174 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2175
2176         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2177         of nconc.
2178
2179         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2180         argument handler.
2181         (elmo-msgdb-message-match-condition): Follow the change above.
2182
2183 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2184
2185         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2186         folder name.
2187
2188 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2189
2190         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2191
2192 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2193
2194         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2195
2196 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2197
2198         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2199         not found.
2200
2201 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2202
2203         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2204         value.
2205         (elmo-file-command-argument): Undo last change for cygwin.
2206         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2207         Don't return nil.
2208         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2209
2210 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2211
2212         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2213         value returned from elmo-file-find is nil.
2214
2215 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2216
2217         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2218         to elmo-vars.el.
2219
2220         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2221         instead of insert-file-contents-as-binary.
2222         (elmo-message-set-field): New generic function.
2223
2224         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2225         behavior change on `split-string'.
2226
2227         * elmo-file.el (elmo-file-find): New function.
2228         (elmo-file-command): New user option.
2229         (elmo-file-command-argument): Ditto.
2230         (elmo-file-fetch-max-size): Ditto.
2231         (elmo-file-detect-format): New function.
2232         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2233         Use elmo-file-detect-format.
2234         (elmo-map-folder-list-message-locations): Don't treat directories.
2235
2236 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2237
2238         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2239         (elmo-passwd-alist-clear): Shred password before clear.
2240         (elmo-remove-passwd): Remove all mached pair.
2241
2242 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2243
2244         * elmo.el (elmo-folder-synchronize): Fix description of the return
2245         value.
2246
2247 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2248
2249         * elmo.el (elmo-message-fetch-bodystructure): New method.
2250         (elmo-message-fetch-bodystructure): Define default.
2251
2252         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2253         elmo-message-fetch-bodystructure.
2254         (elmo-message-fetch-bodystructure): Define.
2255
2256         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2257
2258 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2259
2260         * elmo-filter.el (elmo-message-folder): Define.
2261
2262 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2263
2264         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2265         elmo-delete-cr-buffer.
2266
2267         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2268
2269         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2270
2271         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2272
2273         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2274         type seems to be a text.
2275
2276 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2277
2278         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2279         (elmo-spam-register-good-buffer): Ditto.
2280         (elmo-spam-spamassassin-register-messages): Ditto.
2281
2282         * elmo-util.el (elmo-string-member-ignore-case): Define with
2283         static-cond.
2284
2285 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2286
2287         * elmo.el (elmo-folder-type): Undo last change.
2288
2289         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2290
2291         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2292         warnings.
2293
2294         * elmo-file.el: New file.
2295         
2296         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2297
2298         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2299         variable.
2300         (elmo-spam-spamassassin-register-messages): New inline function.
2301         (elmo-spam-register-spam-messages): Define.
2302         (elmo-spam-register-good-messages): Ditto.
2303
2304         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2305         Fixed typo.
2306
2307         * elmo.el (toplevel): Added autoload setting for
2308         `elmo-get-global-flags'.
2309         (elmo-message-has-global-flag-p): New function.
2310         (elmo-message-set-global-flags): Ditto.
2311         (elmo-folder-type): Improvement for name: format.
2312
2313         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2314         availability of keyword flags.
2315         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2316         (elmo-folder-list-flagged-plugged): Renamed from
2317         elmo-folder-list-flagged-unplugged.
2318         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2319         accept any flag as keyword flag.
2320         (elmo-folder-set-flag-plugged): Accept keyword flags.
2321         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2322
2323         * elmo-flag.el (elmo-get-global-flags): New function.
2324
2325         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2326         folders.
2327
2328         * elmo-version.el (elmo-version): Up to 2.11.24.
2329
2330 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2331
2332         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2333         elmo-multiple-field-body instead of std11-field-body to check all
2334         headers.
2335
2336 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2337
2338         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2339         or "size".
2340
2341 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2342
2343         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2344         unintern is unbound.
2345
2346 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2347
2348         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2349         Protect from infinite loop.
2350
2351 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2352
2353         * elsp-bogofilter.el
2354         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2355         (elmo-spam-bogofilter-register-messages): New internal function.
2356         (elmo-spam-register-spam-messages): Define.
2357         (elmo-spam-register-good-messages): Ditto.
2358
2359 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2360
2361         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2362         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2363         (elmo-spam-bogofilter-call): Fixed the last change.
2364         (elmo-spam-bogofilter-arguments): Ditto.
2365
2366         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2367         Follow the options change of latest bogofilter.
2368
2369         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2370         (elmo-spam-bogofilter-good-switch): Ditto.
2371         (elmo-spam-bogofilter-arguments-alist): New user option.
2372         (elmo-spam-bogofilter-debug): Ditto.
2373         (elmo-spam-bogofilter-call): Renamed from
2374         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2375         is non-nil, insert output in buffer for debug.
2376         (elmo-spam-bogofilter-arguments): New macro.
2377         (elmo-spam-buffer-spam-p): Use it.
2378         (elsp-bogofilter-register-buffer): Ditto.
2379
2380 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2381
2382         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2383         regexp.
2384
2385 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2386
2387         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2388         value as "ruby".
2389         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2390         (elmo-spam-bsfilter-program): Set default value as full path for
2391         `bsfilter'.
2392         (elmo-spam-bsfilter-debug): New user option.
2393         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2394         non-nil, insert output in buffer for debug. Fix treating of
2395         argument.
2396
2397 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2398
2399         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2400         `elmo-maildir-flag-specs' element instead of one.
2401         (elmo-map-folder-unset-flag): Ditto.
2402         (Reported by Ken Makimura <macky@astem.or.jp>)
2403
2404         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2405         (elmo-folder-unset-flag-plugged): Ditto.
2406
2407 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2408
2409         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2410         to `reads' slot only if `in-msgdb' is nil.
2411
2412 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2413
2414         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2415         and complement argument list.
2416
2417 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2418
2419         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2420         instead of elmo-folder-list-flagged.
2421
2422 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2423
2424         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2425
2426         * elsp-bsfilter.el: New file.
2427
2428         * elmo-pipe.el (elmo-folder-list-unreads,
2429         elmo-folder-list-answereds,
2430         elmo-folder-list-importants,
2431         elmo-folder-flag-as-important,
2432         elmo-folder-unflag-important,
2433         elmo-folder-flag-as-read,
2434         elmo-folder-unflag-read,
2435         elmo-folder-flag-as-answered,
2436         elmo-folder-unflag-answered): Remove.
2437         (elmo-folder-set-flag): Define.
2438         (elmo-folder-unset-flag): Ditto.
2439
2440         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2441         (elmo-folder-set-flag): Define.
2442         (elmo-folder-unset-flag): Ditto.
2443         (elmo-folder-list-unreads): Remove.
2444         (elmo-folder-list-flagged): Define.
2445
2446         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2447         (elmo-folder-list-unreads,
2448         elmo-folder-list-importants,
2449         elmo-folder-list-answereds,
2450         elmo-folder-list-unreads-plugged,
2451         elmo-folder-list-importants-plugged,
2452         elmo-folder-list-answereds-plugged): Remove.
2453         (elmo-folder-list-flagged-plugged): New method.
2454         (elmo-folder-unflag-important,
2455         elmo-folder-flag-as-important,
2456         elmo-folder-unflag-read,
2457         elmo-folder-flag-as-read,
2458         elmo-folder-unflag-answered,
2459         elmo-folder-flag-as-answered,
2460         elmo-folder-flag-as-read-unplugged,
2461         elmo-folder-unflag-read-unplugged,
2462         elmo-folder-flag-as-important-unplugged,
2463         elmo-folder-unflag-important-unplugged,
2464         elmo-folder-flag-as-answered-unplugged,
2465         elmo-folder-unflag-answered-unplugged): Remove.
2466         (elmo-folder-set-flag): Define.
2467         (elmo-folder-unset-flag): Ditto.
2468         (elmo-folder-set-flag-unplugged): Ditto.
2469         (elmo-folder-unset-flag-unplugged): Ditto.
2470
2471         * elmo-multi.el (elmo-folder-list-unreads,
2472         elmo-folder-list-answereds,
2473         elmo-folder-list-importants,
2474         elmo-folder-flag-as-important,
2475         elmo-folder-unflag-important,
2476         elmo-folder-flag-as-read,
2477         elmo-folder-unflag-read,
2478         elmo-folder-flag-as-answered,
2479         elmo-folder-unflag-answered): Remove.
2480         (elmo-folder-set-flag): Define.
2481         (elmo-folder-unset-flag): Ditto.
2482
2483         * elmo-map.el (elmo-map-folder-unflag-important,
2484         elmo-map-folder-flag-as-important,
2485         elmo-map-folder-unflag-read,
2486         elmo-map-folder-flag-as-read,
2487         elmo-map-folder-unflag-answered,
2488         elmo-map-folder-flag-as-answered): Remove.
2489         (elmo-map-folder-set-flag): New method.
2490         (elmo-map-folder-unset-flag): Ditto.
2491         (elmo-map-folder-list-unreads,
2492         elmo-map-folder-list-importants,
2493         elmo-map-folder-list-answereds): Remove.
2494         (elmo-folder-list-flagged-internal): Define.
2495         (elmo-map-folder-list-flagged): New method.
2496
2497         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2498         (elmo-map-folder-list-unreads,
2499         elmo-map-folder-list-importants,
2500         elmo-map-folder-list-flagged): Remove.
2501         (elmo-map-folder-list-flagged): Define.
2502         (elmo-map-folder-flag-as-important,
2503         elmo-map-folder-unflag-important,
2504         elmo-map-folder-flag-as-read,
2505         elmo-map-folder-unflag-read,
2506         elmo-map-folder-flag-as-answered,
2507         elmo-map-folder-unflag-answered): Remove.
2508         (elmo-maildir-set-mark-messages): New internal function.
2509         (elmo-map-folder-set-flag): Define.
2510         (elmo-map-folder-unset-flag): Ditto.
2511
2512         * elmo.el (toplevel): Added autoload setting for
2513         `elmo-folder-list-global-flag-messages'.
2514         (elmo-folder-list-unreads,
2515         elmo-folder-list-importants,
2516         elmo-folder-list-answereds): Remove.
2517         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2518         Return a list whitch merged with messages have global flag.
2519         (elmo-folder-list-flagged-internal): New method.
2520         (elmo-folder-unflag-important,
2521         elmo-folder-flag-as-important,
2522         elmo-folder-unflag-read,
2523         elmo-folder-flag-as-read,
2524         elmo-folder-unflag-answered,
2525         elmo-folder-flag-as-answered): Remove.
2526         (elmo-folder-set-flag): New method.
2527         (elmo-folder-unset-flag): Ditto.
2528         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2529         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2530
2531         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2532         (elmo-folder-list-unreads-plugged,
2533         elmo-folder-list-importants-plugged,
2534         elmo-folder-list-answereds-plugged,
2535         elmo-folder-list-flagged-unplugged,
2536         elmo-folder-unflag-important-plugged,
2537         elmo-folder-flag-as-important-plugged,
2538         elmo-folder-unflag-read-plugged,
2539         elmo-folder-flag-as-read-plugged,
2540         elmo-folder-unflag-answered-plugged,
2541         elmo-folder-flag-as-answered-plugged): Remove.
2542         (elmo-folder-set-flag-plugged,
2543         elmo-folder-unset-flag-plugged): Define.
2544
2545         * elmo-flag.el (elmo-folder-initialize): Register to
2546         `elmo-global-flag-list' if flag is not global.
2547         (elmo-folder-append-messages): Set flag to source messages.
2548
2549         * elmo-filter.el (elmo-filter-folder-list-unreads,
2550         elmo-folder-list-unreads,
2551         elmo-filter-folder-list-importants,
2552         elmo-folder-list-importants,
2553         elmo-folder-flag-as-read,
2554         elmo-folder-unflag-read,
2555         elmo-folder-flag-as-important,
2556         elmo-folder-unflag-important,
2557         elmo-folder-flag-as-answered,
2558         elmo-folder-unflag-answered): Remove.
2559         (elmo-folder-set-flag): Define.
2560         (elmo-folder-unset-flag): Ditto.
2561
2562         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2563         elmo-folder-unflag-read-dop,
2564         elmo-folder-flag-as-important-dop,
2565         elmo-folder-unflag-important-dop,
2566         elmo-folder-flag-as-answered-dop,
2567         elmo-folder-unflag-answered-dop): Remove.
2568         (elmo-folder-set-flag-dop,
2569         elmo-folder-unset-flag-dop,
2570         elmo-folder-set-important-delayed,
2571         elmo-folder-unset-important-delayed,
2572         elmo-folder-set-read-delayed,
2573         elmo-folder-unset-read-delayed,
2574         elmo-folder-set-answered-delayed,
2575         elmo-folder-unset-answered-delayed): New function.
2576         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2577         (elmo-dop-queue-method-name-alist): Ditto.
2578
2579         * elmo-version.el (elmo-version): Up to 2.11.23.
2580
2581 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2582
2583         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2584
2585         * elsp-sa.el: New file.
2586
2587 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2588
2589         * modb-standard.el (modb-standard-message-entity): New function.
2590         (elmo-msgdb-message-entity): Use it.
2591
2592 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2593
2594         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2595         behavior when one-level is nil.
2596
2597         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2598
2599         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2600
2601 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2602
2603         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2604         get max number.
2605         (elmo-generic-folder-diff): Ditto.
2606
2607         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2608         (elmo-folder-update-number): Ditto.
2609
2610         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2611         (elmo-folder-next-message-number-dop): Ditto.
2612
2613 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2614
2615         * elmo-filter.el (elmo-folder-msgdb-create): Use
2616         `elmo-message-entity' and `elmo-message-flags' instead of
2617         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2618
2619 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2620
2621         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2622         `if-exists'.
2623
2624 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2625
2626         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2627
2628         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2629
2630         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2631
2632 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2633
2634         * elmo-version.el (elmo-version): Up to 2.11.22.
2635
2636 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2637
2638         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2639
2640 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2641
2642         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2643         if the message dose not exist.
2644
2645 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2646
2647         * elmo-version.el (elmo-version): Up to 2.11.21.
2648
2649 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2650
2651         * modb-standard.el (toplevel): Don't require mime.
2652
2653 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2654
2655         * elsp-bogofilter.el (toplevel): Don't require path-util.
2656         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2657         (elmo-spam-bogofilter-header): Abolish.
2658         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2659         (elmo-spam-bogofilter-args): New user option.
2660         (elsp-bogofilter-call-bogofilter): New internal function.
2661         (elmo-spam-buffer-spam-p): Use it.
2662         (elsp-bogofilter-register-buffer): Renamed from
2663         `elmo-spam-bogofilter-register-buffer';
2664         Use `elsp-bogofilter-call-bogofilter'.
2665         (elmo-spam-register-spam-buffer): Follow the change above.
2666         (elmo-spam-register-good-buffer): Ditto.
2667
2668 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2669
2670         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2671         message-id is nil do nothing.
2672
2673 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2674
2675         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2676         Revival.
2677         (elmo-imap4-session): Removed use-flag slot.
2678         (elmo-imap4-session-select-mailbox): Undo last change.
2679         (elmo-folder-use-flag-p): Use
2680         elmo-imap4-disuse-server-flag-mailbox-regexp.
2681
2682 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2683
2684         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2685         (elmo-imap4-session-select-mailbox): Set it up.
2686         (elmo-folder-use-flag-p): Return value of use-flag slot.
2687
2688 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2689
2690         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2691         message-id is nil.
2692         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2693
2694         * modb-entity.el (elmo-message-entity-handler): Likewise.
2695
2696 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2697
2698         * elmo.el (toplevel): Remove setting of autoloding for
2699         elmo-global-flag-initialize.
2700         (elmo-init): Don't call elmo-global-flag-initialize.
2701         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2702
2703         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2704         (elmo-global-mark-migrate): Don't call it.
2705         (elmo-global-mark-upgrade): Ditto.
2706
2707 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2708
2709         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2710         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2711
2712         * elmo-vars.el (elmo-init-hook): New user option.
2713
2714         * elmo.el (elmo-init): Run the elmo-init-hook.
2715
2716         * elmo-flag.el (elmo-global-mark-migrate): New function.
2717
2718 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2719
2720         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2721         Undo last change (move to elmo-msgdb-unset-flag).
2722         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2723         flag is unset.
2724
2725 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2726
2727         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2728         read flag is set.
2729         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2730         (elmo-msgdb-unset-flag): Ditto.
2731
2732 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2733
2734         * elmo-split.el (elmo-split): Return split message count.
2735
2736 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2737
2738         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2739         is nil.
2740
2741 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2742
2743         * elmo.el (elmo-folder-unflag-important): Call
2744         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2745         a symbol `always'.
2746
2747         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2748         before unset flag.
2749         (elmo-global-flag-detach): Delete the message from flag folder, if
2750         `delete-if-none' is a symbol `always'.
2751
2752 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2753
2754         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2755         `elmo-spam-spamfilter-decode-buffer'.
2756         (elsp-spamfilter-register-buffer-internal): New internal function.
2757         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2758         (elmo-spam-register-spam-buffer): Ditto.
2759         (elmo-spam-register-good-buffer): Ditto.
2760
2761         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2762         change.
2763         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2764         (elmo-spam-register-spam-buffer): Follow the API change.
2765         (elmo-spam-register-good-buffer): Ditto.
2766
2767         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2768         (elmo-split-spam-p): Added argument plist; Call
2769         `elmo-spam-buffer-spam-p' with new argument register.
2770
2771         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2772         `register'.
2773         (elmo-spam-message-spam-p): Ditto.
2774         (elmo-spam-register-spam-buffer): Added optional argument
2775         `restore'.
2776         (elmo-spam-register-good-buffer): Ditto.
2777         (elmo-spam-register-spam-messages): Ditto.
2778         (elmo-spam-register-good-messages): Ditto.
2779
2780 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2781
2782         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2783         register into good corpus.
2784         (elmo-spam-register-good-buffer): Fixed to register into bad
2785         corpus.
2786
2787 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2788
2789         * elmo-version.el (elmo-version): Up to 2.11.20.
2790
2791         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2792         change.
2793
2794         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2795         flag without depending on \Recent flag.
2796
2797 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2798
2799         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2800         (elmo-spam-modified-p): Defined.
2801         (elmo-spam-save-status): Set `modified' slot to nil.
2802         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2803         (elmo-spam-register-good-buffer): Ditto.
2804
2805         * elmo-spam.el (elmo-spam-modified-p): New API.
2806
2807 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2808
2809         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2810         duplicate definition.
2811
2812         * elmo-util.el (elmo-unfold-field-body): New function.
2813         (elmo-msgdb-get-message-id-from-buffer): Use it.
2814
2815         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2816         Fixed the last change; Use elmo-unfold-field-body.
2817
2818 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2819
2820         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2821         Unfold date value.
2822
2823 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2824
2825         * elmo-spam.el (elmo-spam-save-status): New API.
2826
2827         * elsp-spamfilter.el: New file.
2828
2829 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2830
2831         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2832
2833 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2834
2835         * elmo-split.el (elmo-split-spam-p): New function.
2836
2837         * elmo-spam.el: New file.
2838
2839         * elsp-bogofilter.el: Ditto.
2840
2841 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2842
2843         * elmo.el (elmo-folder-next-message-number): New API.
2844         (elmo-folder-next-message-number): Define.
2845         (elmo-message-field): Don't check folder length.
2846
2847         * elmo-net.el (elmo-folder-next-message-number): Define.
2848         (elmo-folder-next-message-number-unplugged): Define.
2849
2850         * elmo-map.el (elmo-folder-next-message-number): Define.
2851         (elmo-folder-delete-messages): Clear hash value.
2852
2853         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2854
2855         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2856         (elmo-folder-delete-messages-dop-delayed): Always return t.
2857
2858         * elmo-version.el (elmo-version): Up to 2.11.19.
2859
2860 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2861
2862         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2863         change.
2864
2865         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2866         identical cons cell into the mark-alist and the hash table.
2867
2868 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2869
2870         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2871         elmo-folder-list-messages with argument `visible-only' as t.
2872
2873         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2874         (elmo-folder-msgdb-create): Check the target folder.
2875
2876 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2877
2878         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2879         `permanentflag' instead of `flags'.
2880         (elmo-folder-open): Ditto.
2881         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2882         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2883         (elmo-folder-use-flag-p): Always return t.
2884         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2885         `permanentflags' does not exist.
2886         (elmo-folder-open): Ditto.
2887
2888 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2889
2890         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2891         is nil.
2892         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2893
2894         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2895         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2896         response.
2897         (elmo-folder-open): Ditto.
2898         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2899         slot of the session includes the flag.
2900         (elmo-imap4-session-flag-available-p): New function.
2901         (elmo-imap4-folder-list-flagged): Ditto.
2902         (elmo-folder-list-unreads-plugged): Use it.
2903         (elmo-folder-list-importants-plugged): Ditto.
2904         (elmo-folder-list-answereds-plugged): Ditto.
2905         (elmo-imap4-search-internal-primitive): Ditto.
2906         (elmo-imap4-folder-list-any-plugged,
2907         elmo-imap4-folder-list-digest-plugged): Abolish.
2908
2909         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2910         if numbers is nil.
2911
2912 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2913
2914         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2915
2916 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2917
2918         * elmo-util.el (elmo-get-hash-val): Simplify.
2919         (elmo-set-hash-val): Rewrite.
2920
2921 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2922
2923         * elmo.el (elmo-folder-list-messages): Append killed messages into
2924         result if `visible-only' is nil and `in-msgdb' is non-nil.
2925
2926         * elmo-util.el (elmo-uniq-list): Added optional argument
2927         `delete-function'.
2928
2929         * modb.el (elmo-msgdb-flag-count): New API.
2930
2931         * modb-standard.el (modb-standard): Added slot flag-count.
2932         (modb-standard-countup-flags): New function.
2933         (modb-standard-load-flag): Call it.
2934         (elmo-msgdb-append): Ditto.
2935         (elmo-msgdb-clear): Clear slot flag-count.
2936         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2937         (elmo-msgdb-unset-flag): Treat `all' flag and call
2938         modb-standard-countup-flags.
2939         (elmo-msgdb-flag-count): Define.
2940         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2941         (elmo-msgdb-delete-messages): Ditto.
2942
2943         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2944         (elmo-msgdb-flag-count): Define.
2945
2946         * elmo.el (elmo-folder-list-messages): Undo last change.
2947         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2948         (elmo-folder-kill-messages): Unset all flags to numbers.
2949
2950         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2951         elmo-folder-kill-messages.
2952
2953         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2954         (elmo-nntp-folder-delete-messages): Abolish.
2955
2956         * elmo-version.el (elmo-version): Up to 2.11.18.
2957
2958 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2959
2960         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2961         (elmo-folder-kill-messages-range): New function.
2962         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2963         instead of elmo-folder-kill-messages-before.
2964
2965 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2966
2967         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2968         elmo-imap4-current-msgdb to decide entity handler.
2969
2970 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2971
2972         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2973
2974         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2975         inline function.
2976         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2977         (elmo-msgdb-overview-entity-set-number,
2978         elmo-msgdb-overview-entity-get-references,
2979         elmo-msgdb-overview-entity-set-references,
2980         elmo-msgdb-overview-entity-get-from-no-decode,
2981         elmo-msgdb-overview-entity-get-from,
2982         elmo-msgdb-overview-entity-set-from,
2983         elmo-msgdb-overview-entity-get-subject,
2984         elmo-msgdb-overview-entity-get-subject-no-decode,
2985         elmo-msgdb-overview-entity-set-subject,
2986         elmo-msgdb-overview-entity-get-date,
2987         elmo-msgdb-overview-entity-set-date,
2988         elmo-msgdb-overview-entity-get-to,
2989         elmo-msgdb-overview-entity-get-cc,
2990         elmo-msgdb-overview-entity-get-size,
2991         elmo-msgdb-overview-entity-set-size,
2992         elmo-msgdb-overview-entity-get-extra,
2993         elmo-msgdb-overview-entity-set-extra,
2994         elmo-msgdb-overview-entity-get-extra-field,
2995         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2996         (elmo-msgdb-make-index): Use
2997         `elmo-msgdb-overview-entity-get-number-internal'.
2998         (elmo-msgdb-clear-index): Ditto.
2999         (elmo-msgdb-append-entity): Ditto;
3000         Use `elmo-msgdb-overview-entity-get-id-internal'.
3001
3002         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3003         elmo-msgdb-overview-entity-set-number,
3004         elmo-msgdb-overview-entity-get-references,
3005         elmo-msgdb-overview-entity-set-references,
3006         elmo-msgdb-overview-entity-get-from-no-decode,
3007         elmo-msgdb-overview-entity-get-from,
3008         elmo-msgdb-overview-entity-set-from,
3009         elmo-msgdb-overview-entity-get-subject,
3010         elmo-msgdb-overview-entity-get-subject-no-decode,
3011         elmo-msgdb-overview-entity-set-subject,
3012         elmo-msgdb-overview-entity-get-date,
3013         elmo-msgdb-overview-entity-set-date,
3014         elmo-msgdb-overview-entity-get-to,
3015         elmo-msgdb-overview-entity-get-cc,
3016         elmo-msgdb-overview-entity-get-size,
3017         elmo-msgdb-overview-entity-set-size,
3018         elmo-msgdb-overview-entity-get-extra,
3019         elmo-msgdb-overview-entity-set-extra,
3020         elmo-msgdb-overview-entity-get-extra-field,
3021         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3022         and rewrote for backward compatibility.
3023
3024 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3025
3026         * elmo.el (elmo-message-entity-number,
3027         elmo-message-entity-set-number,
3028         elmo-message-entity-field,
3029         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3030
3031         * elmo-msgdb.el (elmo-message-entity-number,
3032         elmo-message-entity-set-number,
3033         elmo-message-entity-field,
3034         elmo-message-entity-set-field): Moved from elmo.el.
3035
3036 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3037
3038         * elmo.el (toplevel): Changed definition orders.
3039
3040 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3041
3042         * modb.el (elmo-msgdb-search): New API .
3043         (elmo-msgdb-match-condition): Ditto.
3044
3045         * modb-standard.el (elmo-msgdb-search): Define.
3046
3047         * modb-legacy.el (elmo-msgdb-search): Ditto.
3048
3049         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3050         from elmo-msgdb-match-condition-internal.
3051
3052         * elmo.el (elmo-folder-search-fast): Abolish.
3053         (elmo-folder-search): Use elmo-msgdb-search and
3054         elmo-with-progress-display.
3055
3056         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3057         as msgdb API.
3058
3059         * elmo.el (elmo-folder): Remove slot message-modified and
3060         flag-modified.
3061         (elmo-folder-set-message-modified): Abolish.
3062         (elmo-generic-folder-commit): Follow the change above.
3063         (elmo-folder-synchronize): Ditto.
3064
3065         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3066
3067         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3068
3069         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3070
3071 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3072
3073         * modb-standard.el (modb-standard-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): Remove.
3082
3083         * modb-entity.el: New file (again).
3084
3085         * modb.el (toplevel): Require modb-entity.
3086         (elmo-msgdb-message-entity-handler): New method.
3087
3088         * modb-standard.el (modb-standard-entity-id): Use
3089         elmo-message-entity-handler.
3090         (modb-standard-load-entity): Ditto.
3091         (elmo-msgdb-append-entity): Ditto.
3092         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3093
3094         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3095         elmo-msgdb-decoded-cache-hashtb,
3096         (modb-legacy-make-message-entity,
3097         elmo-msgdb-make-message-entity,
3098         elmo-msgdb-create-message-entity-from-buffer,
3099         elmo-msgdb-message-entity-number,
3100         elmo-msgdb-message-entity-set-number,
3101         elmo-msgdb-message-entity-field,
3102         elmo-msgdb-message-entity-set-field,
3103         elmo-msgdb-copy-message-entity,
3104         elmo-msgdb-match-condition-internal,
3105         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3106
3107         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3108         (elmo-message-entity-set-number): Ditto.
3109         (elmo-message-entity-field): Ditto.
3110         (elmo-message-entity-set-field): Ditto.
3111
3112         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3113
3114         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3115
3116         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3117
3118         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3119         (elmo-nntp-msgdb-create-message): Ditto.
3120
3121         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3122         (elmo-folder-msgdb-create): Add unread flag.
3123
3124         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3125
3126         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3127
3128         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3129
3130         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3131
3132         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3133         elmo-msgdb-messge-entity-handler.
3134         * elmo-version.el (elmo-version): Up to 2.11.17.
3135
3136 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3137
3138         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3139         change.
3140
3141 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3142
3143         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3144
3145         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3146         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3147         (elmo-msgdb-flag-table): Ditto.
3148         (elmo-msgdb-sort-by-date): Ditto.
3149
3150         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3151
3152         * modb-standard.el (toplevel): Require mime.
3153         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3154         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3155         elmo-msgdb-message-entity-number.
3156         (elmo-msgdb-append-entity): Ditto.
3157         (elmo-msgdb-create-message-entity-from-file): Remove.
3158         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3159         corresponds to the entity.
3160         (elmo-msgdb-message-entity-number): Do nothing currently.
3161         (elmo-msgdb-message-entity-field): Ditto.
3162         (elmo-msgdb-message-entity-set-field): Ditto.
3163         (elmo-msgdb-copy-message-entity): Ditto.
3164         (elmo-msgdb-match-condition-internal): Ditto.
3165
3166         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3167         elmo-util.el.
3168         (elmo-msgdb-create-message-entity-from-file): Remove.
3169
3170         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3171         modb-legacy.el.
3172         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3173
3174         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3175
3176 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3177
3178         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3179         (elmo-msgdb-message-entity-field): Ditto.
3180         (elmo-msgdb-message-entity-number): Ditto.
3181
3182 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3183
3184         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3185         Fixed how to set extra field into entity.
3186         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3187         symbol.
3188
3189         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3190         Fixed how to set extra field into entity.
3191         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3192         symbol.
3193
3194 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3195
3196         * modb.el (elmo-message-entity-db): New function.
3197         (elmo-msgdb-make-message-entity): New API.
3198         (elmo-msgdb-message-entity-number): Ditto.
3199         (elmo-msgdb-message-entity-set-number): Ditto.
3200         (elmo-msgdb-message-entity-field): Ditto.
3201         (elmo-msgdb-message-entity-set-field): Ditto.
3202         (elmo-msgdb-copy-message-entity): Ditto.
3203         (elmo-msgdb-create-message-entity-from-file): Ditto.
3204         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3205         (elmo-msgdb-match-condition-internal): Ditto.
3206
3207         * modb-standard.el (modb-legacy): Require modb-legacy.
3208         (modb-standard-make-message-entity): New inline function.
3209         (elmo-msgdb-make-message-entity): Define.
3210         (elmo-msgdb-create-message-entity-from-file): Ditto.
3211         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3212         (elmo-msgdb-message-entity-field): Ditto.
3213         (elmo-msgdb-message-entity-set-field): Ditto.
3214         (elmo-msgdb-copy-message-entity): Ditto.
3215         (elmo-msgdb-match-condition-internal): Ditto.
3216
3217         * modb-legacy.el: Don't require modb-entity.
3218         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3219         (elmo-msgdb-match-condition-primitive): Ditto.
3220         (elmo-msgdb-get-decoded-cache): Ditto.
3221         (elmo-msgdb-overview-entity-get-id): Ditto.
3222         (elmo-msgdb-overview-entity-get-number): Ditto.
3223         (elmo-msgdb-overview-entity-set-number): Ditto.
3224         (elmo-msgdb-overview-entity-get-references): Ditto.
3225         (elmo-msgdb-overview-entity-set-references): Ditto.
3226         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3227         (elmo-msgdb-overview-entity-get-from): Ditto.
3228         (elmo-msgdb-overview-entity-set-from): Ditto.
3229         (elmo-msgdb-overview-entity-get-subject): Ditto.
3230         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3231         (elmo-msgdb-overview-entity-set-subject): Ditto.
3232         (elmo-msgdb-overview-entity-get-date): Ditto.
3233         (elmo-msgdb-overview-entity-set-date): Ditto.
3234         (elmo-msgdb-overview-entity-get-to): Ditto.
3235         (elmo-msgdb-overview-entity-get-cc): Ditto.
3236         (elmo-msgdb-overview-entity-get-size): Ditto.
3237         (elmo-msgdb-overview-entity-set-size): Ditto.
3238         (elmo-msgdb-overview-entity-get-extra): Ditto.
3239         (elmo-msgdb-overview-entity-set-extra): Ditto.
3240         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3241         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3242         (elmo-msgdb-number-load): Ditto.
3243         (elmo-msgdb-overview-load): Ditto.
3244         (elmo-msgdb-mark-load): Ditto.
3245         (elmo-msgdb-number-save): Ditto.
3246         (elmo-msgdb-mark-save): Ditto.
3247         (elmo-msgdb-overview-save): Ditto.
3248         (modb-legacy-make-message-entity): New inline function.
3249         (elmo-msgdb-insert-file-header): Ditto.
3250         (elmo-msgdb-make-message-entity): Define.
3251         (elmo-msgdb-create-message-entity-from-file): Ditto.
3252         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3253         (elmo-msgdb-message-entity-number): Ditto.
3254         (elmo-msgdb-message-entity-set-number): Ditto.
3255         (elmo-msgdb-message-entity-field): Ditto.
3256         (elmo-msgdb-message-entity-set-field): Ditto.
3257         (elmo-msgdb-copy-message-entity): Ditto.
3258         (elmo-msgdb-match-condition-internal): Ditto.
3259
3260         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3261         (elmo-message-copy-entity): Rewrite.
3262         (elmo-message-entity-number): Ditto.
3263         (elmo-message-entity-set-number): Ditto.
3264         (elmo-message-entity-field): Use elmo-message-entity-db.
3265         (elmo-message-entity-set-field): Ditto.
3266         (elmo-message-field): Rewrite.
3267
3268         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3269         elmo-msgdb.el
3270         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3271
3272         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3273         elmo-message-entity-field.
3274         (elmo-shimbun-folder-shimbun-header): Ditto.
3275         (elmo-shimbun-entity-to-header): Ditto.
3276         (elmo-folder-msgdb-create): Ditto.
3277         (elmo-shimbun-msgdb-create-entity): Ditto;
3278         Use elmo-msgdb-create-message-entity-from-buffer.
3279         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3280         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3281
3282         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3283         elmo-msgdb-create-message-entity-from-file and 
3284         elmo-message-entity-field.
3285
3286         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3287         elmo-message-entity-number.
3288         (elmo-pop3-msgdb-create-message): Use
3289         elmo-msgdb-create-message-entity-from-buffer,
3290         elmo-message-entity-set-field, elmo-message-entity-number and
3291         elmo-message-entity-set-number.
3292
3293         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3294         the API change in elmo-msgdb-make-message-entity.
3295         (elmo-nntp-msgdb-create-message): Use
3296         elmo-msgdb-create-message-entity-from-buffer.
3297
3298         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3299         elmo-message-entity-field and
3300         elmo-msgdb-create-message-entity-from-file.
3301
3302         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3303         (elmo-msgdb-get-field): Abolish.
3304         (elmo-msgdb-get-number): Rewrite.
3305         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3306         (elmo-msgdb-flag-table): Ditto.
3307         (elmo-msgdb-get-last-message-id,
3308         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3309         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3310         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3311         (elmo-msgdb-create-overview-from-buffer,
3312         elmo-msgdb-overview-get-parent-entity): Abolish.
3313
3314         * elmo-mime.el (elmo-mime-display-as-is): Use
3315         elmo-message-entity-field.
3316
3317         * elmo-map.el (elmo-folder-pack-numbers): Use
3318         elmo-message-entity-set-number.
3319
3320         * elmo-maildir.el (elmo-folder-msgdb-create): 
3321         elmo-msgdb-create-message-entity-from-file instead of
3322         elmo-msgdb-create-overview-entity-from-file.
3323
3324         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3325         msgdb.
3326         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3327         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3328
3329         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3330         elmo-messge-entity-field and elmo-message-entity-number.
3331         (elmo-imap4-fetch-callback-1): Call
3332         elmo-msgdb-create-message-entity-from-buffer instead of
3333         elmo-msgdb-create-overview-from-buffer. 
3334         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3335         (elmo-find-fetch-strategy): Likewise.
3336
3337         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3338         elmo-localdir-msgdb-create-entity with argument msgdb.
3339
3340         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3341         and elmo-message-entity-set-number.
3342
3343         * elmo-cache.el (elmo-folder-msgdb-create): Use
3344         elmo-message-entity-field.
3345         (elmo-folder-msgdb-create): Call
3346         elmo-msgdb-create-message-entity-from-file instead of
3347         elmo-msgdb-create-overview-entity-from-file.
3348
3349         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3350         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3351         instead of elmo-msgdb-create-overview-from-buffer.
3352         (elmo-archive-msgdb-create-entity): Ditto.
3353         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3354         elmo-message-entity-field.
3355         (elmo-archive-parse-mmdf): Ditto.
3356
3357         * modb-entity.el: Removed.
3358
3359         * elmo-version.el (elmo-version): Up to 2.11.16.
3360
3361 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3362
3363         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3364         `is-local'.
3365         (elmo-folder-flag-as-answered): Ditto.
3366
3367 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3368
3369         * modb-standard.el: New file.
3370
3371         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3372         elmo-msgdb-convert-type is `sync'.
3373
3374         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3375         (elmo-msgdb-convert-type): New user option.
3376
3377         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3378         (elmo-load-msgdb): Auto detect saved type.
3379
3380         * elmo-version.el (elmo-version): Up to 2.11.15.
3381
3382 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3383
3384         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3385
3386         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3387         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3388         with argument `delete-if-none' when dst-folder is 'null.
3389
3390         * elmo-flag.el (elmo-folder-append-messages): Defined.
3391         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3392
3393 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3394
3395         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3396
3397 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3398
3399         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3400         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3401         (elmo-folder-commit): Ditto.
3402
3403 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3404
3405         * elmo-flag.el: New file.
3406
3407         * elmo-mark.el: Removed.
3408
3409         * modb-legacy.el (modb-legacy-new-mark,
3410         modb-legacy-unread-uncached-mark,
3411         modb-legacy-unread-cached-mark,
3412         modb-legacy-read-uncached-mark,
3413         modb-legacy-answered-cached-mark,
3414         modb-legacy-answered-uncached-mark,
3415         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3416         All other related portions are changed.
3417
3418         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3419         (elmo-folder-list-messages-with-global-mark): Abolish.
3420         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3421         (elmo-folder-flag-as-important): Ditto.
3422         (elmo-folder-unflag-read): Ditto.
3423         (elmo-folder-flag-as-read): Ditto.
3424         (elmo-folder-unflag-answered): Ditto.
3425         (elmo-folder-flag-as-answered): Ditto.
3426         (elmo-message-encache): Return the cache path.
3427         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3428         (elmo-message-set-flag): Transitional implementation.
3429         (elmo-message-unset-flag): Ditto.
3430         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3431         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3432         (elmo-init): Call elmo-global-flag-initialize.
3433         (toplevel): Added autoload settings for elmo-flag.
3434
3435         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3436
3437         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3438         (elmo-file-cache-delete): Don't treat global-mark.
3439
3440         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3441
3442         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3443
3444         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3445         `elmo-global-flags-set'.
3446
3447         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3448         `flag'.
3449         (elmo-folder-unflag-read): Ditto.
3450         (elmo-folder-unflag-important): Ditto.
3451         (elmo-folder-flag-as-important): Ditto.
3452         (elmo-folder-unflag-answered): Ditto.
3453         (elmo-folder-flag-as-answered): Ditto.
3454
3455         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3456         `elmo-global-flags-set'.
3457         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3458
3459         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3460
3461         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3462         `flag'.
3463         (elmo-folder-flag-as-important): Ditto.
3464         (elmo-folder-unflag-important): Ditto.
3465         (elmo-folder-flag-as-important): Ditto.
3466         (elmo-folder-unflag-read): Ditto.
3467         (elmo-folder-flag-as-read): Ditto.
3468         (elmo-folder-unflag-answered): Ditto.
3469         (elmo-folder-flag-as-answered): Ditto.
3470
3471         * elmo-multi.el (elmo-folder-list-importants): Don't call
3472         elmo-folder-list-messages-with-global-mark.
3473         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3474         (elmo-folder-unflag-important): Ditto.
3475         (elmo-folder-flag-as-read): Ditto.
3476         (elmo-folder-unflag-read): Ditto.
3477         (elmo-folder-flag-as-answered): Ditto.
3478         (elmo-folder-unflag-answered): Ditto.
3479
3480         * elmo-msgdb.el (elmo-msgdb-new-mark,
3481         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3482         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3483         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3484         (Moved to modb-legacy.el).
3485         (elmo-flag-table-get): Treat important flag too.
3486
3487         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3488         `mark' to `flag'.
3489         (elmo-map-folder-flag-as-important): Ditto.
3490         (elmo-map-folder-unflag-read): Ditto.
3491         (elmo-map-folder-flag-as-read): Ditto.
3492         (elmo-map-folder-unflag-answered): Ditto.
3493         (elmo-map-folder-flag-as-answered): Ditto.
3494         (elmo-folder-unflag-important): Ditto.
3495         (elmo-folder-flag-as-important): Ditto.
3496         (elmo-folder-unflag-read): Ditto.
3497         (elmo-folder-flag-as-read): Ditto.
3498         (elmo-folder-unflag-answered): Ditto.
3499         (elmo-folder-flag-as-answered): Ditto.
3500
3501         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3502         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3503         `flag'.
3504         (elmo-map-folder-unflag-important): Ditto.
3505         (elmo-map-folder-flag-as-read): Ditto.
3506         (elmo-map-folder-unflag-read): Ditto.
3507         (elmo-map-folder-flag-as-answered): Ditto.
3508         (elmo-map-folder-unflag-answered): Ditto.
3509
3510         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3511         `elmo-global-flags-set'.
3512         (elmo-global-flags-set): Added autoload setting.
3513
3514         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3515         `flag'.
3516
3517         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3518         `elmo-msgdb-global-mark-set'.
3519         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3520         Call `elmo-global-flags-set'.
3521         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3522         `flag'.
3523         (elmo-folder-flag-as-important-plugged): Ditto.
3524         (elmo-folder-unflag-read-plugged): Ditto.
3525         (elmo-folder-flag-as-read-plugged): Ditto.
3526         (elmo-folder-unflag-answered-plugged): Ditto.
3527         (elmo-folder-flag-as-answered-plugged): Ditto.
3528         (elmo-global-flags-set): Added autoload setting.
3529
3530         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3531         `flag'.
3532         (elmo-folder-unflag-read): Ditto.
3533         (elmo-folder-flag-as-important): Ditto.
3534         (elmo-folder-unflag-important): Ditto.
3535         (elmo-folder-flag-as-answered): Ditto.
3536         (elmo-folder-unflag-answered): Ditto.
3537
3538         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3539         change of `mark'->`flag'.
3540         (elmo-dop-queue-method-name-alist): Ditto.
3541         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3542         (elmo-folder-unflag-read-dop): Ditto.
3543         (elmo-folder-flag-as-important-dop): Ditto.
3544         (elmo-folder-unflag-important-dop): Ditto.
3545         (elmo-folder-flag-as-answered-dop): Ditto.
3546         (elmo-folder-unflag-answered-dop): Ditto.
3547
3548         * elmo-cache.el (elmo-folder-msgdb-create): Call
3549         `elmo-global-flags-set'.
3550
3551         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3552         Call `elmo-global-flags-set'.
3553         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3554         elmo-archive-parse-mmdf with argument `folder'.
3555         (elmo-archive-parse-mmdf): Added argument `folder';
3556         Call `elmo-global-flags-set'.
3557
3558         * elmo-version.el (elmo-version): Up to 2.11.14.
3559
3560 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3561
3562         * modb.el (elmo-msgdb-length): Define.
3563
3564         * elmo.el (elmo-make-folder): Fixed.
3565         (elmo-generic-folder-append-messages): Follow the API change.
3566
3567         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3568         API change.
3569
3570 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3571
3572         * modb.el: New file.
3573
3574         * modb-entity.el: Ditto.
3575
3576         * modb-legacy.el: Ditto.
3577
3578         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3579         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3580         of `elmo-msgdb-overview-get-entity'.
3581         (elmo-msgdb-get-field): Ditto.
3582         (elmo-msgdb-merge): Moved to `elmo.el'.
3583         (elmo-msgdb-length): Removed; redefine as modb method.
3584         (elmo-msgdb-change-mark): Abolish.
3585         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3586         (elmo-msgdb-match-condition): Don't use mark.
3587         (elmo-msgdb-overview-get-entity): Abolish.
3588         Split modb part into `modb*.el'.
3589
3590         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3591
3592         * elmo-shimbun.el (shimbun-mua-search-id): Use
3593         `elmo-msgdb-message-entity' instead of
3594         `elmo-msgdb-overview-get-entity'.
3595         (elmo-shimbun-folder-shimbun-header): Ditto.
3596         (elmo-shimbun-get-headers): Ditto.
3597         (elmo-shimbun-update-overview): Ditto.
3598
3599         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3600
3601         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3602
3603         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3604         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3605
3606         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3607         `elmo-msgdb-mark-to-flags'.
3608
3609         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3610         `elmo-msgdb-set-path'.
3611
3612         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3613  
3614         * elmo-version.el (elmo-version): Up to 2.11.13.
3615
3616         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3617
3618         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3619         of mark.
3620
3621 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3622
3623         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3624         mismatch.
3625
3626 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3627
3628         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3629         instead of `elmo-msgdb-get-cached'.
3630         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3631
3632         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3633         (elmo-msgdb-set-cached): Ditto.
3634         (elmo-msgdb-set-flag): Rewrite.
3635         (elmo-msgdb-unset-flag): Ditto.
3636
3637         * elmo-msgdb.el: Rewrite with luna.
3638
3639         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3640         (elmo-folder-msgdb): Follow the change above.
3641         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3642         (elmo-folder-unmark-important): Follow the API change.
3643         (elmo-folder-mark-as-important): Ditto.
3644         (elmo-folder-unmark-read): Ditto.
3645         (elmo-folder-mark-as-read): Ditto.
3646         (elmo-folder-unmark-answered): Ditto.
3647         (elmo-folder-mark-as-answered): Ditto.
3648         (elmo-folder-clear): Likewise.
3649
3650         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3651         instead of `elmo-msgdb-load' (renamed).
3652
3653         * elmo-version.el (elmo-version): Up to 2.11.12.
3654
3655 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3656
3657         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3658         change.
3659         (elmo-message-mark): Abolish.
3660         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3661         instead of `elmo-msgdb-change-mark'.
3662
3663         * elmo-pipe.el (elmo-message-mark): Abolish.
3664
3665         * elmo-multi.el (elmo-message-mark): Ditto.
3666
3667         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3668         (elmo-msgdb-unread-uncached-mark): Ditto.
3669         (elmo-msgdb-unread-cached-mark): Ditto.
3670         (elmo-msgdb-read-uncached-mark): Ditto.
3671         (elmo-msgdb-answered-cached-mark): Ditto.
3672         (elmo-msgdb-answered-uncached-mark): Ditto.
3673         (elmo-msgdb-important-mark): Ditto.
3674         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3675         `use-cache'.
3676         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3677         `flags'.
3678         (elmo-flag-table-load): Changed flag to list of flag.
3679         (elmo-flag-table-set): If flags is nil, set read flag.
3680         (elmo-flag-table-get): Return derived flags from global mark,
3681         cache status and saved flags.
3682         (elmo-msgdb-flag-table): Follow the change above.
3683         (elmo-msgdb-out-of-date-messages): New function.
3684
3685         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3686
3687         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3688
3689         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3690
3691         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3692         (elmo-nntp-msgdb-create-message): Ditto.
3693
3694         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3695
3696         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3697         independent.
3698         (elmo-folder-msgdb-create): Follow the API change.
3699
3700         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3701         (elmo-folder-append-messages): Ditto.
3702
3703         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3704         (elmo-folder-append-buffer): Ditto.
3705
3706         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3707
3708         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3709
3710         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3711         (elmo-archive-parse-mmdf): Ditto.
3712
3713         * elmo-version.el (elmo-version): Up to 2.11.11.
3714
3715 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3716
3717         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3718         `elmo-msgdb-mark'.
3719
3720         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3721
3722         * elmo-pipe.el (elmo-message-flags): Defined.
3723
3724         * elmo-multi.el (elmo-message-flags): Ditto.
3725
3726 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3727
3728         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3729         `elmo-msgdb-delete-msgs'.
3730
3731         * elmo.el (elmo-folder-count-flags): Don't use
3732         `elmo-msgdb-get-mark-alist'.
3733         (elmo-folder-detach-messages): Follow the API change.
3734
3735         * elmo.el (elmo-folder-list-messages): Append killed messages into
3736         result if `visible-only' is nil.
3737
3738         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3739         canceled messages.
3740         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3741         (elmo-folder-update-number): Likewise.
3742
3743         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3744         (elmo-pop3-sort-msgdb-by-original-number): Use
3745         `elmo-msgdb-sort-entities'.
3746
3747         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3748         (elmo-msgdb-sort-by-date): Use it.
3749         (elmo-msgdb-overview-sort-by-date): Abolish.
3750
3751         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3752
3753         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3754         (elmo-msgdb-flags): New function.
3755         (elmo-msgdb-merge): Use elmo-msgdb-append.
3756
3757         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3758         change.
3759
3760         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3761
3762         * elmo-dop.el (elmo-folder-status-dop): Use
3763         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3764
3765 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3766
3767         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3768
3769         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3770
3771         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3772
3773         * elmo-util.el (elmo-with-progress-display): New macro.
3774
3775         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3776
3777 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3778
3779         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3780         `elmo-folder-list-message-entities' instead of
3781         `elmo-msgdb-get-overview'.
3782         (elmo-map-folder-list-message-locations): Ditto.
3783
3784         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3785         methods instead of treat directly).
3786         (elmo-msgdb-clear): Ditto.
3787         (elmo-msgdb-delete-msgs): Ditto.
3788         (elmo-msgdb-sort-by-date): Ditto.
3789
3790         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3791         local variables.
3792         (elmo-nntp-folder-msgdb-create): Follow the API change.
3793
3794         * elmo-version.el (elmo-version): Up to 2.11.10.
3795
3796 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3797
3798         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3799         (elmo-msgdb-flags-to-mark): Ditto.
3800         (elmo-msgdb-append-entity): Ditto.
3801
3802         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3803         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3804         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3805         (elmo-archive-parse-mmdf): Ditto.
3806
3807         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3808
3809         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3810
3811         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3812
3813         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3814
3815         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3816
3817         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3818
3819         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3820
3821         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3822
3823         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3824         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3825         to empty msgdb.
3826
3827         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3828         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3829         instead of directly construction.
3830         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3831         instead of construct msgdb.
3832
3833         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3834         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3835         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3836         instead of construct msgdb.
3837
3838 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3839
3840         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3841         when field is from or subject.
3842
3843 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3844
3845         * elmo-multi.el (elmo-message-entity-parent): Define.
3846         (elmo-folder-search): Rewrite.
3847
3848 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3849
3850         * elmo-multi.el (elmo-message-cached-p): Define.
3851
3852         * elmo.el (elmo-message-cached-p): New method.
3853         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3854         (elmo-message-flags): New method.
3855         (elmo-message-flagged-p): New function.
3856
3857         * elmo-version.el (elmo-version): Up to 2.11.9.
3858
3859 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3860
3861         * elmo-version.el (elmo-version): Up to 2.11.8.
3862
3863         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3864
3865         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3866
3867 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3868
3869         * elmo.el (elmo-folder-detach-messages): Undo last change.
3870
3871 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3872
3873         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3874
3875         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3876         only when src folder type is pop3.
3877
3878 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3879
3880         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3881         elmo-msgdb-overview-entity-get-number instead of
3882         elmo-message-entity-number.
3883
3884 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3885
3886         * elmo-version.el (elmo-version): Up to 2.11.7.
3887
3888 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3889
3890         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3891         function.
3892
3893         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3894         (elmo-msgdb-merge): New function.
3895         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3896         (elmo-msgdb-make-index): Rewrite.
3897
3898         * elmo-version.el (elmo-version): Up to 2.11.6.
3899
3900         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3901         use it as a the path for loading message entities.
3902
3903         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3904
3905 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3906
3907         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3908         message-modified slot of itself if it does not require target msgdb.
3909
3910         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3911         if folder length is zero.
3912         (elmo-mime-display-as-is): Ditto.
3913
3914         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3915
3916         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3917
3918 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3919
3920         * elmo.el (elmo-folder-set-message-modified): New method.
3921         (elmo-generic-folder-commit): Use it.
3922         (elmo-folder-synchronize): Ditto.
3923
3924         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3925         (elmo-folder-commit): Remove duplicate definition.
3926
3927 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3928
3929         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3930
3931 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3932
3933         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3934         (elmo-strict-folder-diff): Ditto.
3935         (elmo-folder-set-info-max-by-numdb): Simplify.
3936
3937         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3938         elmo-msgdb-list-messages.
3939
3940         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3941         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3942
3943 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3944
3945         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3946         visible-only is non-nil.
3947         (elmo-folder-confirm-appends): Changed message.
3948         (elmo-folder-synchronize): Added argument disable-killed.
3949
3950         * elmo-multi.el (elmo-folder-synchronize): Added argument
3951         disable-killed.
3952
3953         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3954
3955         * elmo-version.el (elmo-version): Up to 2.11.5.
3956
3957         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3958         elmo-list-filter.
3959
3960         * elmo-util.el (elmo-list-filter): Simplify.
3961
3962         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3963         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3964         (elmo-generic-folder-diff): Abolish argument.
3965         (elmo-msgdb-load): Don't use number-alist.
3966
3967         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3968
3969         * elmo-pipe.el (elmo-folder-diff): Ditto.
3970
3971         * elmo-nmz.el (elmo-folder-diff): Ditto.
3972
3973         * elmo-net.el (elmo-folder-diff): Ditto.
3974
3975         * elmo-maildir.el (elmo-folder-diff): Ditto.
3976
3977         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3978
3979         * elmo-multi.el (elmo-folder-diff): Ditto
3980         (elmo-multi-folder-diff): Rewrite.
3981
3982 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3983
3984         * elmo-pipe.el (elmo-folder-msgdb): Define.
3985
3986 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3987
3988         * elmo.el (elmo-message-set-cached): Define as a method.
3989
3990         * elmo-pipe.el (elmo-message-set-cached): Define.
3991         (elmo-find-fetch-strategy): Ditto.
3992
3993         * elmo-multi.el (elmo-message-set-cached): Define.
3994         (elmo-find-fetch-strategy): Rewrite.
3995
3996         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3997
3998         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3999
4000 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
4001
4002         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4003         instead of number-alist.
4004
4005         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4006         mark nor message-id when msgdb of source folder is not loaded.
4007
4008         * elmo.el (elmo-generic-folder-append-messages): Ditto.
4009
4010         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4011
4012 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
4013
4014         * elmo.el (elmo-folder-length): Don't require msgdb.
4015
4016 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
4017
4018         * elmo.el (elmo-message-mark): Cause an error when empty folder.
4019         (elmo-message-field): Ditto.
4020
4021         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4022         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4023         slot.
4024         (elmo-map-folder-list-answereds): Define.
4025         (elmo-maildir-list-location): Treat 'R' info.
4026         (elmo-folder-msgdb-create): Treat flag-table.
4027         (elmo-folder-append-messages): Save flag-table.
4028
4029 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4030
4031         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
4032         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4033
4034 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4035
4036         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4037
4038         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4039         'read when mark is null.
4040
4041 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4042
4043         * elmo-version.el (elmo-version): Up to 2.11.4.
4044
4045 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4046
4047         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4048         (elmo-folder-mark-as-answered): Ditto.
4049
4050 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4051
4052         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4053         (elmo-pop3-get-session): Make msgdb directory after session.
4054         (elmo-folder-exists-p): Check exactly at the first time even when the
4055         elmo-pop3-exists-exactly is nil.
4056
4057         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4058         (elmo-folder-list-messages): Define instead of
4059         elmo-folder-list-messages-internal.
4060         (elmo-folder-check): Check destination folder.
4061         (elmo-folder-synchronize): Drain the pipe.
4062
4063         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4064         when msgdb is not loaded.
4065
4066         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4067
4068         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4069         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4070         messages.
4071
4072         * elmo.el (elmo-folder-kill-messages-before): New function.
4073         (elmo-folder-kill-messages): Ditto.
4074         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4075
4076         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4077         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4078         killed not by synchronize (e.g. scoring).
4079
4080 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4081
4082         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4083         treated.
4084         (elmo-folder-search): Follow the change above.
4085
4086         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4087         into the candidates of search field.
4088
4089 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4090
4091         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4092         (elmo-msgdb-unset-flag): Ditto.
4093
4094         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4095
4096 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4097
4098         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4099         (elmo-folder-commit): Define.
4100         (elmo-folder-synchronize): Ditto.
4101         (elmo-folder-list-flagged): Ditto.
4102         (elmo-folder-commit): Ditto.
4103         (elmo-folder-length): Ditto.
4104         (elmo-folder-count-flags): Ditto.
4105         (elmo-message-mark): Ditto.
4106         (elmo-message-field): Ditto.
4107         (elmo-message-entity): Ditto.
4108         (elmo-message-folder): Ditto.
4109
4110 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4111
4112         * elmo.el (elmo-message-field): Define as a method.
4113
4114         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4115         (elmo-message-field): Define.
4116
4117         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4118         (elmo-folder-list-importants): Ditto.
4119         (elmo-folder-list-answereds): Ditto.
4120
4121         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4122         qualifier.
4123         (elmo-folder-mark-as-read): Ditto.
4124         (elmo-folder-unmark-read): Ditto.
4125         (elmo-folder-mark-as-answered): Ditto.
4126         (elmo-folder-unmark-answered): Ditto.
4127         (elmo-folder-list-flagged): Define.
4128         (elmo-folder-commit): Ditto.
4129         (elmo-folder-length): Ditto.
4130         (elmo-folder-count-flags): Ditto.
4131
4132 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4133
4134         * elmo.el (elmo-folder-detach-messages): New method.
4135         (elmo-folder-move-messages): Use it.
4136         (elmo-folder-synchronize): Ditto.
4137
4138         * elmo-multi.el (elmo-folder-detach-messages): Define.
4139
4140         * elmo.el (elmo-message-copy-entity): New function.
4141         (elmo-message-entity-set-number): Ditto.
4142         (elmo-message-mark): Define as method.
4143
4144         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4145         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4146         (elmo-message-entity): Fixed last change.
4147         (elmo-message-mark): Define.
4148         (elmo-folder-msgdb-create): Abolish.
4149         (elmo-multi-folder-append-msgdb): Ditto.
4150         (elmo-multi-folder-diff): Fixed.
4151         (elmo-multi-split-number-alist): Removed.
4152         (elmo-multi-split-mark-alist): Removed.
4153         (elmo-folder-list-messages): Define.
4154         (elmo-folder-list-messages-internal): Removed.
4155
4156         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4157         local file messages.
4158         (elmo-folder-msgdb-create): Fixed read mark.
4159
4160 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4161
4162         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4163         if mark is nil.
4164
4165 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4166
4167         * elmo.el (elmo-folder-list-message-entities): Define as inline
4168         function.
4169         (elmo-folder-messages): Abolish.
4170
4171         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4172         folder.
4173         (elmo-folder-synchronize): Define.
4174         (elmo-message-entity): Define.
4175
4176 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4177
4178         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4179         elmo-imap4-session-select-mailbox.
4180
4181         * elmo.el (elmo-folder-move-messages): Don't display any message.
4182
4183         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4184         parsing.
4185         (elmo-imap4-session-check): Don't wait CHECK response.
4186         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4187
4188 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4189
4190         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4191
4192 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4193
4194         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4195         API.
4196         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4197
4198
4199         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4200         (elmo-folder-list-message-entities): Added argument in-msgdb and
4201         numbers.
4202         (elmo-folder-synchronize): Define as a method.
4203
4204         * elmo-nntp.el (elmo-folder-initialize): Don't use
4205         elmo-nntp-default-user if zero-length username is specified
4206         explicitly.
4207
4208 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4209
4210         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4211         server name in case with username.
4212         (XXX: this is ad-hoc fix against username includes "@", it
4213         should be solved fundamentally)
4214
4215 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4216
4217         * elmo-nntp.el (elmo-nntp-debug): New function.
4218         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4219         (elmo-network-authenticate-session): Hide auth-info from the log.
4220
4221         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4222         user name if it is equal to elmo-nntp-default-user.
4223
4224 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4225
4226         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4227         instead of shimbun-server-internal;
4228         Use shimbun-current-group instead of shimbun-current-group-internal.
4229         (elmo-folder-plugged-p): Use shimbun-server instead of
4230         shimbun-server-internal.
4231         (elmo-folder-set-plugged): Ditto.
4232         (elmo-net-port-info): Ditto.
4233         (elmo-folder-check): Ditto.
4234         (elmo-folder-expand-msgdb-path): Ditto.
4235         (elmo-folder-list-subfolders): Ditto.
4236
4237 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4238
4239         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4240         Convert field-name to lower case.
4241         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4242
4243 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4244
4245         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4246         `message' and `error' take format string.
4247
4248 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4249
4250         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4251
4252 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4253
4254         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4255         recursive call (can't byte compile on emacs 20.7).
4256
4257 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4258
4259         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4260         (elmo-folder-list-message-entities): New API.
4261         (elmo-message-entity): Ditto.
4262         (elmo-message-entity-parent): Ditto.
4263         (elmo-folder-do-each-message-entity): Ditto.
4264         (elmo-message-entity-number): Ditto.
4265         (elmo-message-entity-field): Ditto.
4266         (elmo-message-entity-set-field): Ditto.
4267         (elmo-folder-count-flags): Ditto.
4268         (elmo-folder-length): Ditto.
4269
4270         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4271         not.
4272
4273         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4274         (elmo-msgdb-count-marks): Abolish.
4275         (elmo-msgdb-make-entity): Ditto.
4276         (elmo-msgdb-do-each-entity): Ditto.
4277         (elmo-msgdb-message-entity): New inline function.
4278         (elmo-msgdb-message-entity-field): Ditto.
4279         (elmo-msgdb-message-entity-set-field): Ditto.
4280         (elmo-msgdb-make-message-entity): New function.
4281
4282 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4283
4284         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4285         to flag. (All other related portions are changed.)
4286         (elmo-folder-msgdb-create): Likewise.
4287         (elmo-generic-folder-append-messages): Use flag-table instead of
4288         seen-list.
4289         (elmo-folder-move-messages): Removed redundant process.
4290         (elmo-folder-synchronize): Likewise.
4291
4292         * elmo-msgdb.el (elmo-flag-table-get): New function.
4293         (elmo-flag-table-save): Fixed.
4294         (elmo-msgdb-length): New inline function.
4295         (elmo-msgdb-flag-table): New function.
4296         (elmo-msgdb-mark): Add optional argument new.
4297         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4298         (elmo-msgdb-seen-list): Ditto.
4299         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4300
4301
4302 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4303
4304         * elmo.el (elmo-message-set-mark): Abolish.
4305         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4306         (All related portions are changed.)
4307
4308         * elmo-msgdb.el (toplevel): Added comment.
4309         (elmo-load-msgdb): Added 4th element `path'.
4310         (elmo-msgdb-append): Follow the change above.
4311         (elmo-msgdb-clear): Ditto.
4312         (elmo-msgdb-delete-msgs): Ditto.
4313         (elmo-msgdb-get-path): New inline function.
4314         (elmo-msgdb-set-path): Ditto.
4315         (elmo-flag-table-filename): New variable.
4316         (elmo-flag-table-load): New function.
4317         (elmo-flag-table-set): Ditto.
4318         (elmo-flag-table-save): Ditto.
4319         (elmo-msgdb-get-field-value): Abolish.
4320         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4321
4322 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4323
4324         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4325         the folder has been deleted successfully.
4326         * elmo-imap4.el (elmo-folder-delete): Ditto.
4327         * elmo-archive.el (elmo-folder-delete): Ditto.
4328         * elmo-localdir.el (elmo-folder-delete): Ditto.
4329         * elmo-maildir.el (elmo-folder-delete): Ditto.
4330
4331 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4332
4333         * elmo-util.el (elmo-string-member-ignore-case): New function.
4334         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4335         (elmo-imap4-fetch-callback-1-subr): Likewise.
4336
4337 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4338
4339         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4340         the case of the name attribute "\Noselect".
4341
4342 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4343
4344         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4345
4346         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4347         flist, is not always a member of onum-alist.
4348
4349 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4350
4351         * elmo-version.el (elmo-version): Up to 2.11.3.
4352
4353 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4354
4355         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4356         copied from localdir's one.
4357
4358         * elmo-pipe.el (elmo-folder-rename): New method, rename
4359         destination folder with leaving source folder as it is.
4360
4361 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4362
4363         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4364         replace-regexp.
4365
4366 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4367
4368         * elmo-version.el (elmo-version): Up to 2.11.2.
4369
4370 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4371
4372         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4373         shimbun-open in case of "@".
4374         (elmo-folder-open-internal): Cope with shimbun = nil case.
4375         (elmo-folder-plugged-p): Ditto.
4376         (elmo-folder-list-subfolders): Make list for "@/" group.
4377
4378 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4379
4380         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4381         mailbox (e.g. for %~/something).
4382
4383 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4384
4385         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4386         Replace nested conditional with guard clauses.
4387
4388 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4389
4390         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4391         error [wl:11327].
4392
4393         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4394         print-depth.
4395
4396 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4397
4398         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4399         Replace nested conditional with guard clauses.
4400
4401 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4402
4403         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4404         (elmo-passwd-alist-save): Ditto.
4405         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4406
4407 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4408
4409         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4410         dir-name only if it is absolute path.
4411         (TODO: distinguish +/something and +something)
4412
4413 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4414
4415         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4416         path for "+~/something".
4417
4418 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4419
4420         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4421         as non-directory, cause error before rename-file.
4422         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4423         apropriately, mimic localdir's one.
4424         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4425
4426 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4427
4428         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4429
4430 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4431
4432         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4433
4434         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4435         
4436         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4437         is included in the global-mark or not.
4438
4439 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4440
4441         * utf7.el (toplevel): Avoid error when the function
4442         find-coding-system does not exist.
4443
4444 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4445
4446         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4447         cache even if the folder is plugged.
4448         (elmo-nntp-search-primitive): Do nothing when body search is
4449         invoked (although it is not used by the change above).
4450         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4451
4452 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4453
4454         * elmo-version.el (elmo-version): Up to 2.11.1.
4455
4456 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4457
4458         * elmo-archive.el: Specify charset.
4459
4460 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4461
4462         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4463         process buffer lives or not.
4464
4465         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4466         while flushing queues (It causes infinite loop).
4467
4468 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4469
4470         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4471
4472 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4473
4474         * utf7.el (toplevel): Check the ucs features dynamically.
4475         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4476
4477         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4478         folder is creatabe or not if it already exists.
4479
4480 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4481
4482         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4483
4484         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4485
4486         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4487         (elmo-imap4-read-response): Take care of garbage response.
4488
4489 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4490
4491         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4492         just return nil instead of error.
4493
4494 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4495
4496         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4497         search-key is "body".
4498
4499 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4500
4501         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4502         of elmo-string-matched-assoc to use match-data.
4503         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4504
4505 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4506
4507         * elmo-split.el (elmo-split->): New function.
4508         (elmo-split-<): Ditto.
4509
4510 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4511
4512         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4513         workaround for invalid message-id.
4514
4515 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4516
4517         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4518         return normal pop3 session or pop3 biff session.
4519
4520 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4521
4522         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4523         info part to the cur files when the new files already have it.
4524         (Adviced by Jared Rhine <jared@wordzoo.com>)
4525
4526 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4527
4528         * elmo-split.el (elmo-split-default-action): New variable.
4529         (elmo-split-subr): Use it if all other conditions are passed.
4530         Extend `fname' and rename it as `action'. (implemented
4531         Teranishi-san's idea in [wl:10800])
4532
4533 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4534
4535         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4536         * elmo-util.el: Ditto.
4537
4538 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4539
4540         * elmo.el (elmo-message-accessible-p): Renamed from
4541         elmo-message-cached-p and rewritten.
4542
4543 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4544
4545         * elmo.el (elmo-folder-list-flagged): New generic function.
4546         (elmo-folder-list-importants): New implementation.
4547         (elmo-folder-list-answereds): Ditto.
4548         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4549         Added 'digest'.
4550         (elmo-message-cached-p): New function.
4551         (elmo-message-set-flag): Ditto (no content).
4552         (elmo-message-unset-flag): Ditto.
4553         (elmo-folder-list-messages-mark-match): Abolish.
4554
4555         * elmo-util.el (elmo-regexp-opt): New function.
4556
4557         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4558         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4559         Added 'digest'.
4560         (elmo-msgdb-list-flagged): New function.
4561
4562         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4563         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4564         Added 'digest'.
4565
4566         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4567
4568 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4569
4570         * elmo-version.el (elmo-version): Up to 2.11.0.
4571
4572 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4573
4574         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4575         `elmo-file-cache-exists-p'; use proper mark that depends on
4576         `use-cache'.
4577         (elmo-msgdb-unset-flag): Ditto.
4578         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4579
4580         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4581         with 4th argument `use-cache'.
4582
4583 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4584
4585         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4586         (elmo-folder-mark-as-important): Ditto.
4587         (elmo-folder-unmark-read): Ditto.
4588         (elmo-folder-mark-as-read): Ditto.
4589         (elmo-folder-unmark-answered): Ditto.
4590         (elmo-folder-mark-as-answered): Ditto.
4591
4592         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4593         message status.
4594         (elmo-msgdb-mark): Likewise.
4595         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4596         (elmo-msgdb-unset-flag): Likewise.
4597
4598         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4599
4600 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4601
4602         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4603         `last:' filter.
4604
4605 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4606
4607         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4608         set spool-length to 0.
4609
4610 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4611
4612         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4613         (elmo-dop-queue-flush): Fixed last change.
4614
4615 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4616
4617         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4618         if require-msgdb slot is nil.
4619         (elmo-folder-list-importants): Likewise.
4620
4621 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4622
4623         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4624         mark is changed.
4625
4626         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4627         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4628         is changed.
4629
4630 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4631
4632         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4633
4634 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4635
4636         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4637
4638         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4639
4640 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4641
4642         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4643         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4644
4645 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4646
4647         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4648         the problem reported by Sean Rima [wl-en:180].
4649
4650 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4651
4652         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4653
4654         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4655
4656         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4657
4658         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4659
4660         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4661
4662         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4663
4664         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4665
4666 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4667
4668         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4669         status number.
4670
4671 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4672
4673         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4674         (elmo-folder-mark-as-read): Follow the API change.
4675         (elmo-message-set-cached): New function.
4676
4677         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4678
4679         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4680
4681         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4682         (elmo-folder-mark-as-important): Ditto.
4683         (elmo-folder-unmark-read): Ditto.
4684         (elmo-folder-mark-as-read): Ditto.
4685         (elmo-folder-unmark-answered): Ditto.
4686         (elmo-folder-mark-as-answered): Ditto.
4687
4688         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4689         (elmo-folder-unmark-important): Ditto.
4690         (elmo-folder-mark-as-read): Ditto.
4691         (elmo-folder-unmark-read): Ditto.
4692         (elmo-folder-mark-as-answered): Ditto.
4693         (elmo-folder-unmark-answered): Ditto.
4694
4695         * elmo-mark.el (toplevel): Removed some mark method definitions.
4696
4697         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4698         (elmo-map-folder-mark-as-answered): Ditto.
4699         (elmo-folder-unmark-important): Add :before qualifier.
4700         (elmo-folder-mark-as-important): Ditto.
4701         (elmo-folder-unmark-read): Ditto.
4702         (elmo-folder-mark-as-read): Ditto.
4703         (elmo-folder-unmark-answered): Define.
4704         (elmo-folder-mark-as-answered): Ditto.
4705
4706         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4707         (elmo-map-folder-unmark-answered): Ditto.
4708
4709         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4710
4711         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4712         (elmo-folder-mark-as-important): Ditto.
4713         (elmo-folder-unmark-read): Ditto.
4714         (elmo-folder-mark-as-read): Ditto.
4715         (elmo-folder-unmark-answered): Ditto.
4716         (elmo-folder-mark-as-answered): Ditto.
4717
4718         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4719         `mark'; evaluate mark condition.
4720         (elmo-msgdb-match-condition-internal): New function.
4721         (elmo-msgdb-match-condition): Call it; changed argument.
4722
4723         * elmo.el (elmo-folder-search): Follow the API change on
4724         `elmo-msgdb-match-condition'.
4725
4726 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4727
4728         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4729         original mark is non-nil.
4730
4731 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4732
4733         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4734         (elmo-map-folder-list-answereds): New method.
4735         (elmo-folder-list-unreads): Add :around qualifier.
4736         (elmo-folder-list-importants): Ditto.
4737         (elmo-folder-list-answereds): Ditto.
4738
4739 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4740
4741         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4742
4743         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4744         method if msgdb is not required.
4745         (elmo-filter-folder-list-importants): Don't treat global-mark.
4746
4747         * elmo.el (elmo-folder-list-importants): Ditto.
4748
4749         * elmo-net.el (elmo-folder-list-importants): Ditto.
4750
4751         * elmo-map.el (elmo-folder-list-importants): Ditto.
4752
4753         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4754
4755         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4756         (elmo-imap4-folder-list-any-plugged): New function.
4757         (elmo-imap4-search-internal-primitive): Use it.
4758
4759         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4760         only when require-msgdb slot is non-nil.
4761         (elmo-folder-close): Clear target folder's msgdb.
4762
4763 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4764
4765         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4766         (elmo-pop3-msgdb-create-by-header): Ditto.
4767         (elmo-pop3-msgdb-create-message): Ditto.
4768
4769         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4770
4771         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4772
4773         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4774
4775         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4776         (elmo-folder-msgdb-create): Ditto.
4777         (elmo-nntp-folder-msgdb-create): Ditto.
4778         (elmo-nntp-msgdb-create-by-header): Ditto.
4779         (elmo-nntp-msgdb-create-message): Ditto.
4780         (elmo-folder-list-unreads): Define.
4781
4782         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4783         (elmo-folder-append-messages): Ditto.
4784         (elmo-folder-list-unreads): Define.
4785         (elmo-folder-list-importants): Ditto.
4786         (elmo-folder-list-answereds): Ditto.
4787
4788         * elmo-net.el (elmo-folder-list-unreads): Define.
4789         (elmo-folder-list-importants): Ditto.
4790         (elmo-folder-list-answereds): Ditto.
4791         (elmo-folder-list-answereds-plugged): Ditto.
4792         (elmo-folder-msgdb-create): Follow the API change.
4793         (elmo-folder-msgdb-create-unplugged): Ditto.
4794         (elmo-folder-unmark-answered): Define.
4795         (elmo-folder-mark-as-answered-unplugged): Ditto.
4796         (elmo-folder-unmark-answered-unplugged): Ditto.
4797
4798         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4799         (elmo-msgdb-unread-uncached-mark): Ditto.
4800         (elmo-msgdb-unread-cached-mark): Ditto.
4801         (elmo-msgdb-read-uncached-mark): Ditto.
4802         (elmo-msgdb-answered-cached-mark): Ditto.
4803         (elmo-msgdb-answered-uncached-mark): Ditto.
4804         (elmo-msgdb-important-mark): Ditto.
4805         (elmo-msgdb-set-mark): Rewrite.
4806         (elmo-msgdb-count-marks): Rewrite.
4807         (elmo-msgdb-mark-alist-set): Abolish.
4808         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4809         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4810
4811         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4812         (elmo-folder-close): Define.
4813         (elmo-folder-msgdb-create): Follow the API change.
4814         (elmo-folder-list-unreads): Rewrite.
4815         (elmo-folder-mark-as-important): Ditto.
4816         (elmo-folder-unmark-important): Ditto.
4817         (elmo-folder-mark-as-read): Ditto.
4818         (elmo-folder-unmark-read): Ditto.
4819         (elmo-folder-mark-as-answered): Define.
4820         (elmo-folder-unmark-answered): Ditto.
4821
4822         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4823         (elmo-folder-append-messages): Ditto.
4824
4825         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4826
4827         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4828         (elmo-folder-list-importants): Ditto.
4829
4830         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4831         (elmo-folder-append-messages): Ditto.
4832
4833         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4834         change.
4835         (elmo-folder-msgdb-create-plugged): Ditto.
4836         (elmo-folder-append-messages): Ditto.
4837         (elmo-folder-list-answereds-plugged): Define.
4838         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4839         (elmo-folder-unmark-answered-plugged): Define.
4840         (elmo-folder-mark-as-answered-plugged): Ditto.
4841         (elmo-folder-search-requires-msgdb-p): Ditto.
4842
4843         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4844         (elmo-folder-initialize): Set it.
4845         (elmo-folder-msgdb): Define.
4846         (elmo-folder-check): Call elmo-folder-synchronize.
4847         (elmo-folder-close): Define.
4848         (elmo-folder-commit): Ditto.
4849         (elmo-folder-msgdb-create): Rewrite.
4850         (elmo-folder-list-unreads): Ditto.
4851         (elmo-folder-list-importants): Ditto.
4852         (elmo-folder-mark-as-read): Ditto.
4853         (elmo-folder-unmark-read): Ditto.
4854         (elmo-folder-mark-as-important): Ditto.
4855         (elmo-folder-unmark-important): Ditto.
4856         (elmo-folder-mark-as-answered): Define.
4857         (elmo-folder-unmark-answered): Ditto.
4858
4859         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4860         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4861         (elmo-dop-queue-method-name-alist): Likewise.
4862         (elmo-folder-mark-as-answered-dop): New inline function.
4863         (elmo-folder-unmark-answered-dop): Ditto.
4864         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4865
4866         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4867         (elmo-folder-msgdb-create): Ditto.
4868         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4869         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4870         (elmo-archive-parse-mmdf): Ditto.
4871
4872         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4873         (elmo-folder-list-unreads-internal): Ditto.
4874
4875         * elmo.el (elmo-folder-msgdb): Define as generic function.
4876         (elmo-folder-list-messages): Added argument `in-msgdb'.
4877         (elmo-folder-list-unreads): Define as generic function.
4878         (elmo-folder-list-importants): Ditto.
4879         (elmo-folder-list-answereds): Ditto.
4880         (elmo-folder-list-messages-with-global-mark): New function.
4881         (elmo-folder-msgdb-create): Removed mark arguments.
4882         (elmo-folder-unmark-answered): New generic function.
4883         (elmo-folder-mark-as-answered): Ditto.
4884         (elmo-folder-append-messages): Removed argunment `unread-marks'
4885         (elmo-folder-list-unreads-internal): Abolish.
4886         (elmo-folder-list-importants-internal): Ditto.
4887         (elmo-folder-search-requires-msgdb-p): New generic function.
4888         (elmo-folder-search-requires-msgdb-p-internal): New function.
4889         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4890         elmo-msgdb-load.
4891         (elmo-folder-search-fast): Added key 'mark'.
4892         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4893         instead of unread-marks argument.
4894         (elmo-folder-move-messages): Removed argunment `unread-marks'
4895         (elmo-folder-unmark-important): Define.
4896         (elmo-folder-mark-as-important): Ditto.
4897         (elmo-folder-unmark-read): Ditto.
4898         (elmo-folder-mark-as-read): Ditto.
4899         (elmo-folder-unmark-answered): Ditto.
4900         (elmo-folder-mark-as-answered): Ditto.
4901         (elmo-folder-replace-marks): Abolish.
4902         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4903         duplicates.
4904         (elmo-folder-synchronize): Removed mark arguments;
4905         return crosspost only number.
4906
4907 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4908
4909         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4910         Remove redundunt connectivity check.
4911
4912 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4913
4914         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4915         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4916
4917 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4918
4919         * pldap.el (ldap-decode-string): Return string as-is if
4920         `ldap-coding-system' is nil.
4921         (ldap-encode-string): Ditto.
4922         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4923         (ldap-default-host): Fixed docstring.
4924
4925 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4926
4927         * elmo-util.el (elmo-warning): Define as a macro which uses
4928         `display-warning' if it is defined as a function.
4929
4930         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4931         (elmo-split-equal): Use it.
4932         (elmo-split-match): Ditto.
4933         (elmo-split-message-entity): New buffer-local variable.
4934         (elmo-split-subr): Set it.
4935
4936         * elmo-version.el (elmo-version): Up to 2.9.15.
4937
4938 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4939
4940         * elmo-imap4.el (elmo-network-initialize-session):
4941         Check capability after starttls.
4942
4943 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4944
4945         * elmo-util.el (elmo-list-delete): Added optional argument
4946         DELETE-FUNCTION.
4947
4948         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4949
4950         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4951
4952         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4953
4954         * elmo-imap4.el (elmo-folder-initialize): Don't use
4955         elmo-imap4-default-mailbox.
4956
4957 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4958
4959         * elmo-split.el (toplevel): Use `product-provide'.
4960         (elmo-split): Checkdoc.
4961
4962 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4963
4964         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4965         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4966         the function `elmo-imap4-debug-1'.
4967
4968 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4969
4970         * elmo-split.el (elmo-split): Moved to run hooks and to show
4971         message from elmo-split-subr.
4972         (elmo-split-subr): Follow the change above.
4973
4974         * elmo-split.el (elmo-split-subr): New function (renamed from
4975         elmo-split-subr).
4976         (elmo-split): Changed to call elmo-split-subr by element of
4977         elmo-split-folder.
4978         (elmo-split-folder): Changed customization type to choice.
4979
4980 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4981
4982         * elmo-split.el (elmo-split-and): Fixed condition.
4983
4984 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4985
4986         * elmo-split.el: New file.
4987         (elmo-split): Fixed logic.
4988         Display "Test:" instead of "Folder:" when reharsal.
4989
4990         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4991         explicitly.
4992
4993         * elmo-version.el (elmo-version): Up to 2.9.14.
4994
4995         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4996         wl-expand-newtext).
4997
4998 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4999
5000         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5001         message with no message-id field.
5002
5003 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
5004
5005         * elmo-version.el (elmo-version): Up to 2.9.13.
5006
5007         * elmo-dop.el (elmo-folder-status-dop): Fix.
5008
5009 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
5010
5011         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5012
5013         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5014         changing default value of default-mime-charset.
5015         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5016
5017         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5018
5019         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5020         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5021         instead of elmo-dop-queue-method-name-alist to check merging queue.
5022         (elmo-folder-delete-messages-dop): Delete from queue if negative
5023         message number.
5024         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5025         file is already removed.
5026
5027 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5028
5029         * elmo-vars.el: Bind colon keywords for old Emacsen.
5030
5031 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5032
5033         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5034         against non-exsisting charset.
5035
5036 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5037
5038         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5039         Use eword-decode-and-unfold-unstructured-field-body.
5040
5041         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5042         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5043         exists to decode raw subject string.
5044         (toplevel): Require 'mime.
5045
5046         * elmo-version.el (elmo-version): Up to 2.9.12.
5047
5048 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5049
5050         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5051         (elmo-msgdb-set-mark): Ditto.
5052
5053         * elmo-version.el (elmo-version): Up to 2.9.11.
5054
5055 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5056
5057         * elmo-util.el (elmo-delete-match-files): New function.
5058
5059         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5060         instead of elmo-delete-directory.
5061
5062         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5063         elmo-hash-minimun-size as 63.
5064
5065         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5066         elmo-diff-unread is nil.
5067
5068         * elmo-imap4.el (elmo-folder-open): Fix.
5069
5070         * elmo.el (elmo-message-mark): Rewrite.
5071         (elmo-message-field): Ditto.
5072         (elmo-message-set-mark): Ditto.
5073         (elmo-folder-replace-marks): New function.
5074         (elmo-generic-folder-append-msgdb): Removed third argument for
5075         elmo-msgdb-append.
5076         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5077         (elmo-msgdb-load): New implementation.
5078
5079         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5080
5081         * elmo-util.el (elmo-list-insert): New implementation.
5082
5083         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5084         argument for elmo-msgdb-append.
5085         
5086
5087         * elmo-msgdb.el (elmo-load-msgdb): New function.
5088         (elmo-make-msgdb): Ditto.
5089         (elmo-msgdb-get-index): New inline function.
5090         (elmo-msgdb-set-index): Ditto.
5091         (elmo-msgdb-get-entity-hashtb): Ditto.
5092         (elmo-msgdb-get-mark-hashtb): Ditto.
5093         (elmo-msgdb-get-mark): Ditto.
5094         (elmo-msgdb-set-mark): Ditto.
5095         (elmo-msgdb-count-marks): Ditto.
5096         (elmo-msgdb-get-number): Ditto.
5097         (elmo-msgdb-get-field): Ditto.
5098         (elmo-msgdb-seen-list): Ditto.
5099         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5100         (elmo-msgdb-delete-msgs): Follow the changes above.
5101         (elmo-msgdb-overview-get-entity): Ditto.
5102         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5103         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5104         and rewritten.
5105         (elmo-msgdb-make-index): Likewise.
5106         (elmo-msgdb-append): Removed third argument.
5107         (elmo-msgdb-clear): Clear index as nil.
5108         (elmo-folder-set-info-hashtb): Removed.
5109         (elmo-folder-set-info-max-by-numdb): Ditto.
5110         (elmo-folder-info-make-hashtb): Ditto.
5111
5112         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5113
5114         * elmo-map.el (elmo-folder-pack-number): Ditto.
5115
5116 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5117
5118         * elmo-version.el (elmo-version): Up to 2.9.10.
5119
5120         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5121
5122         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5123
5124 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5125
5126         * elmo-utils.el (elmo-make-directory): Add option.
5127         Default file mode is 700.
5128
5129 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5130
5131         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5132
5133 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5134
5135         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5136         mime-charset.
5137
5138         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5139         and "smaller".
5140
5141 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5142
5143         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5144         (elmo-shimbun-folder-entity-hash): New function.
5145         (elmo-shimbun-folder-shimbun-header): Ditto.
5146         (elmo-shimbun-entity-to-header): Ditto.
5147         (elmo-shimbun-msgdb-to-headers): Removed.
5148         (elmo-shimbun-folder-setup): Ditto.
5149         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5150         for hash key.
5151         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5152         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5153         Removed useless local bind.
5154         (elmo-folder-open-internal): Don't call
5155         `elmo-shimbun-folder-setup'.
5156         (elmo-folder-close-internal): Clear entity-hash slot.
5157         (elmo-folder-clear): Ditto.
5158         (elmo-shimbun-msgdb-create-entity): Use
5159         `elmo-shimbun-folder-shimbun-header'.
5160         (elmo-map-message-fetch): Ditto.
5161         (elmo-shimbun-update-overview): Use overview entity instead of
5162         shimbun header to lookup id by references.
5163         (elmo-map-folder-list-message-locations): Use not only headers but
5164         also overviews to list locations.
5165
5166 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5167
5168         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5169         msgdb path.
5170
5171         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5172
5173 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5174
5175         * elmo-util.el (elmo-read-search-condition-internal): Give default
5176         value for date.
5177
5178 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5179
5180         * elmo-util.el (elmo-condition-parse-search-value): Accept
5181         YYYY-MM-DD format to search.
5182         * elmo-date.el (elmo-date-get-datevec): Likewise.
5183
5184 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5185
5186         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5187         debugging code.
5188
5189 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5190
5191         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5192         from t.
5193
5194         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5195
5196         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5197         case from `elmo-folder-exists-p'.
5198         (elmo-folder-exists-p): Removed.
5199         (elmo-folder-creatable-p) Ditto.
5200
5201         * elmo-net.el (elmo-folder-create): Defined.
5202         (elmo-folder-create-unplugged): New function.
5203         (elmo-folder-exists-p): Changed default value to nil from t.
5204
5205         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5206         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5207
5208         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5209         `elmo-create-folder-dop' and append queue
5210         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5211         (elmo-folder-create-dop-delayed): New function.
5212
5213         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5214
5215         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5216
5217         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5218         (elmo-folder-writable-p) : Ditto.
5219
5220         * elmo-version.el (elmo-version): Up to 2.9.9.
5221
5222 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5223
5224         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5225         `elmo-message-use-cache-p' returns nil.
5226         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5227         (ignore cache file and refer the substance in local folders)
5228
5229 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5230
5231         * elmo-version.el (elmo-version): Up to 2.9.8.
5232
5233 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5234
5235         * elmo-version.el (elmo-version): Up to 2.9.7.
5236
5237         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5238
5239 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5240
5241         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5242
5243 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5244
5245         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5246         from --early.
5247         (elmo-map-folder-list-message-locations): Reverse location list.
5248
5249 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5250
5251         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5252
5253 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5254
5255         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5256         as a key.
5257         (elmo-nntp-folder-list-subfolders): Follow the change above.
5258
5259 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5260
5261         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5262         name if authentication type is specified.
5263
5264 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5265
5266         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5267         variable.
5268         (elmo-default-nntp-stream-type): Ditto.
5269         (elmo-default-pop3-stream-type): Ditto.
5270
5271 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5272
5273         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5274
5275 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5276
5277         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5278         elmo-vars.el.
5279         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5280
5281         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5282         (elmo-maildir-folder-path): Ditto.
5283         (elmo-maildir-list): Ditto (abolished).
5284
5285 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5286
5287         * elmo-version.el (elmo-version): Up to 2.9.6.
5288
5289 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5290
5291         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5292         (elmo-maildir-folder-path): Ditto.
5293         (elmo-msgdb-directory): Ditto.
5294         (elmo-passwd-life-time): Ditto.
5295         (elmo-msgdb-extra-fields): Ditto.
5296         (elmo-enable-disconnected-operation): Ditto.
5297
5298 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5299
5300         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5301         other choices.
5302         (elmo-pop3-default-authenticate-type): Ditto.
5303
5304 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5305
5306         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5307         choices for custom.
5308         (elmo-pop3-default-authenticate-type): Ditto.
5309
5310 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5311
5312         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5313         mailbox to new-folder.
5314
5315 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5316
5317         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5318         less than new, set new as unread.
5319
5320         * elmo-util.el (elmo-string): Don't put text-property if nil.
5321
5322 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5323
5324         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5325         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5326
5327 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5328
5329         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5330         is nil on `completing-read'.
5331
5332 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5333
5334         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5335         for namespace part.
5336         (elmo-imap4-parse-namespace-subr): Ditto.
5337         (elmo-folder-list-subfolders): Append a delimiter when the specified
5338         folder path is a root with namespace and does not end with delimiter.
5339
5340 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5341
5342         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5343         was used.
5344
5345 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5346
5347         * elmo-util.el (elmo-save-buffer): The first argument of message
5348         is a format control string.
5349
5350 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5351
5352         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5353         `elmo-folder-diff').
5354         (elmo-diff-unread): Likewise.
5355
5356 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5357
5358         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5359         is t on `completing-read'.
5360
5361 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5362
5363         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5364         method of target folder with self mark-alist if MARK-ALIST is nil.
5365
5366 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5367
5368         * elmo-version.el (elmo-version): Up to 2.9.5.
5369
5370 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5371
5372         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5373         (elmo-dop-merge-funcs): Remove.
5374
5375 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5376
5377         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5378         Return t if PATH is directory, too.
5379         Use `dolist' instead of while loop.
5380
5381 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5382
5383         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5384         is deleted.
5385
5386 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5387
5388         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5389         return value to t.
5390         (elmo-folder-list-messages-unplugged): Return t if
5391         elmo-enable-disconnected-operation is nil.
5392
5393         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5394         `elmo-folder-list-messages-internal'.
5395
5396 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5397
5398         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5399         Change to looking-at `[23][0-9]+'.
5400         (elmo-network-initialize-session): Use 'error-msg'
5401         * elmo-net.el (elmo-network-open-session): Set unplugged
5402         if elmo-network-initialize-session returns 'elmo-open-err.
5403
5404 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5405
5406         * elmo-version.el (elmo-version): Up to 2.9.4.
5407
5408 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5409
5410         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5411         `elmo-folder-list-messages-internal'.
5412
5413 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5414
5415         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5416         (elmo-message-match-condition): New method.
5417         (elmo-folder-search-fast): New inline function.
5418         (elmo-msgdb-search): Removed.
5419
5420         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5421         target folder if it is unplugged.
5422         (elmo-folder-list-messages-internal): Return t if target folder is
5423         unplugged and itself is persistent; In this case, use list be
5424         searched already.
5425
5426         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5427         (elmo-msgdb-search-internal-primitive): Ditto.
5428         (elmo-msgdb-match-condition): New function.
5429         (elmo-msgdb-match-condition-primitive): Ditto.
5430
5431         * elmo-util.el (elmo-filter-condition-p): New macro.
5432
5433         * elmo-cache.el (elmo-folder-search): Removed.
5434
5435         * elmo-localdir.el (elmo-folder-search): Ditto.
5436
5437         * elmo-maildir.el (elmo-folder-search): Ditto.
5438
5439         * elmo-mark.el (elmo-folder-search): Ditto.
5440
5441         * elmo-nmz.el (elmo-folder-search): Ditto.
5442
5443         * elmo-sendlog.el (elmo-folder-search): Ditto.
5444
5445         * elmo-shimbun.el (elmo-folder-search): Ditto.
5446
5447         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5448         if folder is unplugged.
5449
5450         * elmo-nntp.el (elmo-folder-search): Likewise.
5451         (elmo-nntp-search-internal): New function.
5452
5453         * elmo-version.el (elmo-version): Up to 2.9.3.
5454
5455 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5456
5457         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5458
5459 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5460
5461         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5462
5463 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5464
5465         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5466
5467 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5468
5469         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5470         (elmo-map-folder-list-message-locations): Do drive letter conversion
5471         on Windows environment.
5472         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5473         (elmo-map-message-fetch): Ditto.
5474
5475 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5476
5477         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5478         (elmo-network-initialize-session): Ditto.
5479
5480 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5481
5482         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5483
5484         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5485
5486         * elmo-util.el (elmo-progress-clear): Ditto.
5487
5488         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5489         `DD-Mon-YYYY' type date.
5490
5491 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5492
5493         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5494         `elmo-date-make-sortable-string' instead of
5495         `timezone-make-date-sortable'.
5496
5497         * elmo-date.el (elmo-date-make-sortable-string): Use
5498         `timezone-make-time-string'.
5499
5500 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5501
5502         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5503
5504         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5505         `since'; Fix timezone.
5506
5507         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5508
5509         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5510
5511 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5512
5513         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5514
5515 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5516
5517         * elmo.el (elmo-generic-folder-append-messages): Make
5518         fetch-strategy with `use-cache' as 'maybe. Check return value of
5519         `elmo-message-fetch'.
5520         (elmo-message-fetch): Return return value of
5521         `elmo-message-fetch-with-cache-process'.
5522         (elmo-message-fetch-with-cache-process): Return non-nil if
5523         fetching was succeed. Load cache when fetching was failed and
5524         fetch-strategy-use-cache is 'maybe.
5525
5526         * elmo-util.el (elmo-file-cache-load): New function.
5527
5528         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5529         defun.
5530
5531         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5532         non-nil if fetching was succeed.
5533
5534         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5535
5536         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5537
5538         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5539         (elmo-message-fetch-with-cache-process): Likwise.
5540
5541         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5542
5543         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5544
5545         * elmo-version.el (elmo-version): Up to 2.9.2.
5546
5547 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5548
5549         * elmo.el (elmo-folder-delete): Delete msgdb path.
5550
5551         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5552
5553         * elmo-maildir.el (elmo-folder-delete): Ditto.
5554
5555         * elmo-localdir.el (elmo-folder-delete): Ditto.
5556
5557         * elmo-imap4.el (elmo-folder-delete): Ditto.
5558
5559 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5560
5561         * elmo.el (luna-define-class): Added `biff' slot.
5562
5563         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5564         (elmo-pop3-debug-inhibit-logging): Abolished.
5565         (elmo-network-close-session): Eliminated needless let.
5566         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5567         (elmo-pop3-send-command): Added `no-log' argument.
5568         (elmo-pop3-process-filter): Use `with-current-buffer'.
5569         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5570         if login failure.
5571         (elmo-pop3-auth-apop): Likewise.
5572         (elmo-network-authenticate-session): Likewise.
5573
5574         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5575         if biff folder.
5576
5577         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5578         string to determine protocol.
5579         (elmo-network-session-name-prefix): Abolished.
5580         (elmo-network-session-cache-key): Follow the change above.
5581         (elmo-network-open-session): Ditto.
5582
5583         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5584         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5585
5586         * elmo-version.el (elmo-version): Up to 2.9.1.
5587
5588         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5589         unmatch condition checking.
5590
5591         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5592         condition.
5593
5594 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5595
5596         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5597
5598 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5599
5600         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5601         test for while loop to execute at least one SEARCH command.
5602
5603 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5604
5605         * elmo-version.el (elmo-version): Up to 2.9.0.
5606
5607 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5608
5609         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5610         (elmo-archive-folder-path): Define.
5611         (elmo-folder-initialize): Setup `dir-name' slot.
5612         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5613         Use `dir-name' as prefix of each subfolders.
5614         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5615
5616 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5617
5618         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5619         (elmo-pipe-folder-list-target-messages): New internal function.
5620         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5621         `killed-list'.
5622         (elmo-pipe-folder-copied-list-load): New function.
5623         (elmo-pipe-folder-copied-list-save): Ditto.
5624         (elmo-folder-open-internal): Follow the change above.
5625         (elmo-folder-status): Fixed for copy.
5626
5627 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5628
5629         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5630
5631 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5632
5633         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5634         elmo-copy-file instead of elmo-add-name-to-file.
5635
5636         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5637
5638         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5639         "file://..." index.
5640
5641         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5642         of accept-process-output as 1.
5643         (elmo-pop3-read-contents): Ditto.
5644         (elmo-pop3-read-body): Ditto.
5645
5646 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5647
5648         * elmo-version.el (product-version-as-string): Remove define.
5649
5650 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5651
5652         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5653         (elmo-imap4-copy-messages): Chop number set using
5654         `elmo-imap4-number-set-chop-length'.
5655         (elmo-imap4-set-flag): Ditto.
5656         (elmo-imap4-search-internal-primitive): Ditto.
5657
5658 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5659
5660         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5661         `elmo-folder-make-temp-dir'
5662
5663         * elmo-vars.el (elmo-cache-directory): New variable.
5664         (elmo-cache-dir): Abolished.
5665         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5666
5667         * elmo-version.el (elmo-version): Up to 2.7.7.
5668
5669 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5670
5671         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5672         defcustom; Set default value as t.
5673
5674 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5675
5676         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5677         (ldap-search-program-arguments): Changed default value.
5678         (ldap-search-basic): Accept exit status 4.
5679         (ldap/field-body): Parse options.
5680         (ldap/collect-field): Ditto.
5681         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5682
5683         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5684         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5685         (elmo-imap4-accept-ok): Ditto.
5686         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5687         'notify-bye, only BYE error is reported.
5688         (elmo-folder-exists-p-plugged): Set no-error argument of
5689         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5690
5691         * elmo.el (elmo-imap4-bye-error): Changed message.
5692
5693         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5694         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5695         queues (It causes infinite loop).
5696
5697 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5698
5699         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5700         (RECENT UNSEEN MESSAGES) extension.
5701
5702 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5703
5704         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5705         Check number of overview fields.
5706
5707 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5708
5709         * elmo.el (elmo-folder-confirm-appends): Changed message.
5710         (elmo-folder-confirm-appends): Ditto.
5711
5712         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5713         `with-temp-buffer'.
5714         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5715
5716 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5717
5718         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5719         of elmo-folder-update-threshold is nil, which can be set by
5720         wl-summary-update-confirm-threshold.
5721
5722 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5723
5724         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5725         (elmo-nmz-index-alias-alist): Ditto.
5726         (elmo-map-folder-list-message-locations): Follow the change above.
5727
5728 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5729
5730         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5731
5732         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5733
5734         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5735
5736         * elmo-util.el (elmo-read): Ditto.
5737         (elmo-display-error): Ditto.
5738
5739         * elmo-vars.el (elmo-date-match): Ditto.
5740
5741         * pldap.el (ldap-coding-system): Ditto.
5742
5743         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5744         `elmo-inhibit-number-mapping' as nil.
5745
5746 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5747
5748         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5749         space delimiter for list response.
5750
5751 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5752
5753         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5754
5755 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5756
5757         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5758         (elmo-map-message-fetch): Fix.
5759         * elmo-map.el (elmo-folder-status): Fix for killed.
5760
5761 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5762
5763         * elmo-sendlog.el: New file.
5764         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5765
5766 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5767
5768         * acap.el (acap-logging-out): New buffer local variable.
5769         (acap-close): Set it.
5770         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5771         an error.
5772
5773 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5774
5775         * acap.el (acap-response-bye-p): New function.
5776         (acap-response-bye-message): Ditto.
5777         (acap-wait-for-response): If bye response is received, cause an error.
5778         (acap-parse-response): Make bye response when 'Bye' is received.
5779
5780 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5781
5782         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5783
5784 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5785
5786         * elmo-util.el (elmo-copy-file): Added argument
5787         `ok-if-already-exists'.
5788         (elmo-copy-file): Fixed typo.
5789
5790 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5791
5792         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5793
5794 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5795
5796         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5797
5798 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5799
5800         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5801         to killed-list.
5802
5803 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5804
5805         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5806         (elmo-folder-initialize): Fix for `copy'.
5807         (elmo-pipe-drain): Ditto.
5808         (elmo-folder-open-internal): Ditto.
5809         (elmo-folder-newsgroups): Fix.
5810
5811 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5812
5813         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5814         for each message.
5815
5816         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5817         recent value is returned from imap folder.
5818
5819         * elmo.el (elmo-folder-newsgroups): New generic function.
5820
5821         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5822         (elmo-folder-initialize): Set it.
5823         (elmo-folder-expand-msgdb-path): Use it.
5824         (elmo-folder-newsgroups): Define.
5825
5826         * elmo-filter.el (elmo-folder-newsgroups): Define.
5827
5828         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5829
5830         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5831
5832         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5833
5834 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5835
5836         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5837         user option.
5838         (elmo-shimbun-header-extra-field): New inline function.
5839         (elmo-shimbun-header-set-extra-field): Ditto.
5840         (elmo-shimbun-folder-header-hash-setup): Ditto.
5841         (elmo-shimbun-update-overview): Ditto.
5842         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5843         (elmo-shimbun-folder-setup): Use
5844         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5845         (elmo-shimbun-get-headers): Ditto.
5846         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5847         Insert `X-Shimbun-Id:' header if extra field is set.
5848         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5849         field's value instead of `shimbun-header-id'.
5850
5851         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5852         inline function.
5853         (elmo-msgdb-overview-entity-set-date): Ditto.
5854         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5855
5856 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5857
5858         * mmimap.el (mmimap-entity-section): Changed body node number from
5859         "0" to "1".
5860
5861 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5862
5863         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5864         `elmo-folder-delete-messages'.
5865
5866         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5867         (elmo-folder-initialize): Changed to expand alias into index path.
5868
5869         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5870         `elmo-mime-insert-header-from-buffer' with 6th arg
5871         `sorted-fields'.
5872
5873 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5874
5875         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5876
5877         * elmo.el (elmo-diff-new): New inline function.
5878         (elmo-diff-unread): Ditto.
5879         (elmo-diff-all): Ditto.
5880
5881         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5882         value from responseb.
5883         (elmo-imap4-folder-diff-plugged): Ditto.
5884         (elmo-imap4-server-diff-async): Added recent argument.
5885         (elmo-server-diff-async): Ditto.
5886         (elmo-imap4-folder-diff-plugged): Ditto.
5887
5888         * elmo-version.el (elmo-version): Up to 2.7.6.
5889
5890 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5891
5892         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5893         in quoted-stirng.
5894
5895 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5896
5897         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5898
5899         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5900
5901         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5902
5903         * elmo-multi.el (elmo-folder-initialize): Ditto.
5904
5905         * elmo-util.el (elmo-parse-token): New function.
5906         (elmo-parse-prefixed-element): Ditto.
5907
5908 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5909
5910         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5911         delete process.
5912         (elmo-imap4-accept-ok): Ditto.
5913
5914 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5915
5916         * mmimap.el (mime-imap-entity-header-string): Don't check first
5917         element of node-id is `0' (Follow last change).
5918
5919 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5920
5921         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5922         assigned irregular node-id to nested multipart section.
5923         (initialize-instance): Followed above change.
5924
5925 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5926
5927         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5928         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5929         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5930         `elmo-shimbun-get-headers');
5931         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5932         visible article on summary exists in headers).
5933         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5934
5935 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5936
5937         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5938         definition.
5939
5940 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5941
5942         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5943
5944 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5945
5946         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5947         header separator into loop condition.
5948
5949 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5950
5951         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5952         Return duplicate folder if it has subfolder.
5953
5954 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5955
5956         * elmo.el (elmo-make-folder): Add folder name error check.
5957
5958         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5959         (elmo-nntp-encode-group-string): New inline function.
5960         (elmo-nntp-decode-group-string): Ditto.
5961         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5962         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5963         Use `not' instead of `null';
5964         Use elmo-nntp-decode-group-string.
5965
5966         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5967
5968         * elmo-version.el (elmo-version): Up to 2.7.5.
5969
5970 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5971
5972         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5973         Hide progress gauge if `elmo-folder-move-messages' exits
5974         nonlocally.
5975
5976 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5977
5978         * elmo-imap4.el (elmo-folder-initialize): Use
5979         `elmo-imap4-encode-folder-string' for folder name.
5980
5981 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5982
5983         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5984         `done'.
5985
5986 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5987
5988         * elmo-util.el (elmo-progress-counter-alist): New internal
5989         variable.
5990         (elmo-progress-counter-value): New macro.
5991         (elmo-progress-counter-all-value): Ditto.
5992         (elmo-progress-counter-format): Ditto.
5993         (elmo-progress-counter-set-value): Ditto.
5994         (elmo-progress-set): New function.
5995         (elmo-progress-clear): Ditto.
5996         (elmo-progress-notify): Ditto.
5997
5998         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5999         counter.
6000
6001         * elmo.el (elmo-generic-folder-append-messages): Call
6002         `elmo-progress-notify'.
6003         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6004
6005         * elmo-archive.el (elmo-folder-append-messages): Call
6006         `elmo-progress-notify'.
6007
6008         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6009
6010         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6011
6012         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6013
6014 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
6015
6016         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6017         'Create'.
6018         (elmo-message-encache-dop): Added argument `read'.
6019
6020         * elmo-shimbun.el (elmo-message-encache): Ditto.
6021
6022         * elmo-net.el (elmo-message-encache): Ditto.
6023
6024         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6025         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6026         elmo-imap4-seen-messages.
6027         (elmo-folder-msgdb-create-plugged): Initialize
6028         elmo-imap4-seen-messages;
6029         Set seen mark on elmo-imap4-seen-messages.
6030
6031         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6032
6033         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6034         elmo-folder-append-buffer.
6035         (elmo-folder-encache): Added optional argument `read'.
6036         (elmo-message-encache): Ditto.
6037
6038         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6039
6040         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6041
6042         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6043         if append buffer content succeds.
6044
6045 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6046
6047         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6048         elmo-display-progress.
6049
6050         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6051         Set 4th argument of mime-display-message.
6052         (elmo-mime-display-as-is): Ditto.
6053
6054 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6055
6056         * elmo-nmz.el (toplevel): Require 'mime-edit.
6057         (elmo-nmz-content-type-alist): Abolished.
6058         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6059         content is not a message.
6060         (elmo-map-message-fetch): Changed behavior exept for message content;
6061         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6062         content-type, Add From: and Subject: field.
6063
6064 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6065
6066         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6067         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6068         not a message.
6069
6070 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6071
6072         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6073         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6074
6075         * elmo-archive.el (elmo-folder-writable-p): Defined.
6076
6077         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6078
6079         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6080
6081         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6082
6083         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6084
6085         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6086
6087         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6088
6089         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6090
6091         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6092
6093 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6094
6095         * elmo-util.el (elmo-address-quote-specials): New function;
6096         Renamed from `wl-address-quote-specials'.
6097
6098 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6099
6100         * elmo-version.el (elmo-version): Up to 2.7.4.
6101
6102 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6103
6104         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6105
6106 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6107
6108         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6109         both compile-time and run-time to avoid byte-compile warning.
6110
6111 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6112
6113         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6114
6115 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6116
6117         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6118         option.
6119         (elmo-mime-display-as-is-internal): Use it.
6120
6121         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6122         if `read-passwd' is not defined.
6123
6124 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6125
6126         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6127         by original number.
6128         (elmo-folder-status): Call `elmo-folder-open-internal';
6129         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6130         (elmo-folder-close-internal): Set location-alist as nil.
6131         (elmo-folder-clear): Define.
6132         (elmo-folder-check): Don't set location-alist as nil.
6133
6134         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6135
6136 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6137
6138         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6139         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6140
6141         * mmimap.el (mime-imap-entity::requested): New slot.
6142         (mime-imap-location-fetch-entity-p): New generic function.
6143         (mime-decode-parameters): Define using `defun-maybe'.
6144         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6145         content-type structure.
6146         (mime-entity-body): Return empty body if
6147         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6148
6149         * elmo.el (elmo-message-displaying): New variable.
6150
6151         * elmo-mime.el (elmo-mime-message-display): Bind
6152         elmo-message-displaying as t.
6153
6154         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6155
6156 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6157
6158         * acap.el (acap-open): erase buffer before starting network process.
6159         (acap-store): Rewrite.
6160
6161 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6162
6163         * elmo-imap4.el (elmo-imap4-default-mailbox,
6164         elmo-imap4-default-server
6165         elmo-imap4-default-authenticate-type,
6166         elmo-imap4-default-user,
6167         elmo-imap4-default-port,
6168         elmo-imap4-default-stream-type,
6169         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6170
6171         * elmo-pop3.el (elmo-pop3-default-user,
6172         elmo-pop3-default-server,
6173         elmo-pop3-default-authenticate-type,
6174         elmo-pop3-default-port,
6175         elmo-pop3-default-stream-type,
6176         elmo-pop3-stream-type-alist): Ditto.
6177
6178         * elmo-nntp.el (elmo-nntp-default-server,
6179         elmo-nntp-default-user,
6180         elmo-nntp-default-port,
6181         elmo-nntp-default-stream-type,
6182         elmo-nntp-stream-type-alist): Ditto.
6183
6184         * elmo-vars.el: Follow changes above.
6185         (elmo-setting): New custom group; added 'elmo-setting group to
6186         above variables.
6187
6188         * elmo-version.el (elmo-version): Up to 2.7.3.
6189
6190         * acap.el (acap-parse-response): Don't delete process when BYE
6191         response (It causes hang-up on slow network environment).
6192         (toplevel): Added comment.
6193
6194 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6195
6196         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6197
6198         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6199         parsing NIL.
6200         (acap-parse-return-metadata): Ditto.
6201
6202         * slp.el: New file.
6203         (toplevel): Fixed typo.
6204
6205         * acap.el: New file.
6206         (acap-network-stream-open): Show "Connecting..." message.
6207         (acap-parse-response): Fixed problem for BYE untagged response.
6208         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6209         (toplevel): Added tiny comments.
6210
6211 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6212
6213         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6214         space delimiter for uidl response.
6215
6216 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6217
6218         * elmo-vars.el (elmo-use-semi): Eliminated.
6219
6220         * elmo-util.el (elmo-string-assoc-all): New function.
6221
6222 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6223
6224         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6225         property 'mime-preview-situation for `mime-preview-quit'.
6226
6227 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6228
6229         * elmo.el (elmo-message-fetch-with-cache-process): Call
6230         elmo-message-fetch-internal instead of causing an error when fetch
6231         strategy is 'entire but only 'section cache is available.
6232
6233 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6234
6235         * elmo-version.el (elmo-version): Up to 2.7.2.
6236
6237         * elmo.el (elmo-generic-folder-append-messages): Make
6238         fetch-strategy with `use-cache'.
6239
6240         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6241         (elmo-dop-queue-method-name): New macro.
6242
6243 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6244
6245         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6246         unbalanced parenthesis.
6247
6248 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6249
6250         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6251
6252 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6253
6254         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6255         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6256
6257 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6258
6259         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6260         local variables.
6261
6262 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6263
6264         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6265         (elmo-message-use-cache-p): Define.
6266         (elmo-folder-msgdb-create): Treat cache.
6267
6268 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6269
6270         * elmo-nntp.el (elmo-network-initialize-session): Call
6271         `elmo-nntp-send-mode-reader'.
6272         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6273
6274 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6275
6276         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6277         alist.
6278         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6279         assoc.
6280
6281         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6282         for `elmo-plugged-p'.
6283         (elmo-open-network-stream): Fixed stream-type argument.
6284
6285 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6286
6287         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6288         unknown archive type is specified.
6289
6290 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6291
6292         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6293
6294         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6295         while loading msgdb.
6296
6297         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6298         (elmo-folder-open-internal): Rewrite.
6299
6300 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6301
6302         * elmo-mime.el (elmo-mime-display-as-is-internal):
6303         Adjust buffer-multibyte status.
6304
6305 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6306
6307         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6308         of elmo-condition-find-key.
6309
6310         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6311         (elmo-condition-in-msgdb-p): Ditto.
6312         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6313         argument.
6314
6315 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6316
6317         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6318
6319 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6320
6321         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6322         label for elmo-display-progress.
6323
6324 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6325
6326         * elmo.el (elmo-folder-clear): New method.
6327         (elmo-folder-clear): Define.
6328         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6329
6330         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6331         (elmo-folder-clear): Define.
6332
6333         * elmo-map.el (elmo-folder-clear): Define.
6334
6335         * elmo-version.el (elmo-version): Up to 2.7.1.
6336
6337 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6338
6339         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6340         updates.
6341
6342 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6343
6344         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6345         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6346
6347 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6348
6349         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6350
6351         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6352         and re-written.
6353
6354         * elmo-imap4.el (elmo-folder-initialize): Use
6355         elmo-get-network-stream-type.
6356
6357         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6358
6359         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6360
6361 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6362
6363         * elmo.el (elmo-message-encache): Set unread argument for
6364         elmo-message-fetch.
6365
6366         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6367
6368         * elmo.el (elmo-net-port-info): New method.
6369
6370         * elmo-shimbun.el (elmo-net-port-info): Define.
6371         (elmo-message-encache): Ditto.
6372
6373         * elmo-net.el (elmo-net-port-info): Define as method.
6374
6375         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6376         unplugged status when elmo-enable-disconnected-operation is t.
6377
6378         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6379         of spool folder before checking new number.
6380
6381 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6382
6383         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6384         (elmo-network-setup-session): Ditto.
6385         (elmo-message-fetch-plugged): Ditto.
6386         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6387         (elmo-network-initialize-session): Ditto.
6388         (elmo-pop3-read-response): Abolish 3rd argument.
6389         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6390         (elmo-pop3-read-contents): Ditto.
6391         (elmo-pop3-read-body): Ditto.
6392         (elmo-folder-status): Call elmo-folder-close.
6393         (elmo-pop3-lock): Abolish.
6394         (elmo-pop3-unlock): Ditto.
6395         (elmo-pop3-locked-p): Ditto.
6396         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6397
6398 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6399
6400         * elmo-version.el (elmo-version): Up to 2.7.0.
6401
6402         * elmo-pop3.el (elmo-pop3-debug): New variable.
6403         (elmo-pop3-debug-inhibit-logging): Ditto.
6404         (elmo-pop3-debug): New function.
6405         (elmo-pop3-send-command): Call elmo-pop3-debug.
6406         (elmo-pop3-read-response): Added keep-lock optional argument;
6407         Don't unlock if keep-lock is non-nil.
6408         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6409         (elmo-network-authenticate-session): Bind
6410         elmo-pop3-debug-inhibit-logging as t.
6411         (elmo-network-setup-session): Call elmo-pop3-read-response with
6412         keep-lock argument.
6413         (elmo-pop3-read-msg): Ditto.
6414         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6415         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6416         (elmo-network-initialize-session): Call elmo-pop3-lock.
6417         (elmo-folder-close-internal): Don't clear location-alist slot.
6418         (elmo-folder-check): Clear location-alist slot.
6419
6420 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6421
6422         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6423         (elmo-pop3-send-command): Call elmo-pop3-lock.
6424         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6425         (elmo-pop3-read-contents): Ditto.
6426         (elmo-pop3-lock): New function.
6427         (elmo-pop3-unlock): Ditto.
6428         (elmo-pop3-locked-p): Ditto.
6429         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6430         returns t.
6431
6432 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6433
6434         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6435
6436         * elmo-util.el (elmo-file-field-primitive-condition-match):
6437         New inline function (Don't fetch file content if "first" or "last").
6438         (elmo-file-field-condition-match): Use
6439         elmo-file-field-primitive-condition-match.
6440
6441         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6442         "first".
6443
6444         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6445         (elmo-message-fetch-plugged): Fixed.
6446
6447         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6448
6449 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6450
6451         * elmo.el (elmo-folder-move-messages): Bind
6452         elmo-inhibit-display-retrieval-progress as t while moving messages.
6453
6454         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6455         New variable.
6456         (elmo-inhibit-display-retrieval-progress): Ditto.
6457
6458         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6459         for retrieval progress;
6460         Don't display progress when total buffer size is smaller than
6461         elmo-display-retrieval-progress-threshold.
6462         (elmo-message-fetch-plugged): Don't display progress when
6463         elmo-inhibit-display-retrieval-progress is non-nil.
6464
6465         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6466         for retrieval progress;
6467         Don't display progress when literal size is smaller than
6468         elmo-display-retrieval-progress-threshold.
6469         (elmo-imap4-message-fetch): Don't display progress when
6470         elmo-inhibit-display-retrieval-progress is non-nil.
6471
6472 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6473
6474         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6475         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6476         (elmo-imap4-message-fetch): Likewise.
6477
6478         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6479         (elmo-shimbun-index-range-alist): Ditto.
6480         (elmo-shimbun-use-entire-index): Abolish.
6481         (shimbun-mua-use-entire-index): Ditto.
6482         (elmo-shimbun-folder): Added new slot `range'.
6483         (elmo-folder-initialize): Setup slot `range'.
6484
6485 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6486
6487         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6488         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6489         (elmo-shimbun-get-headers): Use return value of
6490         `shimbun-article-expiration-days'.
6491         (elmo-folder-close-internal): Clean up last-check slot.
6492
6493         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6494         (elmo-pop3-total-size): New variable.
6495         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6496
6497         * elmo.el (elmo-folder-reserve-status-p): New method.
6498
6499         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6500         (elmo-shimbun-use-entire-index): New user option.
6501         (shimbun-elmo-mua): New class.
6502         (shimbun-mua-search-id): Define.
6503         (shimbun-mua-use-entire-index): Ditto.
6504         (elmo-shimbun-folder:last-check): New slot.
6505         (elmo-shimbun-headers-cache-header-list): Abolish.
6506         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6507         (elmo-shimbun-headers-cache-header-hash): Ditto.
6508         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6509         (elmo-shimbun-headers-cache-last-check): Ditto.
6510         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6511         (elmo-shimbun-headers-check-p): Rewrite.
6512         (elmo-shimbun-msgdb-to-headers): New function.
6513         (elmo-shimbun-get-headers): Rewrite.
6514         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6515         (elmo-folder-open-internal): Get headers only if
6516         `elmo-shimbun-headers-check-p' is non-nil.
6517         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6518         is non-nil.
6519         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6520         (elmo-quit): Removed.
6521
6522         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6523         function.
6524         (elmo-msgdb-overview-entity-set-extra): Ditto.
6525         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6526
6527         * elmo-map.el (elmo-folder-status): Don't call
6528         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6529         is non-nil.
6530
6531 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6532
6533         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6534         of `elmo-msgdb-search-internal-primitive' when condition's car is
6535         `and' or `or'.
6536
6537 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6538
6539         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6540
6541 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6542
6543         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6544         call `elmo-pipe-drain'.
6545
6546 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6547
6548         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6549         typo. (elmo-cache-folder -> elmo-mark-folder)
6550
6551 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6552
6553         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6554         `elmo-message-fetch'.
6555
6556 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6557
6558         * elmo-net.el (elmo-message-encache): Fixed typo.
6559         (elmo-message-fetch-unplugged): Changed call
6560         `elmo-message-fetch-internal' without argument `outbuf'.
6561
6562 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6563
6564         * elmo.el (elmo-message-encache): Define as generic function.
6565         (elmo-message-fetch-field): New generic function.
6566         (elmo-message-fetch-with-cache-process): Cause an error when
6567         fetch strategy is 'entire but only 'section cache is available.
6568         (toplevel): Fixed nmz folder definition.
6569
6570         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6571         (elmo-msgdb-resume-list-filename): Ditto.
6572         (elmo-queue-filename): Ditto.
6573         (elmo-enable-disconnected-operation): Changed default value to t.
6574
6575         * elmo-util.el (elmo-cache-path-section-p): New function.
6576         (elmo-file-cache-get): Use it.
6577         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6578         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6579         (elmo-dop-queue-save): Ditto.
6580
6581         * elmo-net.el (elmo-folder-status-unplugged): Call
6582         elmo-folder-status-dop.
6583         (elmo-folder-list-messages-unplugged): Implemented.
6584         (elmo-folder-delete-messages-unplugged): Define.
6585         (elmo-folder-msgdb-create): Define.
6586         (elmo-folder-msgdb-create-unplugged): Define.
6587         (elmo-folder-mark-as-read-unplugged): Ditto.
6588         (elmo-folder-unmark-read-unplugged): Ditto.
6589         (elmo-folder-mark-as-important-unplugged): Ditto.
6590         (elmo-folder-unmark-important-unplugged): Ditto.
6591         (elmo-message-encache): Ditto.
6592
6593         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6594         (elmo-dop-queue-save): Ditto.
6595
6596         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6597         `elmo-folder-msgdb-create'.
6598         (elmo-folder-append-buffer): Implemented unplugged operation.
6599         (elmo-folder-append-messages): Call parent method in unplugged status.
6600         (elmo-message-fetch-unplugged): Removed definition.
6601         (elmo-message-fetch-field): Implemented.
6602
6603         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6604         (elmo-dop-folder): Removed variable definition.
6605         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6606         (elmo-dop-queue-flush): Implemented.
6607         (elmo-dop-queue-merge): Removed definition (TODO).
6608         (elmo-dop-spool-folder): New function.
6609         (elmo-dop-spool-folder-append-buffer): Ditto.
6610         (elmo-dop-spool-folder-list-messages): Ditto.
6611         (elmo-dop-list-deleting-messages): Ditto.
6612         (elmo-folder-append-buffer-dop): Ditto.
6613         (elmo-folder-delete-messages-dop): Ditto.
6614         (elmo-message-encache-dop): New inline function.
6615         (elmo-create-folder-dop): Ditto.
6616         (elmo-folder-mark-as-read-dop): Ditto.
6617         (elmo-folder-unmark-read-dop): Ditto.
6618         (elmo-folder-mark-as-important-dop): Ditto.
6619         (elmo-folder-unmark-important-dop): Ditto.
6620         (elmo-folder-status-dop): Fixed.
6621         (elmo-folder-append-buffer-dop-delayed): New function.
6622         (elmo-folder-delete-messages-dop-delayed): Ditto.
6623         (elmo-dop-msgdb): Ditto.
6624
6625 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6626
6627         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6628
6629 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6630
6631         * elmo.el (elmo-folder-move-messages): Fixed problem when
6632         `dst-folder' is 'null.
6633
6634 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6635
6636         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6637         instead of current mark.
6638
6639         * elmo-multi.el (elmo-folder-list-importants-internal): No
6640         operation if importants is not list.
6641
6642         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6643         Return t if importants is not list.
6644
6645         * elmo-map.el (elmo-map-folder-list-importants): Define.
6646         (elmo-folder-list-importants-internal): Check return value of
6647         `elmo-map-folder-list-importants-internal'.
6648
6649         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6650
6651         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6652
6653         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6654
6655         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6656
6657 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6658
6659         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6660         (Patch is provided by <kita@coe.nttdata.co.jp>).
6661
6662 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6663
6664         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6665         mark folder.
6666
6667 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6668
6669         * elmo.el (elmo-message-fetch): Define.
6670         (elmo-message-fetch-with-cache-process): New generic method.
6671         (elmo-message-fetch-internal): New generic method.
6672         (elmo-folder-synchronize):
6673
6674         * elmo-archive.el (elmo-message-fetch-internal): Define.
6675         (elmo-message-fetch): Eliminated.
6676
6677         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6678         (elmo-message-fetch): Eliminated.
6679
6680         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6681         argument OUTBUF.
6682         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6683
6684         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6685         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6686
6687         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6688         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6689
6690         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6691
6692         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6693
6694         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6695
6696         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6697         (elmo-message-fetch-unplugged): New generic method.
6698         (elmo-message-fetch-internal): Remove cache process (Renamed from
6699         `elmo-message-fetch').
6700
6701         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6702         (elmo-message-fetch): Eliminated.
6703         (elmo-message-fetch-unplugged): Ditto.
6704
6705         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6706
6707 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6708
6709         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6710         of `to-be-deleted' from number-alist to number-list.
6711
6712 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6713
6714         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6715         (elmo-folder-mark-as-important): Ditto.
6716
6717 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6718
6719         * elmo.el (elmo-folder): Added process-duplicates slot.
6720
6721         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6722         (elmo-folder-unmark-read): Ditto.
6723         (elmo-folder-unmark-important): Ditto.
6724         (elmo-folder-mark-as-important): Ditto.
6725
6726         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6727         duplicated message processing.
6728
6729         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6730
6731 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6732
6733         * elmo-util.el (elmo-list-subdirectories-1): New function.
6734         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6735         (elmo-mapcar-list-of-list): New function.
6736
6737         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6738         `elmo-mapcar-list-of-list' instead of `mapcar'.
6739
6740         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6741
6742         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6743         `elmo-have-link-count'. Return the fully qualified folder name.
6744
6745 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6746
6747         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6748         (elmo-shimbun-headers-cache): New internal variable.
6749         (elmo-shimbun-headers-cache-header-list): New inline function.
6750         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6751         (elmo-shimbun-headers-cache-header-hash): Ditto.
6752         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6753         (elmo-shimbun-headers-cache-last-check): Ditto.
6754         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6755         (elmo-shimbun-lapse-seconds): Ditto.
6756         (elmo-shimbun-headers-cache-check-p): Ditto.
6757         (elmo-shimbun-get-headers): New function.
6758         (elmo-folder-open-internal): Call it.
6759         (elmo-quit): Define (Clear headers-cache).
6760
6761 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6762
6763         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6764
6765         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6766         (elmo-msgdb-flist-save): Ditto.
6767
6768         * elmo-shimbun.el (elmo-folder-list-subfolders):
6769         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6770         (elmo-folder-exists-p): Ditto.
6771
6772         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6773         argument for `shimbun-header-insert'.
6774
6775 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6776
6777         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6778         at first time.
6779
6780         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6781         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6782
6783 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6784
6785         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6786         (elmo-folder-plugged-p): Define.
6787         (elmo-folder-set-plugged): Ditto.
6788         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6789         (elmo-folder-list-messages-internal): Return t if unplugged.
6790         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6791
6792         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6793         when elmo-folder-list-messages-internal method of children returns t.
6794
6795         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6796         pair is nil.
6797         (elmo-folder-open-internal): Don't update if unplugged status.
6798
6799 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6800
6801         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6802         new message.
6803
6804 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6805
6806         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6807
6808         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6809         saving.
6810
6811 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6812
6813         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6814
6815         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6816         (elmo-folder-open-internal): Set up headers slot.
6817         (elmo-folder-check): Call elmo-folder-close-internal and
6818         elmo-folder-open-internal.
6819         (elmo-folder-close-internal): Clean up headers slot.
6820
6821 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6822
6823         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6824         exactly folder list.
6825         (elmo-folder-append-messages): Fixed append archive with prefix.
6826
6827         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6828         make temp files with start-number.
6829
6830         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6831
6832 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6833
6834         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6835         argument `visible-only'.
6836         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6837         instead of `if'.
6838
6839         * elmo-pop3.el (elmo-folder-open-internal): Check
6840         `elmo-inhibit-number-mapping' is non-nil.
6841
6842         * elmo-pipe.el (elmo-folder-status): Fixed.
6843
6844 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6845
6846         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6847
6848         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6849         (elmo-folder-open-internal): Setup `header-hash' slot.
6850         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6851         information.
6852         (elmo-map-message-fetch): Ditto.
6853
6854 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6855
6856         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6857         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6858         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6859         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6860
6861         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6862
6863 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6864
6865         * sb-airs.el: Added footer.
6866
6867         * shimbun.el (shimbun-article): Define as luna-method.
6868
6869         * sb-tcup.el: New file.
6870
6871         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6872         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6873
6874 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6875
6876         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6877         (shimbun-get-headers): Ditto.
6878
6879         * elmo.el: Moved obsolete variable definitions from
6880         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6881
6882         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6883         groups.
6884
6885         * shimbun.el: New file.
6886
6887         * elmo-shimbun.el: New file.
6888
6889         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6890         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6891         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6892         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6893
6894 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6895
6896         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6897         hierarchy is t.
6898
6899 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6900
6901         * elmo.el (elmo-folder-msgdb): Define as macro.
6902         (elmo-folder-open): Added argument `load-msgdb'.
6903         (elmo-generic-folder-open): Ditto.
6904         (elmo-folder-encache): New function.
6905
6906         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6907
6908         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6909
6910         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6911         Eliminated argument FOLDER and added argument MSGDB.
6912         (elmo-dop-queue-load): Moved from elmo-dop.el.
6913         (elmo-dop-queue-save): Ditto.
6914
6915         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6916
6917         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6918
6919         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6920         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6921         (elmo-filter-folder-list-importants-internal): Ditto.
6922
6923         * elmo-map.el (elmo-folder-pack-number): Ditto.
6924
6925         * elmo-mime.el (elmo-mime-message-display): Ditto.
6926
6927         * elmo.el (elmo-generic-folder-commit): Ditto.
6928         (elmo-folder-list-unreads): Ditto.
6929         (elmo-folder-list-importants): Ditto.
6930         (elmo-generic-folder-commit): Ditto.
6931         (elmo-message-set-mark): Ditto.
6932         (elmo-generic-folder-append-msgdb): Ditto.
6933         (elmo-folder-synchronize): Ditto.
6934         (elmo-folder-messages): Ditto.
6935         (elmo-init): Call elmo-dop-queue-load.
6936         (elmo-folder-list-messages): Ditto.
6937
6938         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6939         (elmo-nntp-folder-process-crosspost): Ditto.
6940         (elmo-folder-list-unreads-internal): Ditto.
6941
6942         * elmo-dop.el: Removed old functions.
6943
6944 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6945
6946         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6947         `folder' to `msgdb'.
6948
6949 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6950
6951         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6952         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6953
6954         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6955         case-fold-search.
6956
6957 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6958
6959         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6960         defined.
6961
6962         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6963         (mmimap-parse-parameters-from-list): Define as alias for
6964         `mime-decode-parameter-plist' if it is defined as function.
6965         (mmimap-make-mime-entity): Added argument `number'.
6966         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6967         as 0.
6968         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6969
6970         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6971
6972         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6973
6974         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6975
6976 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6977
6978         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6979
6980         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6981         when elmo-imap4-default-authenticate-type is nil.
6982         (elmo-folder-list-subfolders): Ditto
6983         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6984         (elmo-imap4-fetch-callback-1-subr): Renamed from
6985         `elmo-imap4-fetch-callback-1' and define as inline function.
6986         (elmo-imap4-fetch-callback-1):
6987         Renamed from `elmo-imap4-fetch-callback'.
6988         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6989
6990         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6991         msgdb path (To keep compatibility with main trunk).
6992
6993         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6994
6995         * elmo-util.el (elmo-make-file-cache): Moved position of
6996         some macros.
6997
6998         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6999         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7000         instead of `elmo-pop3-inhibit-uidl'.
7001         (elmo-folder-exists-p): Ditto.
7002         (elmo-pop3-folder-list-messages): Ditto.
7003
7004         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7005         instead of `elmo-pop3-inhibit-uidl'.
7006         (elmo-folder-status): Ditto.
7007
7008         * elmo-dop.el (elmo-dop-folder): New variable.
7009         (elmo-dop-lock-message): Eliminated.
7010         (elmo-dop-unlock-message): Ditto.
7011         (elmo-dop-lock-list-load): Ditto.
7012         (elmo-dop-lock-list-save): Ditto.
7013         (elmo-dop-delete-folder): Ditto.
7014         (elmo-dop-rename-folder): Ditto.
7015
7016         * elmo.el: Removed incomplete commentary.
7017
7018 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7019
7020         * elmo.el (toplevel): Require 'elmo-version first;
7021         for little `recursive-load-depth' settings.
7022         Fix "ends here" comment.
7023
7024 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7025
7026         * elmo-util.el (toplevel): Require 'poem;
7027         Some functions are moved from elmo-cache.el.
7028
7029         * elmo-net.el (toplevel): Require 'elmo-cache.
7030
7031         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7032
7033         * elmo.el (toplevel): Ditto.
7034
7035         * elmo-cache.el: Rewrite with luna;
7036         Some functions are moved to elmo-util.el.
7037
7038         * elmo-internal.el (elmo-internal-folder-list): New variable.
7039         (elmo-internal-folder-initialize): Rewrite.
7040         (elmo-folder-list-subfolders): Ditto.
7041
7042         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7043         (elmo-cache-collect-sub-directories): Ditto.
7044
7045 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7046
7047         * elmo-version.el (elmo-version): Up to 2.5.8.
7048
7049         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7050
7051         * elmo-util.el (elmo-list-insert): New function.
7052
7053 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7054
7055         * elmo.el (elmo-init): New function.
7056         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7057
7058         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7059         (Renamed from `elmo-localdir-header-chop-length').
7060
7061         * elmo-pop3.el (elmo-pop3-use-cache,
7062         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7063
7064         * elmo-nntp.el (elmo-message-fetch): Define.
7065         (elmo-message-fetch-unplugged): Ditto.
7066         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7067         (elmo-nntp-use-cache): Ditto.
7068         (elmo-nntp-max-number-precedes-list-active): Ditto.
7069
7070         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7071
7072         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7073         `elmo-msgdb-insert-file-header'.
7074         Use `elmo-msgdb-file-header-chop-length'.
7075
7076         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7077         `elmo-vars.el'.
7078
7079         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7080         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7081         `elmo-msgdb-insert-file-header'.
7082
7083         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7084         Use new variable;
7085         Define obsolete variables with `elmo-define-obsolete-variable',
7086
7087         * elmo-util.el (elmo-warning-buffer-name): New constant.
7088         (elmo-warning): New function.
7089         (elmo-obsolete-variable-alist): New variable.
7090         (elmo-obsolete-variable-show-warnings): New variable.
7091         (elmo-define-obsolete-variable): New function.
7092         (elmo-resque-obsolete-variable): Ditto.
7093         (elmo-resque-obsolete-variables): Ditto.
7094
7095 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7096
7097         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7098         Eliminated.
7099
7100         * elmo-pop3.el, elmo-nntp.el: Use custom.
7101
7102 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7103
7104         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7105         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7106
7107 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7108
7109         * Luna-fy Kenichi OKADA's following changes.
7110         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7111         `nohide'.
7112         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7113
7114 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7115
7116         * elmo-util.el (elmo-display-progress): Prefer
7117         `progress-feedback-with-label' to `lprogress-display'.
7118
7119 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7120
7121         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7122
7123 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7124
7125         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7126         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7127         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7128         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7129         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7130         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7131         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7132         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7133         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7134         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7135         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7136         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7137         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7138
7139 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7140
7141         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7142         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7143
7144 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7145
7146         * elmo.el (elmo-folder-process-crosspost): New generic method.
7147         (elmo-folder-writable-p): Ditto.
7148         (elmo-folder-message-appendable-p): Eliminated.
7149         (elmo-generic-folder-append-msgdb): Rewrite.
7150         (elmo-newsgroups-hashtb): New internal variable.
7151         (elmo-crosspost-message-set): Eliminated.
7152         (elmo-crosspost-message-delete): Ditto.
7153         (elmo-setup-subscribed-newsgroups): New function.
7154         (elmo-crosspost-message-alist-modified): New internal variable.
7155         (elmo-crosspost-message-alist-load): New function (Renamed from
7156         `wl-crosspost-alist-load').
7157         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7158         `wl-crosspost-alist-save').
7159
7160         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7161
7162         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7163         `unreads'.
7164         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7165         elmo-newsgroups-hashtb).
7166         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7167         `elmo-nntp-folder-update-crosspost-message-alist'.
7168         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7169         `elmo-nntp-groups-hashtb'.
7170         (elmo-nntp-make-groups-hashtb): Eliminated.
7171         (elmo-nntp-parse-newsgroups): New function (Renamed from
7172         `wl-parse-newsgroups').
7173         (elmo-folder-creatable-p, elmo-folder-writable-p,
7174         elmo-folder-close-internal, elmo-folder-mark-as-read,
7175         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7176         Define.
7177         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7178
7179         * elmo-net.el (elmo-message-fetch): Check buffer size.
7180
7181         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7182
7183         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7184
7185         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7186         before `close' command.
7187
7188         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7189         `mark-alist' (All other related portions are changed).
7190
7191 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7192
7193         * elmo-util.el (elmo-create-hash-size): Eliminated.
7194         (elmo-make-hash) Make a hash with `one less than a power of two'
7195         length.
7196
7197         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7198         (elmo-hash-maximum-size): Changed value.
7199
7200 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7201
7202         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7203         (elmo-mime-message-display-as-is): Ditto.
7204
7205 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7206
7207         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7208         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7209
7210 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7211
7212         * elmo-mark.el: New file.
7213
7214         * elmo-internal.el: Rewrite (Almost empty).
7215
7216 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7217
7218         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7219         (mime-imap-entity-header-string): Ditto.
7220         (mmimap-entity-section): Rewrite.
7221
7222 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7223
7224         * elmo-nmz.el: New file.
7225
7226         * elmo-pipe.el: Rewrite with luna.
7227
7228 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7229
7230         * elmo-archive.el: Rewrite with luna.
7231
7232         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7233         (elmo-folder-list-importants-internal): Ditto.
7234
7235 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7236
7237         * elmo-archive.el (elmo-archive-version): Abolish.
7238         (toplevel) Removed `boso' comment.
7239
7240 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7241
7242         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7243         elmo-msgdb-add-msgs-to-seen-list-subr;
7244         Changed argument seen-marks to unread-marks.
7245
7246         * elmo-nntp.el: Rewrite with luna.
7247
7248 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7249
7250         * elmo-filter.el: Rewrite with luna.
7251
7252 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7253
7254         * elmo-pop3.el: Rewrite with luna.
7255
7256 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7257
7258         * elmo-multi.el: Rewrite with luna.
7259
7260         * elmo-vars.el (elmo-use-killed-list): Abolish.
7261         All other related portions are changed.
7262         (elmo-filename-replace-string-alist): Renamed from
7263         elmo-msgid-replace-string-alist.
7264
7265 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7266
7267         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7268
7269         * elmo-map.el: New file.
7270         * elmo-maildir.el: Rewrite with luna.
7271
7272 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7273
7274         * elmo.el: Changed meaning of `elmo-folder-commit'.
7275         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7276
7277 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7278
7279         * elmo.el (elmo-folder-append-buffer): New function.
7280         (Renamed from `elmo-append-msg')
7281
7282 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7283
7284         * elmo-mime.el: New file.
7285
7286 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7287
7288         * elmo-cache.el: Rewrite.
7289
7290 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7291
7292         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7293
7294 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7295
7296         * elmo-vars.el (elmo): New group.
7297         (elmo-strict-diff-folder-regexp): New variable.
7298
7299         * elmo-util.el (elmo-call-func): Abolish.
7300         (elmo-folder-get-type): Ditto.
7301         (elmo-*-get-spec): Ditto.
7302         (elmo-*-spec-*): Ditto.
7303         (elmo-imap4-identical-name-space-p): Ditto.
7304         (elmo-folder-identical-system-p): Ditto.
7305         (elmo-folder-direct-copy-alist): Ditto.
7306         (elmo-folder-direct-copy-p): Ditto.
7307
7308         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7309         (elmo-folder-initialize): Define.
7310         (elmo-folder-get-primitive-list): Ditto.
7311
7312         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7313         (elmo-folder-initialize): Define.
7314         Renamed `elmo-network-session-host-internal' to
7315         `elmo-network-session-server-internal'.
7316
7317         * elmo-multi.el (elmo-multi-folder): New luna class.
7318         (elmo-folder-initialize): Define.
7319         (elmo-folder-get-primitive-list): Ditto.
7320         (elmo-folder-contains-type): Ditto.
7321         (elmo-message-use-cache-p): Ditto.
7322
7323         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7324         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7325
7326         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7327         (elmo-folder-initialize): Define.
7328
7329         * elmo-filter.el (elmo-filter-folder): New luna class.
7330         (elmo-folder-initialize): Define.
7331         (elmo-folder-get-primitive-list): Ditto.
7332         (elmo-folder-contains-type): Ditto.
7333
7334 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7335
7336         * elmo-imap4.el: Rewrite with luna.
7337
7338         * mmimap.el: New file.
7339
7340         * mmelmo.el, mmelmo-imap4.el: Removed.
7341
7342         * elmo-net.el: Ditto.
7343
7344         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7345         (elmo-folder-initialize): Define.
7346
7347         * elmo-archive.el (elmo-archive-folder): New luna class.
7348         (elmo-folder-initialize): Define.
7349
7350         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7351         `elmo-folder-msgdb-path'.
7352         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7353         `elmo-make-folder'.
7354
7355 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7356
7357         * elmo.el: New file.
7358
7359         * elmo2.el: Renamed to elmo.el.
7360
7361 \f
7362 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7363
7364         * elmo-cache.el (elmo-cache-expire-by-size): Count
7365         a disk usage for a cache file entry in KB even when
7366         its kind is a directory.
7367
7368 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7369
7370         * elmo-version.el (elmo-version): Up to 2.5.7.
7371
7372 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7373
7374         * elmo-version.el (elmo-version): Up to 2.5.6.
7375
7376 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7377
7378         * elmo-version.el (elmo-version): Up to 2.5.5.
7379
7380 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7381
7382         * elmo-imap4.el (elmo-network-authenticate-session):
7383         Fixed a logic for response checking.
7384
7385 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7386
7387         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7388         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7389         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7390         `sasl-mechanisms'.
7391
7392         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7393         for `starttls-open-stream' and `starttls-negotiate'.
7394
7395         * elmo-nntp.el: Remove autoload settings for
7396         `starttls-open-stream' and `starttls-negotiate'.
7397
7398         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7399         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7400         `luna-define-class' with `eval-and-compile'.
7401
7402 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7403
7404         * elmo-util.el (elmo-read-search-condition-internal):
7405         Require an element of table for searching field.
7406
7407 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7408
7409         * elmo-version.el (elmo-version): Up to 2.5.4.
7410
7411 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7412
7413         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7414
7415 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7416
7417         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7418
7419 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7420
7421         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7422         before greeting.
7423
7424 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7425
7426         * elmo-imap4.el (elmo-imap4-delete-folder):
7427         Send "close" before "delete" (Use commented out line).
7428         (elmo-imap4-rename-folder): Ditto.
7429
7430         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7431         folder string itself.
7432         (elmo-dop-list-deleted): New function.
7433         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7434         killed.
7435
7436         * elmo-util.el (elmo-string-rassoc-all): New function.
7437
7438 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7439
7440         * elmo-version.el (elmo-version): Up to 2.5.3.
7441
7442         * elmo-net.el (elmo-network-get-session): Changed logic for
7443         checking process status.
7444
7445         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7446         process is nil;
7447         Changed logic for checking process status.
7448
7449 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7450
7451         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7452         before greeting.
7453         (elmo-network-setup-session): Set UIDL hash size according to
7454         the length of list response.
7455         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7456         according to the length of list response;
7457         Return the length of list response.
7458         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7459
7460 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7461
7462         * elmo-imap4.el (toplevel): Require 'ssl.
7463         Add autoload 'starttls.
7464         * elmo-pop3.el (toplevel): Ditto.
7465         * elmo-nntp.el (toplevel): Ditto.
7466
7467 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7468
7469         * elmo-imap4.el (toplevel): defun at compile time.
7470         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7471         sasl-next-step, sasl-step-data, sasl-step-set-data.
7472         * elmo-pop3.el (toplevel): Ditto.
7473
7474 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7475
7476         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7477
7478 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7479
7480         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7481         if error.
7482         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7483         and `elmo-pop-auth-apop'.
7484
7485 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7486
7487         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7488
7489 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7490
7491         * elmo-pop3.el (elmo-network-authenticate-session): Split
7492         encoded response value.
7493
7494 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7495
7496         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7497         `elmo-pop3-force-login'.
7498         Redefine `sasl-mechanisms'.
7499         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7500
7501 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7502
7503         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7504         Delete `elmo-imap4-authenticator-alist'.
7505         (elmo-imap4-auth-cram-md5): Delete.
7506         (elmo-imap4-auth-digest-md5): Delete.
7507
7508 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7509
7510         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7511         (elmo-pop3-auth-scram-md5): Ditto.
7512         (elmo-pop3-auth-cram-md5): Ditto.
7513
7514 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7515
7516         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7517         Delete `elmo-pop3-authenticator-alist'.
7518
7519 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7520
7521         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7522         new SASL API.
7523         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7524
7525 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7526
7527         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7528
7529 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7530
7531         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7532         Fixed problem when `elmo-pop3-use-uidl' is nil.
7533         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7534
7535 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7536
7537         * elmo-version.el (elmo-version): Up to 2.5.2.
7538
7539 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7540
7541         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7542         New function.
7543         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7544         (elmo-pop3-msgdb-create-as-numlist): Use it.
7545
7546         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7547         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7548
7549         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7550         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7551
7552 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7553
7554         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7555         when elmo-mark-as-read is called with second argument nil.
7556
7557 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7558
7559         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7560         Moved to elmo-util.el.
7561
7562         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7563         Moved from elmo-pipe.el
7564
7565         * elmo-archive.el (elmo-archive-call-process): Enclose with
7566         static-if.
7567
7568         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7569         "RFC822" (because RFC822.PEEK is obsolete).
7570         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7571
7572 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7573
7574         * elmo-archive.el (elmo-archive-call-process): Don't check for
7575         the exit status when Nemacs is running.
7576
7577 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7578
7579         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7580         'plain.
7581
7582         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7583         (elmo-pop3-get-spec): Set default of auth to 'user.
7584
7585         * elmo-imap4.el (elmo-imap4-session-check):
7586         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7587         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7588         (elmo-imap4-auth-login): New function; Revival.
7589         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7590         `elmo-imap4-auth-login'.
7591
7592 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7593
7594         * elmo2.el (toplevel): Move `product-provide' declare.
7595         * mmelmo.el (toplevel): Ditto.
7596
7597 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7598
7599         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7600
7601 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7602
7603         * elmo-util.el (elmo-folder-get-store-type): New function.
7604         (elmo-folder-direct-copy-p): Use it.
7605
7606 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7607
7608         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7609         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7610         and result of `elmo-imap4-use-flag-p'.
7611         (elmo-imap4-fetch-callback-1): Set mark according to
7612         the result of `elmo-imap4-use-flag-p'.
7613
7614 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7615
7616         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7617         (elmo-generic-list-folder-unread): Ditto.
7618         (elmo-folder-get-info): Ditto.
7619         (elmo-folder-set-info-max-by-numdb): Ditto.
7620         (elmo-folder-get-info-max): Ditto.
7621         (elmo-folder-get-info-length): Ditto.
7622         (elmo-folder-get-info-unread): Ditto.
7623         (elmo-folder-info-make-hashtb): Ditto.
7624
7625         * elmo2.el: Removed above functions.
7626
7627 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7628
7629         * elmo-imap4.el (toplevel): Require 'ssl.
7630         Add autoload 'starttls.
7631         * elmo-pop3.el (toplevel): Ditto.
7632         * elmo-nntp.el (toplevel): Ditto.
7633
7634 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7635
7636         * elmo-imap4.el (toplevel): defun at compile time.
7637         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7638         sasl-next-step, sasl-step-data, sasl-step-set-data.
7639         * elmo-pop3.el (toplevel): Ditto.
7640
7641 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7642
7643         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7644
7645 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7646
7647         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7648         if error.
7649         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7650         and `elmo-pop-auth-apop'.
7651
7652 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7653
7654         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7655
7656 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7657
7658         * elmo-pop3.el (elmo-network-authenticate-session): Split
7659         encoded response value.
7660
7661 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7662
7663         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7664         `elmo-pop3-force-login'.
7665         Redefine `sasl-mechanisms'.
7666         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7667
7668 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7669
7670         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7671         Delete `elmo-imap4-authenticator-alist'.
7672         (elmo-imap4-auth-cram-md5): Delete.
7673         (elmo-imap4-auth-digest-md5): Delete.
7674
7675 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7676
7677         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7678         (elmo-pop3-auth-scram-md5): Ditto.
7679         (elmo-pop3-auth-cram-md5): Ditto.
7680
7681 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7682
7683         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7684         Delete `elmo-pop3-authenticator-alist'.
7685
7686 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7687
7688         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7689         new SASL API.
7690         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7691
7692 \f
7693 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7694
7695         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7696
7697 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7698
7699         * elmo-nntp.el (elmo-nntp-get-folders-info):
7700         Fixed problem when '\' character is contained in user-id.
7701         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7702
7703 \f
7704 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7705
7706         * elmo-imap4.el (elmo-imap4-delete-folder):
7707         Send "close" before "delete" (Use commented out line).
7708         (elmo-imap4-rename-folder): Ditto.
7709
7710         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7711         folder string itself.
7712         (elmo-dop-list-deleted): New function.
7713         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7714         killed.
7715
7716         * elmo-util.el (elmo-string-rassoc-all): New function.
7717
7718         * elmo-version.el (elmo-version): Up to 2.5.1.
7719
7720 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7721
7722         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7723
7724         * elmo-internal.el (elmo-internal-search): Fix last change.
7725
7726 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7727
7728         * elmo-internal.el (elmo-internal-search): Rewrite.
7729         (Fixed problem which is pointed out by Akihiro MOTOKI
7730         <motoki@da.jp.nec.com>)
7731
7732         * elmo-version.el (elmo-version): Up to 2.5.0.
7733
7734 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7735
7736         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7737
7738 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7739
7740         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7741         non-nil, make hierarchy.
7742
7743 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7744
7745         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7746         `elmo-pop3-use-uidl' must be bound to nil.
7747         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7748
7749 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7750
7751         * elmo-util.el (elmo-copy-file): Don't cause an error after
7752         `add-name-to-file' failed.
7753
7754         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7755         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7756
7757 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7758
7759         * elmo-version.el (elmo-version): Up to 2.3.93.
7760
7761 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7762
7763         * elmo-util.el (elmo-flatten): New function.
7764
7765 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7766
7767         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7768         sync Author header.
7769         * elmo-cache.el (toplevel): Ditto.
7770         * elmo-database.el (toplevel): Ditto.
7771         * elmo-date.el (toplevel): Ditto.
7772         * elmo-dop.el (toplevel): Ditto.
7773         * elmo-filter.el (toplevel): Ditto.
7774         * elmo-imap4.el (toplevel): Ditto.
7775         * elmo-internal.el (toplevel): Ditto.
7776         * elmo-localdir.el (toplevel): Ditto.
7777         * elmo-localnews.el (toplevel): Ditto.
7778         * elmo-maildir.el (toplevel): Ditto.
7779         * elmo-msgdb.el (toplevel): Ditto.
7780         * elmo-multi.el (toplevel): Ditto.
7781         * elmo-net.el (toplevel): Ditto.
7782         * elmo-nntp.el (toplevel): Ditto.
7783         * elmo-pipe.el (toplevel): Ditto.
7784         * elmo-pop3.el (toplevel): Ditto.
7785         * elmo-util.el (toplevel): Ditto.
7786         * elmo-vars.el (toplevel): Ditto.
7787         * elmo2.el (toplevel): Ditto.
7788         * mmelmo-imap4.el (toplevel): Ditto.
7789         * mmelmo.el (toplevel): Ditto.
7790
7791         * elmo-version.el (elmo-version): Move to top.
7792
7793         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7794         * elmo-imap4.el (toplevel): Ditto.
7795         * elmo-localdir.el (toplevel): Ditto.
7796         * elmo-msgdb.el (toplevel): Ditto.
7797         * elmo-nntp.el (toplevel): Ditto.
7798         * elmo-pop3.el (toplevel): Ditto.
7799         * elmo-version.el (toplevel): Ditto.
7800
7801         * elmo-localnews.el (toplevel): Added Keyword header.
7802
7803 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7804
7805         * elmo-version.el (product-version-as-string): Defined using
7806         `defun-maybe'.
7807         (toplevel): Use it.
7808
7809         * elmo-localdir.el (toplevel): Updated copyright notice.
7810         * elmo-version.el (toplevel): Ditto.
7811         * elmo-msgdb.el (toplevel): Ditto.
7812         * elmo-imap4.el (toplevel): Ditto.
7813         * elmo-nntp.el (toplevel): Ditto.
7814         * elmo-pop3.el (toplevel): Ditto.
7815
7816 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7817
7818         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7819         messages.
7820
7821         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7822         parameter value (It sometimes contains raw kanji).
7823
7824 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7825
7826         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7827         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7828
7829 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7830
7831         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7832
7833 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7834
7835         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7836         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7837
7838 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7839
7840         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7841         value if selecting folder succceeded.
7842         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7843
7844 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7845
7846         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7847         representation.
7848
7849         * elmo-util.el (elmo-string-matched-member): New function.
7850
7851 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7852
7853         * elmo-util.el (elmo-unintern): New macro.
7854         (elmo-number-set-member): Fixed docstring.
7855
7856         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7857         tag token.
7858
7859 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7860
7861         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7862         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7863
7864 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7865
7866         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7867         `no-error'.
7868         Added docstring.
7869         Return non-nil if selecting folder succeeded.
7870         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7871
7872 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7873
7874         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7875         `file-name-completion' returns t.
7876         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7877         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7878         directory if it does not exist.
7879         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7880         for iteration.
7881
7882 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7883
7884         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7885         enclosure (It's harmful in unplugged status).
7886
7887         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7888
7889         * mmelmo-1.el: Removed.
7890
7891         * mmelmo-2.el: Ditto.
7892
7893         * mmelmo-imap4-1.el: Ditto.
7894
7895         * mmelmo-imap4-2.el: Ditto.
7896
7897         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7898
7899         * mmelmo.el: Merged mmelmo-2.el.
7900
7901         * elmo-version.el (elmo-version): Up to 2.3.92.
7902
7903 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7904
7905         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7906         elmo-update-number): Remove last period in "...done." message.
7907         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7908         Ditto.
7909         * elmo-cache.el (elmo-cache-expire-by-size,
7910         elmo-cache-get-sorted-cache-file-list,
7911         elmo-cache-msgdb-create-as-numlist): Ditto.
7912         * elmo-dop.el (elmo-dop-save-pending-messages,
7913         (elmo-dop-flush-pending-append-operations): Ditto.
7914         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7915         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7916         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7917         (elmo-localdir-pack-number): Ditto.
7918         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7919         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7920         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7921         mime-write-entity-content): Ditto.
7922         * pldap.el (ldap-search-basic): Ditto.
7923
7924 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7925
7926         * elmo-version.el (elmo-version): Up to 2.3.91.
7927
7928         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7929         Only when filter is 'last'.
7930
7931         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7932         (elmo-condition-parse-search-value): Use it.
7933         (elmo-read-search-condition-internal): Quote value only when
7934         it is not an atom.
7935
7936 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7937
7938         * elmo2.el (elmo-generic-folder-diff): Fix.
7939
7940 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7941
7942         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7943         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7944         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7945         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7946         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7947         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7948
7949 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7950
7951         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7952         extra-fields.
7953
7954 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7955
7956         * elmo-version.el (elmo-version): Up to 2.3.90.
7957
7958         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7959         (elmo-imap4-list-folder-important): Ditto.
7960
7961 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7962
7963         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7964
7965 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7966
7967         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7968
7969 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7970
7971         * elmo-nntp.el (elmo-network-initialize-session):
7972         Add starttls negotiation.
7973
7974 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7975
7976         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7977         response.
7978         (elmo-network-setup-session): Define.
7979         Call `elmo-nntp-send-mode-reader' when session opened.
7980
7981 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7982
7983         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7984
7985 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7986
7987         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7988         an invalid SPACE character ahead of `SEARCH' command.  Move
7989         a valid SPACE character following `SEARCH' from conditional
7990         `format' arguments to control-strings.
7991
7992 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7993
7994         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7995         was succeeded.
7996
7997         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7998
7999 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
8000
8001         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8002         `w32-get-true-file-link-count' as t.
8003
8004         * elmo-imap4.el (elmo-imap4-read): Abolished.
8005         (Renamed to `elmo-read' and moved to elmo-util.el)
8006         All other related portions are changed.
8007
8008         * elmo-util.el (elmo-read): New function.
8009         (elmo-condition-parse-search-value): Use it.
8010
8011 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
8012
8013         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8014
8015         * elmo-nntp.el (elmo-nntp-session): Define.
8016         (elmo-nntp-setting): Abolished.
8017         All other related portions are changed.
8018         (elmo-nntp-get-server-command): Changed argument.
8019         (elmo-nntp-set-server-command): Ditto.
8020         (elmo-nntp-xover-p): Ditto.
8021         (elmo-nntp-set-xover): Ditto.
8022         (elmo-nntp-listgroup-p): Ditto.
8023         (elmo-nntp-set-listgroup): Ditto.
8024         (elmo-nntp-list-active-p): Ditto.
8025         (elmo-nntp-set-list-active): Ditto.
8026         (elmo-nntp-xhdr-p): Ditto.
8027         (elmo-nntp-set-xhdr): Ditto.
8028         (elmo-nntp-flush-connection): Abolished.
8029         (elmo-nntp-get-connection): Abolished.
8030         (elmo-nntp-get-session): New function.
8031         (elmo-network-initialize-session): Defined.
8032         (elmo-network-authenticate-session): Ditto.
8033         (elmo-nntp-send-mode-reader): Changed argument.
8034         (elmo-nntp-send-command): Changed argument.
8035         All other related portions are changed.
8036         (elmo-nntp-read-response): Ditto.
8037         (elmo-nntp-read-raw-response): Ditto.
8038         (elmo-nntp-read-contents): Ditto.
8039         (elmo-nntp-read-body): Ditto.
8040         (elmo-nntp-goto-folder): Abolished.
8041         (elmo-nntp-select-group): New function.
8042         All other related portions are changed.
8043         (This function substitutes `elmo-nntp-goto-folder')
8044         (elmo-nntp-msgdb-create-by-header): Rewrite.
8045         (elmo-nntp-get-overview): Eliminated.
8046         (elmo-nntp-get-message): Ditto.
8047         (elmo-nntp-open-connection) Abolished.
8048         (elmo-nntp-read-msg): Rewrite.
8049         (elmo-nntp-post): Ditto.
8050         (elmo-nntp-send-data): Abolished.
8051         (elmo-nntp-send-buffer): New function.
8052         (elmo-nntp-send-data-line): Define as inline function.
8053         (elmo-nntp-get-folders-info-prepare): Use session as key.
8054         (elmo-nntp-groups-read-response): Changed argument.
8055         (elmo-nntp-retrieve-headers): Ditto.
8056         (elmo-nntp-msgdb-create-message): Ditto.
8057
8058         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8059         when searching by 'since' or 'before'.
8060
8061 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8062
8063         * elmo-version.el (toplevel): Use product-version-as-string for set
8064         verstion-string, if defined.
8065
8066 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8067
8068         * elmo-util.el: Doc fixes.
8069
8070 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8071
8072         * elmo-archive.el (toplevel): Use product-provide.
8073         * elmo-cache.el (toplevel): Ditto.
8074         * elmo-database.el (toplevel): Ditto.
8075         * elmo-date.el (toplevel): Ditto.
8076         * elmo-dop.el (toplevel): Ditto.
8077         * elmo-filter.el (toplevel): Ditto.
8078         * elmo-imap4.el (toplevel): Ditto.
8079         * elmo-internal.el (toplevel): Ditto.
8080         * elmo-localdir.el (toplevel): Ditto.
8081         * elmo-localnews.el (toplevel): Ditto.
8082         * elmo-maildir.el (toplevel): Ditto.
8083         * elmo-msgdb.el (toplevel): Ditto.
8084         * elmo-multi.el (toplevel): Ditto.
8085         * elmo-net.el (toplevel): Ditto.
8086         * elmo-nntp.el (toplevel): Ditto.
8087         * elmo-pipe.el (toplevel): Ditto.
8088         * elmo-pop3.el (toplevel): Ditto.
8089         * elmo-util.el (toplevel): Ditto.
8090         * elmo-vars.el (toplevel): Ditto.
8091         * elmo2.el (toplevel): Ditto.
8092         * mmelmo-1.el (toplevel): Ditto.
8093         * mmelmo-2.el (toplevel): Ditto.
8094         * mmelmo-imap4-1.el (toplevel): Ditto.
8095         * mmelmo-imap4-2.el (toplevel): Ditto.
8096         * mmelmo-imap4.el (toplevel): Ditto.
8097         * mmelmo.el (toplevel): Ditto.
8098
8099 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8100
8101         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8102         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8103
8104 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8105
8106         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8107         before splitting.
8108         (elmo-multi-split-number-alist): Ditto.
8109
8110 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8111
8112         * elmo-version.el: New file.  Use product.el.
8113         * elmo2.el: Add (require 'elmo-version).
8114         * elmo-vars.el (elmo-appname, elmo-version): Move to
8115         elmo-version.el
8116
8117 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8118
8119         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8120         `elmo-msgdb-expand-path'.
8121         (elmo-msgdb-load): Ditto.
8122         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8123         (elmo-generic-list-folder-unread): Rewrite.
8124         (elmo-generic-list-folder-important): Changed argument.
8125         (elmo-list-folder-unread): Ditto.
8126         (elmo-list-folder-important): Ditto.
8127         (elmo-folder-diff): Rewrite.
8128         (elmo-generic-folder-diff): New function.
8129         (elmo-multi-get-number-alist-list): Abolished
8130         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8131         (elmo-multi-folder-diff): Moved to elmo-multi.el
8132         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8133
8134         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8135         `elmo-msgdb-expand-path'.
8136         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8137         (elmo-pop3-read-msg): Ditto.
8138         (elmo-pop3-delete-msgs): Ditto.
8139         (elmo-pop3-folder-diff): New alias.
8140
8141         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8142         `elmo-msgdb-expand-path'.
8143         (elmo-pipe-list-folder-unread): Changed arguments.
8144         (elmo-pipe-list-folder-important): Ditto.
8145         (elmo-pipe-folder-diff): New alias.
8146
8147         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8148         `elmo-msgdb-expand-path'.
8149         (elmo-nntp-max-of-folder): Ditto.
8150         (elmo-nntp-msgdb-create): Ditto.
8151         (elmo-nntp-delete-msgs): Ditto.
8152         (elmo-nntp-folder-diff): New alias.
8153
8154         * elmo-multi.el (elmo-multi-folder-diff): New function.
8155         (elmo-multi-split-mark-alist): Ditto.
8156         (elmo-multi-split-number-alist): Ditto.
8157         (elmo-multi-mark-alist-list): Abolished (Renamed to
8158         elmo-multi-split-mark-alist).
8159         (elmo-multi-list-folder-unread): Rewrite.
8160         (elmo-multi-list-folder-important): Ditto.
8161         (elmo-multi-list-folder): Set `spec' as 1st argument for
8162         `elmo-msgdb-expand-path'.
8163         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8164         instead of `elmo-multi-get-number-alist-list'.
8165
8166         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8167         If 1st argument is not string, treat as spec.
8168         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8169         `elmo-msgdb-expand-path'.
8170         (elmo-msgdb-flist-load): Ditto.
8171         (elmo-msgdb-flist-save): Ditto.
8172         (elmo-msgdb-delete-path): Ditto.
8173         (elmo-msgdb-rename-path): Ditto.
8174
8175         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8176         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8177         (elmo-maildir-delete-mark-msgs): Ditto.
8178         (elmo-maildir-msgdb-create): Ditto.
8179         (elmo-maildir-read-msg): Ditto.
8180         (elmo-maildir-delete-msgs): Ditto.
8181         (elmo-maildir-list-folder-subr): Ditto.
8182         (elmo-maildir-search): Ditto.
8183         (elmo-maildir-get-msg-filename): Ditto.
8184         (elmo-maildir-pack-number): Ditto.
8185         (elmo-maildir-folder-diff): New alias.
8186
8187         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8188
8189         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8190         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8191         (elmo-localdir-folder-diff): New alias.
8192
8193         * elmo-internal.el (elmo-internal-list-folder-subr):
8194         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8195         (elmo-internal-list-folder-by-location): Ditto.
8196         (elmo-internal-msgdb-create): Ditto.
8197         (elmo-internal-delete-msgs): Ditto.
8198         (elmo-internal-read-msg): Ditto.
8199         (elmo-internal-folder-diff): New alias.
8200
8201         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8202         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8203         `elmo-msgdb-expand-path'.
8204         (elmo-imap4-list-folder-unread): Changed arguments.
8205         (elmo-imap4-list-folder-important): Ditto.
8206
8207         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8208         (elmo-filter-list-folder-important): Ditto.
8209         (elmo-filter-folder-diff): New function.
8210
8211         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8212
8213         * elmo-cache.el (elmo-cache-list-folder):
8214         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8215         (elmo-cache-copy-msgs): Ditto.
8216         (elmo-cache-folder-diff): New alias.
8217
8218         * elmo-archive.el (elmo-archive-list-folder-subr):
8219         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8220         (elmo-archive-get-archive-name): Ditto.
8221         (elmo-archive-create-file): Ditto.
8222         (elmo-archive-append-msg): Ditto.
8223         (elmo-archive-copy-msgs): Ditto.
8224         (elmo-archive-copy-msgs-froms): Ditto.
8225         (elmo-archive-get-msg-filename): Ditto.
8226         (elmo-archive-folder-diff): New alias.
8227
8228 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8229
8230         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8231         (elmo-pop3-stream-type-alist): New variable.
8232         (elmo-nntp-stream-type-alist): New variable.
8233
8234         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8235         (elmo-kill-buffer): Ditto.
8236         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8237         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8238         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8239         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8240         (elmo-imap4-get-spec): Take into account
8241         `elmo-imap4-stream-type-alist'.
8242
8243 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8244
8245         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8246         (elmo-nntp-list-folders-get-cache): Ditto.
8247
8248 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8249
8250         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8251         character before 'uid'.
8252
8253 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8254
8255         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8256
8257         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8258
8259         * elmo-util.el (elmo-number-set-member): New function.
8260         (elmo-number-set-append-list): Ditto.
8261         (elmo-number-set-append): Ditto.
8262
8263         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8264         Use `elmo-number-set-member'.
8265         (elmo-living-messages): Ditto.
8266         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8267         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8268
8269         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8270         (elmo-imap4-add-to-cont-list): Abolished.
8271         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8272         instead of elmo-imap4-add-to-cont-list.
8273
8274         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8275         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8276
8277         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8278
8279 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8280
8281         * elmo-util.el (elmo-condition-parse-search-value):
8282         Fixed date parsing.
8283
8284 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8285
8286         * elmo-util.el (elmo-condition-find-key-internal): New function.
8287         (elmo-condition-find-key): Ditto.
8288
8289         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8290         (elmo-msgdb-search-internal): Ditto.
8291         (elmo-msgdb-search): Ditto.
8292
8293 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8294
8295         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8296         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8297
8298         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8299         (elmo-nntp-search-primitive): Fixed problem when condition is
8300         'unmatch'.
8301
8302         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8303
8304         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8305         (elmo-nntp-xhdr-p): New macro.
8306         (elmo-nntp-set-xhdr): Ditto.
8307         (elmo-nntp-parse-xhdr-response): New function.
8308         (elmo-nntp-retrieve-field): Ditto.
8309         (elmo-nntp-search-primitive): Ditto.
8310         (elmo-nntp-search): Implemented.
8311
8312         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8313
8314         * elmo-archive.el (elmo-archive-search): Set all number list to
8315         `elmo-archive-field-condition-match'
8316
8317         * elmo-localdir.el (elmo-localdir-search): Likewise.
8318
8319         * elmo-maildir.el (elmo-maildir-search): Likewise.
8320
8321 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8322
8323         * elmo-msgdb.el (elmo-living-messages): New function.
8324         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8325         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8326         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8327         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8328         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8329         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8330         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8331         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8332         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8333         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8334         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8335
8336 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8337
8338         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8339
8340         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8341
8342         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8343
8344         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8345         arguments for `SEARCH' command.
8346         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8347         All other related portions are changed.
8348
8349         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8350
8351         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8352         (elmo-list-folder-unread): Rewrite.
8353         (elmo-list-folder-important): Ditto.
8354
8355         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8356         (elmo-condition-parse-error): New inline function.
8357         (elmo-read-search-condition): New function.
8358         (elmo-read-search-condition-internal): Ditto.
8359         (elmo-parse-search-condition): Rewrite.
8360         (elmo-condition-parse): New function.
8361         (elmo-condition-parse-or-expr): Ditto.
8362         (elmo-condition-parse-and-expr): Ditto.
8363         (elmo-condition-parse-primitive): Ditto.
8364         (elmo-condition-parse-search-value): Ditto.
8365         (elmo-buffer-field-primitive-condition-match): Ditto.
8366         (elmo-buffer-field-condition-match): Rewrite.
8367         (elmo-file-field-condition-match): Ditto.
8368
8369         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8370         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8371
8372         * elmo-internal.el (elmo-internal-search): Set `number' and
8373         `number-list' argument of `elmo-file-field-condition-match'.
8374
8375         * elmo-maildir.el (elmo-maildir-search): Ditto.
8376
8377         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8378         `msgdb' as argument instead of `mark-alist'.
8379         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8380         `overview'.
8381
8382         * elmo-multi.el: Likewise.
8383
8384         * elmo-pipe.el: Likewise.
8385
8386         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8387         (elmo-imap4-search-internal): Rewrite.
8388         (elmo-imap4-search): Ditto.
8389
8390         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8391         (elmo-filter-list-folder-unread): Ditto.
8392         (elmo-filter-list-folder-important): Ditto.
8393         (elmo-filter-search): Rewrite.
8394
8395         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8396         `number-list' argument of `elmo-file-field-condition-match'.
8397         (elmo-cache-search): Ditto.
8398
8399         * elmo-localdir.el: Likewise.
8400
8401         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8402         number-list and pass it to `elmo-buffer-field-condition-match'.
8403         (elmo-archive-field-condition-match): Pass `number-list' to
8404         `elmo-archive-field-condition-match'
8405
8406 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8407
8408         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8409         `listgroup'.
8410
8411         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8412         (elmo-folder-diff-async-callback-data): Ditto.
8413         (elmo-folder-diff-async): New function.
8414
8415         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8416         (elmo-network-session-cache-key): Use it as a prefix of the session
8417         name.
8418         (elmo-network-open-session): Ditto.
8419
8420         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8421         (elmo-imap4-status-callback-data): Ditto.
8422         (elmo-imap4-server-diff-async-callback): New variable.
8423         (elmo-imap4-server-diff-async-callback-data): Ditto.
8424         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8425         `elmo-imap4-status-callback-data'.
8426         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8427         `elmo-imap4-status-callback-data' as nil.
8428         (elmo-imap4-server-diff): Ditto.
8429         (elmo-imap4-server-diff-async-callback-1): New function.
8430         (elmo-imap4-server-diff-async): Ditto.
8431         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8432
8433 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8434
8435         * elmo-util.el (elmo-list-delete): Doc fix.
8436         (elmo-delete-lists): Abolish.
8437         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8438         instead of `elmo-delete-lists'.
8439
8440 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8441
8442         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8443         before `sort'.
8444
8445 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8446
8447         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8448         `elmo-imap4-literal-subr'.
8449         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8450         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8451
8452 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8453
8454         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8455         (elmo-archive-list-folder): Fix.
8456         (elmo-archive-max-of-folder): Fix.
8457
8458 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8459
8460         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8461          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8462         (elmo-localdir-append-msg): Ditto.
8463         (elmo-localdir-list-folder): Fix for `nonsort'.
8464         (elmo-localdir-list-folder-subr): Fix for `killed'.
8465         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8466         (elmo-maildir-list-folder-subr): Ditto.
8467         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8468         (elmo-archive-list-folder-subr): Ditto.
8469         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8470         (elmo-internal-list-folder-subr): Ditto.
8471
8472 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8473
8474         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8475
8476 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8477
8478         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8479
8480 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8481
8482         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8483         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8484
8485         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8486         before greeting.
8487         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8488         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8489
8490 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8491
8492         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8493
8494         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8495         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8496         before STORE command.
8497
8498 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8499
8500         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8501
8502         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8503         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8504         of `response'.
8505         (elmo-imap4-list-folders): Removed unused local variable.
8506         (elmo-network-initialize-session): Ditto.
8507         (elmo-imap4-delete-msg-by-id): Ditto.
8508         (elmo-imap4-parse-fetch): Ditto.
8509         (elmo-imap4-copy-msgs): Ditto.
8510         Use `dst-spec' instead of `dst-folder'.
8511         (elmo-network-authenticate-session): Check authenticate type `plain'.
8512
8513 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8514
8515         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8516         garbage checking.
8517         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8518         `elmo-imap4-response-value'.
8519         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8520
8521 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8522
8523         * elmo-imap4.el (elmo-imap4-send-command):
8524         Cause elmo-imap4-bye-error when current response is BYE.
8525         (elmo-imap4-arrival-filter): Changed greeting response value.
8526
8527         * elmo2.el (elmo-imap4-bye-error): Define.
8528
8529         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8530         (elmo-imap4-server-diff): Ditto.
8531         (elmo-imap4-response-bye-p): New macro.
8532         (elmo-imap4-response-error-text): Get text from BYE response.
8533         (elmo-imap4-read-response): Return if BYE response.
8534         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8535         (elmo-imap4-folder-exists-p): Ditto.
8536         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8537         (elmo-imap4-parse-bye): New function.
8538         (elmo-imap4-parse-response): Remove needless let.
8539         Call `elmo-imap4-parse-bye'.
8540
8541 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8542
8543         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8544         the mailbox does not exist.
8545         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8546
8547 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8548
8549         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8550
8551 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8552
8553         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8554
8555         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8556         (elmo-network-initialize-session-buffer): Defined.
8557
8558         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8559         Abolished.
8560         (mmelmo-imap4-get-mime-entity): Rewrite.
8561
8562         * elmo2.el (elmo-error): Capitalize error message.
8563
8564         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8565         (elmo-network-session-buffer): New macro.
8566         (elmo-network-open-session): Use it.
8567
8568         * elmo-imap4.el: Rewrite.
8569
8570 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8571
8572         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8573
8574 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8575
8576         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8577         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8578         (elmo-imap4-create-msgdb-from-overview-string): Use
8579         `elmo-msgdb-create-overview-from-buffer'.
8580
8581 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8582
8583         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8584         (elmo-imap4-default-hierarchy-delimiter): New variable.
8585         (elmo-imap4-list-folders): Use it.
8586
8587 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8588
8589         * elmo-net.el (elmo-network-open-session): Add user and
8590         stream-type for process-buffer name.
8591
8592         * elmo-pop3.el (elmo-network-initialize-session): Call
8593         buffer-disable-undo.
8594
8595         * elmo-imap4.el (elmo-network-initialize-session):
8596         Set current-buffer as an argument for `buffer-disable-undo'.
8597
8598         * elmo-pop3.el (elmo-network-close-session): Don't use
8599         `process-live-p'.
8600
8601         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8602         Set default as 'user.
8603
8604         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8605
8606         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8607         and `elmo-imap4-flush-connection'.
8608
8609         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8610         (elmo-pop3-get-spec): Assume auth as symbol.
8611         (elmo-open-network-stream): Moved to `elmo-net'.
8612
8613         * elmo-pop3.el (toplevel): Require 'elmo-net.
8614         Define `sasl-cram-md5' to silence byte compilier.
8615         (elmo-pop3-connection-cache) Abolished.
8616         (elmo-pop3-authenticator-alist) New variable.
8617         (elmo-pop3-session): Define.
8618         (elmo-pop3-connection-get-process): Abolished.
8619         (elmo-pop3-connection-get-buffer): Ditto.
8620         (elmo-pop3-close-connection): Ditto.
8621         (elmo-pop3-flush-connection): Ditto.
8622         (elmo-pop3-get-connection): Ditto.
8623         (elmo-pop3-get-session): New function.
8624         (Replacement for `elmo-pop3-get-connection').
8625         All other related modules are changed.
8626         (elmo-network-close-session): Define.
8627         (elmo-pop3-send-command): Abolished argument `buffer'.
8628         All other related modules are changed.
8629         (elmo-pop3-read-response): Likewise.
8630         (elmo-pop3-open-connection): Abolished.
8631         (elmo-pop3-auth-user): New function.
8632         (elmo-pop3-auth-apop): Ditto.
8633         (elmo-pop3-auth-cram-md5): Ditto.
8634         (elmo-pop3-auth-scram-md5): Ditto.
8635         (elmo-pop3-auth-digest-md5): Ditto.
8636         (elmo-network-initialize-session): Define.
8637         (elmo-network-authenticate-session): Ditto.
8638         (elmo-network-setup-session): Ditto.
8639
8640         * elmo-imap4.el (toplevel): Require 'elmo-net.
8641         (elmo-imap4-session): Define.
8642         (elmo-imap4-connection-cache): Abolished.
8643         (elmo-imap4-password-key): Ditto.
8644         (elmo-imap4-flush-connection): Ditto.
8645         (elmo-imap4-get-connection): Ditto.
8646         All other related modules are changed.
8647         (elmo-imap4-get-session): New function
8648         (Replacement for `elmo-imap4-get-connection').
8649         (elmo-imap4-read-response): Abolished argument `buffer'.
8650         All other related modules are changed.
8651         (elmo-imap4-send-command): Likewise.
8652         (elmo-imap4-select-folder): Abolished.
8653         All other related modules are changed.
8654         (elmo-imap4-select-mailbox): New function.
8655         (Replacement for `elmo-imap4-select-folder').
8656         (elmo-imap4-auth-login): Simplify.
8657         (Assume current buffer as process buffer)
8658         (elmo-imap4-auth-cram-md5): Ditto.
8659         (elmo-imap4-auth-digest-md5): Ditto.
8660         (elmo-imap4-login): Ditto.
8661         (elmo-imap4-open-connection): Abolished.
8662         (elmo-imap4-open-connection-1): Abolished.
8663         (elmo-network-initialize-sessoin): Define.
8664         (elmo-network-authenticate-session): Ditto.
8665         (elmo-network-setup-session): Ditto.
8666
8667         * elmo-net.el: New module.
8668
8669 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8670
8671         * elmo-util.el (elmo-define-error): New function.
8672
8673         * elmo2.el (elmo-error): Define.
8674         (elmo-open-error): Define.
8675         (elmo-authenticate-error): Define.
8676
8677         * elmo-imap4.el (elmo-imap4-error): Abolish.
8678         (elmo-imap4-error-type): Abolish.
8679         (elmo-imap4-error-process): Abolish.
8680         (elmo-imap4-error-message): Abolish
8681         (elmo-imap4-list-folders): Don't quote lambda.
8682         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8683         (elmo-imap4-parse-namespace): Ditto.
8684         (elmo-imap4-open-connection): Rewrite.
8685         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8686         (elmo-imap4-get-connection): Abolish local variable `result'.
8687
8688 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8689
8690         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8691         wrong-type-argument error when auth is nil.
8692
8693 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8694
8695         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8696         (elmo-default-nntp-stream-type): Ditto.
8697         (elmo-default-pop3-stream-type): Ditto.
8698         (elmo-network-stream-type-alist): Ditto.
8699         (elmo-default-imap4-ssl): Abolished.
8700         (elmo-default-nntp-ssl): Ditto.
8701         (elmo-default-pop3-ssl): Ditto.
8702
8703         * elmo-util.el: (toplevel): Removed needless requires.
8704         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8705         (elmo-open-network-stream): Open network stream according to
8706         the value of `elmo-network-stream-type-alist'.
8707         (elmo-get-network-stream-type): New function.
8708         (elmo-network-stream-type-spec-string): New macro.
8709         (elmo-network-stream-type-symbol): Ditto.
8710         (elmo-network-stream-type-function): Ditto.
8711
8712         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8713         network-stream-type. All other related portions are changed.
8714         (elmo-pop3-open-connection): Ditto.
8715
8716         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8717         network-stream-type. All other related portions are changed.
8718
8719         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8720         network-stream-type.All other related portions are changed.
8721         (elmo-imap4-error): New macro.
8722         (elmo-imap4-error-type): Ditto.
8723         (elmo-imap4-error-process): Ditto.
8724         (elmo-imap4-error-message): Ditto.
8725         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8726         (elmo-imap4-auth-cram-md5): Ditto.
8727         (elmo-imap4-auth-digest-md5): Ditto.
8728         (elmo-imap4-login): Ditto.
8729         (elmo-imap4-open-connection): Remove password entry if authentication
8730         was in vain.
8731         (elmo-imap4-user-at-host): Abolished.
8732         (elmo-imap4-password-key): New buffer local variable.
8733         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8734         using protocol, port, auth and stream-type.
8735
8736         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8737
8738 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8739
8740         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8741
8742         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8743
8744         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8745         (elmo-imap4-authenticator-alist): New variable.
8746         (elmo-imap4-open-connection-1): Rename from
8747         elmo-imap4-open-connection.
8748         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8749         only wraps elmo-imap4-open-connection-1.
8750         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8751         user-at-host.
8752         (elmo-imap4-auth-login): New function.
8753         (elmo-imap4-auth-cram-md5): New function.
8754         (elmo-imap4-auth-digest-md5): New function.
8755         (elmo-imap4-login): New function.
8756
8757 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8758
8759         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8760         function `error'.
8761
8762 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8763
8764         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8765
8766 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8767
8768         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8769
8770 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8771
8772         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8773         for server responses, quote `*' regardless of where it appears.
8774
8775 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8776
8777         * elmo-maildir.el (elmo-maildir-commit): New alias.
8778
8779 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8780
8781         * elmo-util.el (elmo-display-progress):
8782                 Use `progress-feedback-with-label'.
8783
8784 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8785
8786         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8787         (elmo-imap4-non-atom-char-regex): Ditto.
8788         (elmo-imap4-non-text-char-regex): Ditto.
8789         (elmo-imap4-literal-threshold): Ditto.
8790         (elmo-imap4-atom-p): New function.
8791         (elmo-imap4-quotable-p): Ditto.
8792         (elmo-imap4-nil): Ditto.
8793         (elmo-imap4-atom): Ditto.
8794         (elmo-imap4-quoted): Ditto.
8795         (elmo-imap4-literal-subr): Ditto.
8796         (elmo-imap4-literal): Ditto.
8797         (elmo-imap4-buffer-literal): Ditto.
8798         (elmo-imap4-string-subr): Ditto.
8799         (elmo-imap4-string): Ditto.
8800         (elmo-imap4-buffer-string): Ditto.
8801         (elmo-imap4-astring-subr): Ditto.
8802         (elmo-imap4-astring): Ditto.
8803         (elmo-imap4-buffer-astring): Ditto.
8804         (elmo-imap4-nstring): Ditto.
8805         (elmo-imap4-buffer-nstring): Ditto.
8806         (elmo-imap4-mailbox): New alias.
8807         (elmo-imap4-field-body): Ditto.
8808         (elmo-imap4-userid): Ditto.
8809         (elmo-imap4-password): Ditto.
8810         (elmo-imap4-format-quoted): New function.
8811         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8812         arguments and handle "atom", "quoted" and "literal" string here.
8813         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8814         `elmo-imap4-send-command'.
8815         (elmo-imap4-folder-exists-p): Likewise.
8816         (elmo-imap4-create-folder): Likewise.
8817         (elmo-imap4-delete-folder): Likewise.
8818         (elmo-imap4-rename-folder): Likewise.
8819         (elmo-imap4-max-of-folder): Likewise.
8820         (elmo-imap4-check-validity): Likewise.
8821         (elmo-imap4-sync-validity): Likewise.
8822         (elmo-imap4-server-diff): Likewise.
8823         (elmo-imap4-select-folder): Likewise.
8824         (elmo-imap4-copy-msgs): Likewise.
8825         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8826         (elmo-imap4-mark-set-on-msgs): Likewise.
8827         (elmo-imap4-read-part): Likewise.
8828         (elmo-imap4-read-msg): Likewise.
8829         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8830         `elmo-imap4-password' for `elmo-imap4-send-command'.
8831         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8832         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8833         `elmo-imap4-buffer-literal'.
8834         (elmo-imap4-append-msg): Likewise.
8835
8836         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8837         `delete' for removing dead connection from the connection cache.
8838         Move deletion of the process buffer after that.
8839         (elmo-imap4-list): Change `defsubst' to `defun'.
8840         (elmo-imap4-commit): Make error message verbose.
8841         (elmo-imap4-search): Ditto.
8842         (elmo-imap4-list): Ditto.
8843         (elmo-imap4-select-folder): Ditto.
8844         (elmo-imap4-copy-msgs): Ditto.
8845         (elmo-imap4-delete-msg-by-id): Ditto.
8846         (elmo-imap4-append-msg-by-id): Ditto.
8847         (elmo-imap4-append-msg): Ditto.
8848
8849 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8850
8851         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8852         when dired is used on XEmacs.
8853
8854 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8855
8856         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8857         instead of `append'.
8858         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8859         `elmo-plugged-p' directly.
8860         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8861         of `elmo-plugged-p' directly.
8862
8863         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8864         Eliminate unused variable.  Use `memq' for checking a process status.
8865         Use `cons' instead of `append' for updating the connection cache.
8866         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8867         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8868
8869 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8870
8871         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8872         `elmo-imap4-read-point' exactly.
8873
8874         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8875         the local variable `folder' to `mailbox'.
8876         Rename the argument `fld' to `folder'.
8877
8878 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8879
8880         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8881         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8882
8883 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8884
8885         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8886         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8887         (elmo-pop3-uidl-number-hash): Ditto.
8888         (elmo-pop3-size-hash): Ditto.
8889         (elmo-pop3-uidl-done): Ditto.
8890         (elmo-pop3-list-done): Ditto.
8891         (elmo-pop3-connection-get-process): New defmacro.
8892         (elmo-pop3-connection-get-buffer): Ditto.
8893         (elmo-pop3-close-connection): Delete buffer and process.
8894         (elmo-pop3-flush-connection): Don't delete buffer and process.
8895         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8896         Setup UIDL and size hash.
8897         (elmo-pop3-send-command-no-erase): Deleted
8898         (elmo-pop3-send-command): Added optional argument `no-erase'.
8899         (elmo-pop3-parse-uidl-response): New function.
8900         (elmo-pop3-parse-list-response): Set size hash.
8901         (elmo-pop3-list-location): New function.
8902         (elmo-pop3-list-by-uidl-subr): Ditto.
8903         (elmo-pop3-list-by-list): Ditto.
8904         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8905         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8906         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8907         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8908         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8909         Use uidl.
8910         (elmo-pop3-uidl-to-number): New function.
8911         (elmo-pop3-number-to-uidl): Ditto.
8912         (elmo-pop3-number-to-size): Ditto.
8913         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8914         Set number by use of uidl.
8915         (elmo-pop3-msgdb-create-message): Likewise.
8916         Set size, loc-alist in msgdb.
8917         (elmo-pop3-read-msg): Set number by use of uidl.
8918         Added optional argument `msgdb'.
8919         (elmo-pop3-delete-msg): Ditto.
8920         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8921         (elmo-pop3-commit): Close connection.
8922
8923         * elmo-pipe.el (elmo-pipe-max-of-folder):
8924         Bind `elmo-pop3-use-uidl' as nil.
8925         (elmo-pipe-drain): Ditto.
8926         Call `elmo-commit'.
8927
8928         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8929         (elmo-msgdb-overview-entity-set-size): New defsubst.
8930
8931 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8932
8933         * elmo-vars.el (elmo-use-killed-list): New variable
8934         (Renamed from `elmo-nntp-use-killed-list').
8935         (elmo-nntp-use-killed-list): Eliminated.
8936
8937         * elmo-msgdb.el (elmo-msgdb-expand-path):
8938         Changed expanding msgdb path for elmo-multi.
8939
8940         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8941         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8942         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8943         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8944         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8945         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8946         (toplevel): Deleted time-stamp line.
8947
8948         * elmo2.el (elmo-clear-killed ): Defined as function
8949         (Abolished defining as a backend function).
8950         All other related modules are changed.
8951
8952 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8953
8954         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8955
8956 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8957
8958         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8959
8960 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8961
8962         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8963
8964 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8965
8966         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8967         asynchronous folder check.
8968
8969         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8970
8971         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8972         `elmo-nntp-use-killed-list'.
8973         (elmo-nntp-list-folder): Use killed list.
8974         (elmo-nntp-max-of-folder): Ditto.
8975         (elmo-nntp-msgdb-create): Set killed list.
8976
8977         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8978
8979         * elmo2.el (elmo-clear-killed): New backend function.
8980         All other related modules are changed.
8981
8982 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8983
8984         * elmo-util.el (elmo-imap4-spec-folder): Use
8985         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8986         All callers changed.
8987
8988 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8989
8990         * mmelmo-2.el (initialize-instance):
8991         Use `mime-buffer-entity-buffer-internal' instead of
8992         `mime-entity-buffer'.
8993
8994         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8995         (mime-entity-body): Implemented.
8996         (mime-goto-header-start-point): Deleted.
8997         (mime-goto-body-end-point): Ditto.
8998         (mime-entity-point-min): Ditto.
8999         (mime-entity-point-max): Ditto.
9000         (mime-entity-children): Ditto.
9001         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9002         instead of `mime-entity-buffer'.
9003         (mime-entity-header-buffer): Ditto.
9004         (mime-entity-body-buffer): Ditto.
9005         (mime-write-entity-content): Ditto.
9006
9007         * pldap.el (ldap-static-if): New macro.
9008         (toplevel): Use it instead of `static-if'.
9009
9010 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
9011
9012         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9013         included in `attrs' argument.
9014
9015 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
9016
9017         * elmo-util.el (elmo-get-passwd): Use old backquote style.
9018
9019         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9020         (ldap-ldif-safe-init-char-regexp): Ditto.
9021         (ldap-ldif-safe-string-regexp): Ditto.
9022         (ldap/ldif-safe-string-p): New macro.
9023         (ldap/ldif-insert-field): Ditto.
9024         (ldap-modify): Use it.
9025         (ldap-add): Ditto.
9026         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9027         (ldap-decode-attribute): Decode only when `attr' is consp.
9028         (ldap-delete): Bind `ret'.
9029         (toplevel): Require 'cl at compile time.
9030         Removed (require 'poe) and (require 'std11).
9031         (pldap-version): Eliminated.
9032         (ldap-search-basic): Removed auth and dn binding.
9033         (ldap-ldif-field-name-regexp): New constant.
9034         (ldap-ldif-field-head-regexp): Ditto.
9035         (ldap-ldif-next-field-head-regexp): Ditto.
9036         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9037         (ldap/field-end): New function.
9038         (ldap/field-body): Use it.
9039         (ldap/collect-field): Ditto.
9040         (ldap-search-basic): Use `ldap/field-body'.
9041
9042 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9043
9044         * pldap.el (ldap-default-attribute-encoder): New user option.
9045         (ldap/field-body): Decode base64 string.
9046         (ldap/collect-field): Ditto.
9047         (ldap-encode-attribute): New function.
9048         (ldap-add-entries): Use it.
9049         (ldap-modify-entries): Ditto.
9050         (ldap-search-entries): Enclosed decoding function with
9051         `with-temp-buffer' and set as unibyte.
9052         (ldap-search-basic): Set process buffer as unibyte.
9053
9054         * elmo-util.el (elmo-folder-identical-system-p):
9055         Eliminated name space checking.
9056
9057         * pldap.el: New module.
9058         toplevel: Changed condition to detect built-in ldap feature.
9059         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9060         (ldap-add): Added error handling.
9061         (ldap-modify): Ditto.
9062         (ldap-delete): Ditto.
9063
9064 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9065
9066         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9067         Initialize local variables with `let'.  Inline a temporary
9068         variable for the progress percentage.  Sort `setq' to reduce
9069         function call in the while-loop.
9070
9071         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9072         into the conditional branch.
9073
9074 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9075
9076         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9077         Move a conditional out of the while-loop.
9078
9079 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9080
9081         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9082         elmo-msgdb-overview-get-entity-by-number.
9083         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9084         throw.
9085
9086 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9087
9088         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9089         the local variable for a packed number self descriptively.
9090
9091 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9092
9093         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9094         * elmo-localdir.el (elmo-localdir-pack-number): Use
9095         `elmo-msgdb-overview-get-entity' instead of
9096         `elmo-msgdb-overview-get-entity-by-number'.
9097         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9098         (elmo-msgdb-search-overview-entity): Removed.
9099         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9100         by message-id or number.
9101         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9102         instead of `elmo-msgdb-overview-get-entity-by-number'.
9103
9104 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9105
9106         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9107         non-nil, use hash table for overview.
9108         (elmo-hash-maximum-size): New variable.
9109         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9110         (elmo-msgdb-make-overview-hashtb): New function.
9111         (elmo-msgdb-clear-overview-hashtb): New function.
9112         (elmo-clear-hash-val): New macro.
9113         All other related modules are changed.
9114
9115 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9116
9117         * elmo2.el (elmo-move-msgs): If there's other message with
9118         same message-id, don't use cache.
9119
9120 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9121
9122         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9123         number is already packed.
9124
9125 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9126
9127         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9128
9129 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9130
9131         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9132         All other related modules are changed.
9133
9134 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9135
9136         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9137         of refiling failure on Maildir.
9138
9139 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9140
9141         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9142         decoded mime-charset with cache.
9143         (elmo-msgdb-overview-entity-get-from): Ditto.
9144         (elmo-msgdb-overview-entity-get-subject): Ditto.
9145         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9146
9147 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9148
9149         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9150         (elmo-remove-passwd): Fill password with 0 before erase.
9151         * elmo-vars.el (elmo-passwd-life-time): New variable.
9152
9153 \f
9154 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9155
9156         * elmo-cache.el (elmo-buffer-cache-add):
9157         Set message cache buffer as unibyte.
9158
9159 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9160
9161         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9162         become nil.
9163
9164 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9165
9166         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9167         when display is finished.
9168         (elmo-nntp-msgdb-create): Ditto.
9169         (elmo-nntp-groups-read-response): Ditto.
9170         (elmo-nntp-retrieve-headers): Ditto.
9171         (elmo-nntp-msgdb-create-message): Ditto.
9172         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9173         (elmo-pop3-msgdb-create-message): Ditto.
9174
9175 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9176
9177         * elmo-maildir.el (elmo-maildir-msgdb-create):
9178         Use `elmo-msgdb-sort-by-date'.
9179
9180 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9181
9182         * elmo2.el (elmo-read-msg-no-cache):
9183         Eliminated arguments after `outbuf'.
9184         Don't use cache even if it exists.
9185         (elmo-read-msg): Don't pass arguments after `outbuf' to
9186         `elmo-read-msg-no-cache'.
9187
9188 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9189
9190         * elmo-archive.el (elmo-archive-list-folders):
9191         Use `file-name-directory' if base folder does not exist.
9192
9193 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9194
9195         * elmo-archive.el (elmo-archive-list-folders): Don't use
9196         `file-name-directory'.
9197
9198 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9199
9200         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9201         If `force' is non-nil, try flushing all operation queues.
9202
9203 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9204
9205         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9206         as-binary-process.
9207
9208 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9209
9210         * elmo-util.el (elmo-display-progress): Fixed.
9211
9212 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9213
9214         * elmo-util.el (elmo-display-progress): New function.
9215         All other related modules are changed.