dae999d329354fe2aee731aef8e722cff9a32c63
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
2
3         * elmo.el: Fix typo: disptch -> dispatch.
4
5 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6
7         * elmo.el (elmo-file-tag): New class.
8         (elmo-append-messages-disptch-table): New constant.
9         (elmo-folder-type-p): New function.
10         (elmo-folder-append-messages): Redefine as function.
11
12         * elmo-null.el (elmo-folder-append-messages): Renamed from
13         `elmo-folder-append-messages'.
14
15         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
16         (elmo-folder-append-messages-*-maildir): Renamed from
17         `elmo-folder-append-messages'.
18
19         * elmo-localdir.el (elmo-localdir-folder): Inherit
20         `elmo-file-tag'.
21         (elmo-folder-append-messages-*-localdir): Renamed from
22         `elmo-folder-append-messages'.
23
24         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
25         from `elmo-folder-append-messages'.
26
27         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
28         `elmo-folder-append-messages'.
29
30         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
31         function.
32         (elmo-folder-append-messages-*-filter): Ditto.
33
34         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
35
36         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
37         (elmo-folder-append-messages-*-pipe): Renamed from
38         `elmo-folder-append-messages'.
39
40         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
41
42         * elmo-file.el (elmo-file-folder): Ditto.
43
44         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
45
46         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
47         from `elmo-folder-append-messages'
48
49 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
50
51         * elmo-map.el (elmo-location-map-setup): Change an argument
52         `locations' to optional.
53         (elmo-location-map-clear): Abolish.
54         (elmo-folder-clear): Follow the API change.
55
56         * elmo-pop3.el (elmo-folder-clear): Ditto.
57
58         * elmo-pop3.el (toplevel): Require elmo-map.
59         (elmo-pop3-folder): Inherit elmo-location-map and abolish
60         location-alist slot (All other related portions are changed).
61         (elmo-pop3-folder-use-uidl): New function.
62         (elmo-folder-msgdb-create): Don't sort message entities.
63         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
64         (elmo-pop3-number-to-size): Convert return value to number.
65         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
66         working buffer.
67
68         * elmo-map.el: Use `location-map' as a variable name for instance
69         instead of `mapper'.
70         (elmo-location-map-setup): Return location alist.
71         (elmo-location-map-update): Ditto.
72
73 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
74
75         * elmo-map.el (elmo-location-map): New class; split location and
76         number mapping from elmo-map-folder (All other related portions
77         are changed).
78
79         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
80         change.
81
82         * elmo-version.el (elmo-version): Up to 2.15.4.
83
84 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
85
86         * elmo-vars.el (elmo-use-hardlink): New user option.
87
88         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
89         `elmo-use-hardlink'.
90
91         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
92         killed-list.
93         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
94         instead of `*-internal'. Use `elmo-with-progress-display'.
95
96 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
97
98         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
99         `elmo-spam-process-messages-as-mbox'.
100
101         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
102
103 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
104
105         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
106         argument BUFFER of `call-process'.
107
108 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
109
110         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
111         args.
112         (elsp-bsfilter-list-spam-files): Ditto.
113
114 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
115
116         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
117         (elmo-spam-bsfilter-max-messages-per-process): New use option.
118         (elmo-spam-bsfilter-debug): Fix a group.
119         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
120         `--homedir'.
121         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
122         (elsp-bsfilter-list-spam-files): New function.
123         (elmo-spam-list-spam-messages): Define.
124         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
125         (elmo-spam-bsfilter-register-messages): New function.
126         (elmo-spam-register-spam-messages): Define.
127         (elmo-spam-register-good-messages): Ditto.
128
129         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
130
131         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
132         `nconc' and `consp'.
133
134 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
135
136         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
137         hash table to test whether a location is exists.
138
139 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
140
141         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
142         even if some error occurred.
143
144         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
145         meaningless unwind-protect.
146
147         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
148         start-number correctly.
149         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
150         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
151
152 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
153
154         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
155         (elmo-folder-initialize): Use it.
156         (elmo-global-flag-replace-referrer): New function.
157
158         * elmo.el (toplevel): Added autoload setting for
159         `elmo-global-flag-replace-referrer'.
160         (elmo-folder-rename): Rewrite the last change use
161         `elmo-global-flag-replace-referrer'.
162
163         * elmo-pipe.el (elmo-folder-rename): Call
164         `elmo-global-flag-replace-referrer'.
165
166 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
167
168         * elmo.el (elmo-folder-rename): Set meta data for global flags
169         follow the rename.
170
171 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
172
173         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
174         as 'not-loaded.
175         (elmo-folder-close): Ditto.
176         (elmo-filter-folder-number-list-loaded-p): New function.
177         (elmo-filter-folder-number-list): Check whether loaded or not.
178         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
179         of `elmo-filter-folder-number-list-internal'.
180         (elmo-folder-delete-messages): Ditto.
181         (elmo-folder-length): Check whether number-list is loaded or not.
182
183 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
184
185         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
186         field `real field' into each element of list.
187         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
188         (elmo-msgdb-message-entity-field): Ditto.
189         (modb-entity-ml-info-real-fields): New function.
190
191         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
192
193         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
194         `elmo-msgdb-extra-fields'.
195
196 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
197
198         * elmo-util.el (elmo-passwd-alist-load): Move point to min
199         position before read.
200
201 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
202
203         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
204         (elmo-global-flags-initialize): Ditto.
205
206 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
207
208         * elmo-archive.el (toplevel): Don't require emu, std11
209         and elmo-localdir.
210
211         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
212         definition.
213
214 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
215
216         * elmo.el (elmo-folder-confirm-appends): Display folder name.
217
218 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
219
220         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
221         literals.
222
223 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
224
225         * elmo-maildir.el (elmo-maildir-list-location): Reduce
226         `elmo-get-last-modification-time' call.
227
228 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
229
230         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
231         expression.
232         (elmo-maildir-set-mark): Ditto.
233         (elmo-maildir-delete-mark): Ditto.
234
235 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
236
237         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
238         optional argument `separators'.
239
240 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
241
242         * elmo.el (cache-changed): Abolish.
243         (status-changed): New signal.
244         (elmo-message-killed-p): New generic function and define for
245         elmo-folder.
246         (elmo-folder-recover-messages): Ditto.
247         (elmo-message-set-cached): Emit signal `status-changed' instead of
248         `cache-changed'.
249         (elmo-message-status): New macro.
250         (elmo-message-status-folder): Ditto.
251         (elmo-message-status-number): Ditto.
252         (elmo-message-status-set-flags): Ditto.
253         (elmo-message-status-set-killed): Ditto.
254         (elmo-message-status-flags): New function.
255         (elmo-message-status-cached-p): Ditto.
256         (elmo-message-status-killed-p): Ditto.
257
258         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
259         `status-changed' instead of `cache-changed'.
260         (elmo-folder-recover-messages): Define.
261         (elmo-message-killed-p): Ditto.
262
263         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
264         `status-changed' instead of `cache-changed'.
265
266         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
267         (elmo-message-killed-p): Define.
268         (elmo-folder-recover-messages): Ditto.
269
270         * elmo-version.el (elmo-version): Up to 2.15.3.
271
272 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
273
274         * elmo-signal.el (elmo-signal-bindings): Use cons to append
275         element into list.
276         (elmo-define-signal-handler): Add docstring.
277         (elmo-define-signal-filter): Ditto.
278
279         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
280
281 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
282
283         * elmo-util.el (elmo-flatten): Don't use recursive call.
284
285         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
286         assignment.
287         (elmo-folder-message-make-temp-files): Use `number-to-string'
288         instead of `int-to-string'.
289
290 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
291
292         * elmo-search.el (elmo-folder-delete-messages): Define.
293
294 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
295
296         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
297         customization type.
298         (elmo-mailing-list-count-spec-list): Ditto.
299
300         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
301         for `list-id'.
302
303 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
304
305         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
306         handling.
307
308 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
309
310         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
311         (elmo-mailing-list-count-spec-list): Ditto.
312
313         * elmo-util.el (elmo-map-until-success): New function.
314         (elmo-string-match-substring): Ditto.
315         (elmo-find-list-match-value): Ditto.
316
317         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
318         Removed.
319         (modb-entity-extract-ml-info-from-subject): Ditto.
320         (modb-entity-extract-ml-info-from-return-path): Ditto.
321         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
322         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
323         (modb-entity-extract-ml-info-from-mailman): Ditto.
324         (modb-entity-extract-mailing-list-info-functions): Ditto.
325         (modb-entity-extract-mailing-list-info): Rewrite with
326         `elmo-find-list-match-value'.
327
328 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
329
330         * elmo-net.el (elmo-network-session-retry-count): New user option.
331         (elmo-network-session-buffer-name): New internal function.
332         (elmo-network-session-buffer-create): Ditto.
333         (elmo-network-open-session): Retry open network session
334         `elmo-network-session-retry-count' times.
335
336 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
337
338         * elmo-util.el (elmo-list-filter): Rewritten.
339
340 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
341
342         * elmo-util.el (elmo-string-member): Allow symbol element in list.
343
344 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
345
346         * elmo-search.el (elmo-make-search-engine): Use prefix
347         `elmo-search-' for require symbol instead of `else-'.
348         (elmo-search-engine-extprog): New class.
349         (elmo-search-engine-do-search): Remove nil from argument
350         list. Added argument pattern to evaluate element as function.
351         (elmo-search-engine-local-file): Derived from
352         `elmo-search-engine-extprog'.
353         (elmo-search-engine-create-message-entity): Check existance of file.
354         (elmo-search-engine-fetch-message): Ditto.
355         (elmo-search-namazu-index): Follow the API change.
356         (elmo-search-grep-target): Ditto.
357
358 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
359
360         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
361         characters of working buffer.
362
363         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
364         Does not bind `default-mime-charset'.
365         (elmo-msgdb-create-message-entity-from-buffer): Removed
366         unnecessary local bind.
367
368         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
369         function.
370         (modb-entity-extract-mailing-list-info-functions): Added it.
371
372 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
373
374         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
375         when number and message-id are non-nil.
376
377         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
378
379         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
380         conditional steatment.
381         (elmo-pop3-auth-apop): Likewise.
382         (elmo-network-authenticate-session): Likewise.
383
384 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
385
386         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
387         symbol `fill-column'.
388         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
389         decode field value.
390
391         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
392         (elmo-decoded-field-body): Ditto.
393
394 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
395
396         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
397         `tokens' to `params'.
398
399 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
400
401         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
402         working buffer.
403
404 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
405
406         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
407         decide index.
408
409 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
410
411         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
412         Set default value as nil.
413         (toplevel): Register search engines by
414         `elmo-search-register-engine' if there are not defined.
415
416         * elmo.el (autoload): Added autoload setting for
417         `elmo-search-register-engine'.
418
419 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
420
421         * elmo.el (toplevel): `[' is redefined as the prefix of the search
422         folder instead of nmz folder.
423         (elmo-nmz-default-index-path): Added obsolete variable setting.
424         (elmo-nmz-index-alias-alist): Ditto.
425         (elmo-nmz-use-drive-letter): Ditto.
426
427         * elmo-search.el (elmo-search-register-engine): New function.
428
429         * elmo-nmz.el: Removed.
430
431         * elmo-version.el (elmo-version): Up to 2.15.2.
432
433 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
434
435         * elmo-search.el: New file.
436
437 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
438
439         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
440         condition `larger' and `smaller'.
441
442 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
443
444         * elmo-util.el (elmo-safe-filename): Rewrite to replace
445         `"' (double quote) into "_Q_".
446
447 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
448
449         * elmo-net.el (elmo-net-quote-chars): Abolish.
450         (elmo-net-format-quoted): Ditto.
451
452 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
453
454         * elmo.el (elmo-get-folder-function): New variable.
455         (elmo-get-folder): New function.
456         (elmo-folder-rename): Call `elmo-make-folder' with specified
457         mime-charset.
458
459         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
460         `elmo-make-folder'.
461         (elmo-split-subr): Ditto.
462
463         * elmo-multi.el (elmo-folder-initialize): Ditto.
464
465         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
466
467         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
468         (elmo-flag-get-folder): Ditto.
469
470         * elmo-filter.el (elmo-folder-initialize): Ditto.
471
472         * elmo-access.el (elmo-folder-initialize): Ditto.
473         (elmo-access-folder-update-children): Ditto.
474
475         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
476         (elmo-dop-queue-flush): Ditto.
477         (elmo-folder-append-buffer-dop-delayed): Ditto.
478         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
479         mime-charset.
480
481         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
482         instead of `elmo-make-folder'.
483         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
484         destination folder instead of send `elmo-folder-rename-internal'.
485
486         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
487         slot of subfolder instead of create it.
488
489 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
490
491         * elmo-util.el (elmo-collect-separators): New function.
492         (elmo-collect-separators-internal): Ditto.
493         (elmo-collect-trail-separators): Ditto.
494         (elmo-parse-separated-tokens): Ditto.
495         (elmo-parse-separated-tokens-internal): Ditto.
496         (elmo-quote-syntactical-element): Ditto.
497
498         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
499         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
500
501         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
502         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
503         (elmo-nntp-folder-list-subfolders): Quote a user name.
504
505         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
506         (elmo-net-parse-network): Abolish.
507         (elmo-net-folder-set-parameters): New function.
508         (elmo-folder-initialize): Follow the above change.
509
510         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
511         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
512         (elmo-folder-list-subfolders): Use
513         `elmo-quote-syntactical-element' instead of
514         `elmo-net-format-quoted' to quote mailbox and user name.
515
516 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
517
518         * elmo-util.el (elmo-token-valid-p): New function.
519         (elmo-parse-token): Add optional argument `requirement'.
520         (elmo-parse-prefixed-element): Likewise.
521
522         * elmo-net.el (elmo-net-quote-chars): Renamed from
523         `elmo-net-quote-chars-regexp'.
524         (elmo-net-format-quoted): Add optional argument `extra-chars'.
525
526         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
527         by info document. Check token `uidl' is started an alphabet.
528
529         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
530         by info document. Check token `user' is started an alphabet.
531
532         * elmo-imap4.el (elmo-folder-initialize): Ditto.
533         (elmo-folder-list-subfolders): Quote user.
534
535 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
536
537         * elmo-util.el (elmo-quoted-specials-list): New constant.
538         (elmo-quoted-token): New function.
539
540         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
541         (elmo-net-format-quoted): New function.
542         (elmo-net-parse-network): Ditto.
543         (elmo-folder-initialize): Use it.
544
545         * elmo-nntp.el (elmo-folder-initialize): Use
546         `elmo-net-parse-network' to parse network specification instead of
547         `elmo-folder-initialize#elmo-net'.
548
549         * elmo-pop3.el (elmo-folder-initialize): Ditto.
550
551         * elmo-imap4.el (elmo-folder-initialize): Ditto.
552         (elmo-folder-list-subfolders): Quote folder name by
553         `elmo-net-format-quoted'.
554
555 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
556
557         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
558         (elmo-folder-search): Use it.
559
560 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
561
562         * modb-standard.el (modb-standard-loaded-message-id): Use
563         `elmo-msgdb-message-entity-field'.
564
565 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
566
567         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
568         without filename.
569
570 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
571
572         * elmo-util.el (elmo-set-auto-coding): New function.
573         (elmo-object-load): Use it.
574
575 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
576
577         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
578         (elmo-time<): Define as alias of `elmo-time-less-p'.
579         (elmo-time-to-datevec): New function.
580
581         * elmo-date.el (elmo-time-to-days): New function.
582
583 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
584
585         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
586         is not cons cell.
587
588 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
589
590         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
591         parenthesis.
592
593         * elmo-util.el (elmo-map-recursive): New function.
594
595         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
596         (modb-entity-encode-string-recursive): Ditto.
597
598 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
599
600         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
601         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
602         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
603         compare sequence number when last modified time is nil.
604
605 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
606
607         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
608
609         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
610
611 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
612
613         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
614         modification time of the file.
615
616 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
617
618         * elmo-util.el (elmo-condition-optimize): Discriminated against
619         preserved fields, extra fields and the other weight.
620
621 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
622
623         * modb-entity.el (initialize-instance): Define.
624         (modb-entity-handler-mime-charset): New internal function.
625         (modb-standard-entity-set-field): Use it.
626         (elmo-msgdb-message-entity-field): Ditto.
627         (elmo-msgdb-message-entity-field): Ditto.
628
629         * modb.el (elmo-msgdb-match-condition): Rewrite with
630         `elmo-condition-match'.
631         (elmo-msgdb-match-condition-primitive): New function.
632
633         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
634         arguments `flags' and `numbers'.
635         (elmo-msgdb-match-condition-primitive): Abolished (merged to
636         `elmo-msgdb-message-match-condition').
637         (modb-buffer-entity-handler): New class.
638
639         * elmo.el (elmo-folder-search): Optimize condition to use
640         `elmo-condition-optimize'.
641         (elmo-message-buffer-match-condition): New function.
642         (elmo-message-match-condition): Use
643         `elmo-message-buffer-match-condition' instead of
644         `elmo-buffer-field-condition-match'.
645
646         * elmo-util.el (elmo-condition-match): New function.
647         (elmo-condition-optimize): Ditto.
648         (elmo-buffer-field-primitive-condition-match): Abolish.
649         (elmo-buffer-field-condition-match): Ditto.
650
651         * elmo-archive.el (elmo-archive-field-condition-match): Use
652         `elmo-message-buffer-match-condition' instead of
653         `elmo-buffer-field-condition-match'.
654
655 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
656
657         * elmo-flag.el (elmo-global-flags-initialize): Check the
658         existence of the flag directory.
659
660 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
661
662         * elmo-access.el (elmo-folder-initialize): Call
663         `elmo-multi-connect-signals'.
664
665         * elmo-pipe.el (elmo-folder-close): Define.
666
667         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
668         children folders.
669
670         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
671         with target folder.
672
673         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
674         `number'.
675
676         * elmo-multi.el (elmo-message-entity): Don't use return value of
677         `elmo-message-entity-set-number'.
678
679 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
680
681         * modb.el (modb-generic): Added slot `mime-charset'.
682
683         * modb-standard.el (modb-standard): Added slot `overview-handler'.
684         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
685         and `modb-entity-handler-dump-parameters'.
686         (modb-standard-default-entity-handler): Abolish.
687         (elmo-msgdb-message-entity-handler): Save created handler by
688         instance slot.
689
690         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
691         (modb-entity-handler-list-parameters): New method.
692         (modb-entity-handler-equal-p): New function.
693         (modb-entity-handler-dump-parameters): Ditto.
694         (modb-entity-parse-address-string): Encode return value.
695         (modb-entity-make-address-string): Decode argument value.
696         (modb-entity-decode-string-recursive): New function.
697         (modb-entity-encode-string-recursive): Ditto.
698         (modb-standard-entity-normalizer): Set to encode field value.
699         (modb-standard-entity-specializer): Follow the above change.
700         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
701         mime-charset of handler.
702         (elmo-msgdb-message-entity-field): Ditto.
703         (elmo-msgdb-copy-message-entity): Fixed reference to internal
704         structure.
705         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
706
707         * elmo.el (elmo-folder): Added slot `mime-charset'.
708         (elmo-make-folder): Added argument `mime-charset'.
709         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
710         `mime-charest'.
711
712         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
713         (elmo-make-msgdb): Likewise.
714
715         * elmo-internal.el (elmo-internal-folder-initialize): Call
716         `luna-make-entity' with :mime-charset parameter.
717
718 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
719
720         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
721         encoded words in `from' and `subject' field.
722
723 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
724
725         * modb.el (elmo-msgdb-message-field): Add argument `type'.
726         (elmo-msgdb-match-condition): Get handler from entity instead of
727         msgdb.
728
729         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
730         (modb-standard-load-entity): Treat new file format.
731         (modb-standard-save-entity-1): Save as new file format.
732         (modb-standard-save-entity): Split messages into section here.
733         (elmo-msgdb-message-field): Follow the API change.
734         (modb-standard-default-entity-handler): New internal variable.
735         (elmo-msgdb-message-entity-handler): Define.
736
737         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
738         to `elmo-vars.el'.
739         (modb-entity-field-extractor-alist): New user option.
740         (elmo-msgdb-message-entity-field): Removed argument `decode' and
741         added argument `type'.
742         (elmo-msgdb-copy-message-entity): Add optional argument
743         `make-handler'.
744         (modb-set-field-converter): New function.
745         (modb-convert-field-value): Ditto.
746         (modb-entity-string-decoder): Ditto.
747         (modb-entity-string-encoder): Ditto.
748         (modb-entity-parse-date-string): Ditto.
749         (modb-entity-make-date-string): Ditto.
750         (modb-entity-mime-decoder): Ditto.
751         (modb-entity-mime-encoder): Ditto.
752         (modb-entity-address-list-decoder): Ditto.
753         (modb-entity-address-list-encoder): Ditto.
754         (modb-entity-parse-address-string): Ditto.
755         (modb-entity-make-address-string): Ditto.
756         (modb-entity-create-field-indices): Ditto.
757         (modb-legacy-entity-field-slots): New constant.
758         (modb-legacy-entity-field-indices): Ditto.
759         (modb-legacy-entity-normalizer): New variable.
760         (modb-legacy-entity-specializer): Ditto.
761         (modb-legacy-entity-field-index): New macro.
762         (modb-legacy-entity-set-field): New function.
763         (modb-legacy-make-message-entity): Rewrite.
764         (elmo-msgdb-create-message-entity-from-buffer): Use
765         `elmo-msgdb-get-references-from-buffer'. Use
766         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
767         Use `modb-legacy-entity-set-field' instead of
768         `elmo-msgdb-message-entity-set-field'.
769         (elmo-msgdb-message-entity-field): Rewrite.
770         (elmo-msgdb-message-entity-set-field): Ditto.
771         (elmo-msgdb-copy-message-entity): Make new entity by
772         `make-handler' if it specified.
773         (elmo-msgdb-message-match-condition): Define a method of
774         `modb-entity-handler' and follow the API change.
775         (modb-standard-entity-handler): New class.
776         (modb-entity-extract-ml-info-from-x-sequence): New function.
777         (modb-entity-extract-ml-info-from-subject): Ditto.
778         (modb-entity-extract-ml-info-from-return-path): Ditto.
779         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
780         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
781         (modb-entity-extract-mailing-list-info): Ditto.
782         (modb-entity-extract-mailing-list-info-functions): New variable.
783
784         * elmo.el (elmo-message-field): Add optional argument `type'.
785
786         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
787         from `modb-entity.el'.
788
789         * elmo-util.el (elmo-object-load): Decode by coding-system from
790         `set-auto-coding-function'.
791         (elmo-object-save): Use `detect-mime-charset-region' and add
792         coding cookie if encode.
793         (elmo-msgdb-get-references-from-buffer): New function.
794         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
795
796         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
797
798         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
799         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
800         instead of `shimbun-make-header' and follow the API change.
801         (elmo-shimbun-update-overview): Follow the API change.
802         (elmo-map-folder-list-message-locations): Ditto.
803
804         * elmo-pipe.el (elmo-message-field): Ditto.
805
806         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
807         Ditto.
808
809         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
810
811         * elmo-multi.el (elmo-message-field): Ditto.
812
813         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
814         (elmo-msgdb-sort-by-date): Ditto.
815         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
816         `elmo-message-entity-field'.
817         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
818         change.
819         (elmo-msgdb-overview-entity-get-from): Ditto.
820         (elmo-msgdb-overview-entity-get-subject): Ditto.
821         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
822         (elmo-msgdb-overview-entity-get-date): Ditto.
823         (elmo-msgdb-overview-entity-get-to): Ditto.
824         (elmo-msgdb-overview-entity-get-cc): Ditto.
825
826         * elmo-mime.el (elmo-message-mime-entity): Ditto.
827         (elmo-mime-collect-message/partial-pieces): Ditto.
828
829         * elmo-filter.el (elmo-message-field): Ditto.
830
831         * elmo-date.el (elmo-datevec-to-time): New function.
832         (elmo-time-parse-date-string): Ditto.
833         (elmo-time-make-date-string): Ditto.
834         (elmo-time<): Ditto.
835
836         * elmo-version.el (elmo-version): Up to 2.15.1.
837
838 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
839
840         * elmo-flag.el (elmo-global-flags-initialize): Don't include
841         member of elmo-local-flags.
842
843 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
844
845         * elmo-version.el (elmo-version): Up to 2.15.0.
846
847 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
848
849         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
850         `ignore-msgdb' is non-nil.
851
852 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
853
854         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
855         (elmo-condition-in-msgdb-p): Ditto.
856         (elmo-file-field-primitive-condition-match): Ditto.
857         (elmo-file-field-condition-match): Ditto.
858
859         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
860
861 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
862
863         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
864         subdirectories here.
865         (elmo-global-flags-initialize): New function.
866
867         * elmo.el (toplevel): Added autoload setting for
868         `elmo-global-flags-initialize'.
869
870 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
871
872         * elmo.el (message-number-changed): Define new signal.
873         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
874         message-number-changed signal.
875         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
876         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
877         Respect `elmo-pack-number-check-strict'.
878
879 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
880
881         * elmo-signal.el (elmo-connect-signal): Document.
882         (elmo-emit-signal): Ditto.
883         (elmo-emit-signal): It should pass source argument to filter and
884         handler, not slot-source.
885
886 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
887
888         * modb.el (elmo-msgdb-update-entity): New API and define generic
889         implement.
890
891         * modb-standard.el (elmo-msgdb-update-entity): Define.
892
893         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
894         API and define generic implement.
895
896         * elmo.el (update-overview): New singnal.
897
898         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
899         `elmo-msgdb-update-entity' and emit signal `update-overview'.
900         (elmo-message-entity-parent): Define.
901
902         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
903         `update-overview'.
904
905         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
906
907         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
908
909 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
910
911         * elmo.el (elmo-folder-synchronize): Sort the return value of
912         `elmo-list-diff'.
913
914         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
915         list.
916
917 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
918
919         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
920         `default-enable-multibyte-characters'.
921         (elmo-object-load): Use `with-temp-buffer' instead of
922         `elmo-set-work-buf'.
923         (elmo-object-save): Ditto.
924         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
925         `elmo-set-work-buf'.
926         (elmo-decoded-field-body): Ditto.
927
928         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
929
930         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
931         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
932
933         * elmo-version.el (elmo-version): Up to 2.13.3.
934
935 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
936
937         * elmo-util.el (elmo-list-diff): Fix the last change.
938         Reverse order of result lists.
939
940 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
941
942         * modb-standard.el (elmo-msgdb-set-flag): Use
943         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
944         (elmo-msgdb-unset-flag): Ditto.
945
946         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
947         `elmo-list-diff'.
948
949         * elmo-util.el (elmo-list-diff): Rewrite.
950         (elmo-list-diff-nonsortable): New function.
951
952 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
953
954         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
955         `elmo-multibypte-buffer-name'.  All referers are updated.
956
957 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
958
959         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
960         (elmo-mime-entity-fragment-p): New function.
961         (mime-elmo-buffer-entity): Added slot `reassembled'.
962         (elmo-message-mime-entity): Added 4th argument `reassemble'.
963         (elmo-message-mime-entity-internal): New function (renamed from
964         `elmo-message-mime-entity').
965         (elmo-mime-inherit-field-list-from-enclosed): New constant.
966         (elmo-mime-make-reassembled-mime-entity): New function.
967         (elmo-message-reassembled-mime-entity): Ditto.
968         (elmo-mime-collect-message/partial-pieces): Ditto.
969
970 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
971
972         * elmo.el (elmo-message-fetch-string): Disable multibyte.
973
974         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
975         (elmo-with-enable-multibyte): New macro.
976
977         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
978
979 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
980
981         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
982         argument `number'.
983         (elmo-filter-connect-signals): Follow the above change.
984
985 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
986
987         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
988
989         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
990         that only the first flag is used.
991
992 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
993
994         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
995         if available.
996
997 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
998
999         * elmo-signal.el: New file.
1000
1001         * elmo.el (toplevel): Require elmo-signal.
1002         (flag-changing, flag-changed, cache-changed): New signal.
1003         (elmo-folder): Remove slog `handlers'.
1004         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1005         `elmo-folder-notify-event'.
1006         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1007         (elmo-folder-unset-flag): Ditto.
1008         (elmo-event-handler): Abolish.
1009         (elmo-event-handler-flag-changed): Ditto.
1010         (elmo-event-handler-cache-changed): Ditto.
1011         (elmo-folder-add-handler): Ditto.
1012         (elmo-folder-remove-handler): Ditto.
1013         (elmo-folder-notify-event): Ditto.
1014
1015         * elmo-pipe.el (toplevel): Require elmo-signal.
1016         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1017         (elmo-pipe-connect-signals): New function.
1018         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1019         (elmo-folder-set-flag): Ditto.
1020         (elmo-folder-unset-flag): Ditto.
1021         (elmo-message-set-cached): Ditto.
1022
1023         * elmo-multi.el (toplevel): Require elmo-signal.
1024         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1025         (elmo-multi-connect-signals): New function.
1026         (elmo-multi-map-numbers): Ditto.
1027         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1028         (elmo-message-fetch): Ditto.
1029         (elmo-folder-set-flag): Ditto.
1030         (elmo-folder-unset-flag): Ditto.
1031
1032         * elmo-filter.el (toplevel): Require elmo-signal.
1033         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1034         (elmo-filter-connect-signals): New function.
1035         (elmo-filter-add-flag-count): Ditto.
1036         (elmo-message-fetch): Does not call
1037         `elmo-filter-folder-countup-message-flags' and
1038         `elmo-folder-notify-event'.
1039         (elmo-message-set-cached): Ditto.
1040         (elmo-folder-set-flag): Ditto.
1041         (elmo-folder-unset-flag): Ditto.
1042
1043         * elmo-version.el (elmo-version): Up to 2.13.2.
1044
1045 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1046
1047         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1048         `flags'.
1049
1050 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1051
1052         * elmo-filter.el (elmo-message-set-cached): Call
1053         `elmo-folder-notify-event' with event `cache-changed'.
1054
1055         * elmo-multi.el (elmo-message-set-cached): Ditto.
1056
1057         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1058
1059 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1060
1061         * elmo.el (elmo-folder-encache): Abolish.
1062
1063 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1064
1065         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1066         (elmo-folder-next-message-number-dop): Return appropriate negative
1067         integer.
1068
1069 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1070
1071         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1072         clearing pending operations.
1073         (elmo-folder-next-message-number-dop): Return appropriate negative
1074         integer.
1075
1076 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1077
1078         * elmo.el (toplevel): Added autoload setting for `md5'.
1079         (elmo-msgdb-path-encode-threshold): New user option.
1080         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1081         longer than `elmo-msgdb-path-encode-threshold'.
1082
1083         * elmo-flag.el (elmo-global-mark-migrate): Use
1084         `elmo-folder-expand-msgdb-path' instead of
1085         `elmo-folder-msgdb-path'.
1086
1087 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1088
1089         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1090         element of the difference is nil.
1091
1092 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1093
1094         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1095         to the check logic of file systems which are weak in colon character.
1096
1097 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1098
1099         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1100
1101 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1102
1103         * elmo-maildir.el (elmo-maildir-move-file): New function.
1104         (elmo-folder-append-buffer): Use it.
1105         (elmo-folder-append-messages): Ditto.
1106         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1107
1108         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1109         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1110
1111         * elmo-maildir.el (elmo-maildir-separator): New user option.
1112         (elmo-maildir-adjust-separator): New macro.
1113         (elmo-maildir-list-location): Use it.
1114         (elmo-maildir-update-current): Ditto.
1115         (elmo-maildir-set-mark): Ditto.
1116         (elmo-maildir-delete-mark): Ditto.
1117         (These changes are based on Hiroya Murata's patch [wl: 13437])
1118
1119 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1120
1121         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1122
1123 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1124
1125         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1126         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1127         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1128
1129 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1130
1131         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1132         Use `with-temp-buffer'.
1133
1134 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1135
1136         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1137
1138         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1139         `wl-read-search-condition').
1140         (elmo-read-search-condition-internal): Likewise.
1141
1142         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1143         (elmo-flag-valid-p): New function.
1144         (elmo-folder-initialize): Check flag name is valid.
1145
1146 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1147
1148         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1149         delimiter to obtain root mailbox itself.
1150
1151 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1152
1153         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1154         type mismatch.
1155
1156 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1157
1158         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1159         as t.
1160
1161 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1162
1163         * elmo-shimbun.el (toplevel): Require cl at compile.
1164
1165         * elmo-nntp.el (toplevel): Ditto.
1166
1167         * elmo-nmz.el (toplevel): Ditto.
1168
1169         * elmo-multi.el (toplevel): Ditto.
1170
1171         * elmo-file.el (toplevel): Ditto.
1172
1173         * elmo-dop.el (toplevel): Ditto.
1174
1175         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1176
1177 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1178
1179         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1180         as nil.
1181
1182         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1183         size of elmo-message-fetch-internal is 0 byte.
1184
1185 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1186
1187         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1188
1189 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1190
1191         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1192         always plugged.
1193
1194 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1195
1196         * elmo-maildir.el (elmo-map-message-fetch): Call
1197         `elmo-map-folder-set-flag'.
1198
1199         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1200         (elmo-message-fetch): Merge from
1201         `elmo-message-fetch-with-cache-process'.
1202
1203         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1204         (elmo-message-fetch): Define.
1205
1206         * elmo-nntp.el (elmo-message-fetch): Renamed from
1207         `elmo-message-fetch-with-cache-process'.
1208
1209         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1210         (elmo-message-fetch): Define.
1211
1212         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1213         search-key.
1214
1215         * elmo-shimbun.el (shimbun-mua-search-id): Use
1216         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1217         (elmo-shimbun-folder-shimbun-header): Ditto.
1218         (elmo-shimbun-get-headers): Ditto.
1219         (elmo-shimbun-update-overview): Ditto.
1220
1221         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1222
1223         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1224         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1225
1226 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1227
1228         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1229         message is cached.
1230         (elmo-message-fetch-string): Fixed argument.
1231
1232 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1233
1234         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1235         exchange order of arguments `section' and `unread'.
1236         (elmo-message-encache): Follow the API change.
1237         (elmo-message-match-condition): Ditto.
1238         (elmo-generic-folder-append-messages): Ditto.
1239         (elmo-message-fetch-string): New function.
1240
1241         * elmo-split.el (elmo-split-subr): Ditto.
1242
1243         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1244
1245         * elmo-pipe.el (elmo-message-fetch): Ditto.
1246
1247         * elmo-multi.el (elmo-message-fetch): Ditto.
1248
1249         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1250
1251         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1252
1253         * elmo-filter.el (elmo-message-fetch): Ditto.
1254
1255         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1256
1257         * elmo-imap4.el (mime-imap-location-section-body): Use
1258         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1259         follow the API change.
1260
1261 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1262
1263         * elmo-access.el: New file.
1264
1265         * elmo-null.el: Ditto.
1266
1267         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1268
1269 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1270
1271         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1272         (elmo-network-session): New attribute `last-accessed'.
1273         (elmo-network-get-session): Discard network cache if elapsed time
1274         since last-accessed is larger than elmo-network-session-idle-timeout.
1275
1276 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1277
1278         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1279         and added `number', `require-entireness'.
1280         (elmo-find-fetch-strategy): Rewrite.
1281         (elmo-message-fetch): Unset `unread' flag when argument unread is
1282         non-nil.
1283
1284         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1285
1286         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1287         (elmo-message-fetch): Notify event `flag-changed'.
1288
1289         * elmo-pipe.el: Likewise.
1290
1291         * elmo-mime.el (elmo-mime-entity): New class.
1292         (elmo-mime-entity-display-p): New generic function.
1293         (elmo-mime-entity-display): Ditto.
1294         (elmo-mime-entity-display-as-is): Ditto.
1295         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1296         elmo-mime-entity.
1297         (elmo-make-mime-message-location): Removed.
1298         (elmo-mime-message-display): Ditto.
1299         (elmo-mime-display-as-is): Ditto.
1300         (elmo-message-mime-entity): New function.
1301
1302         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1303
1304         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1305         change.
1306         (elmo-message-fetch): Re-count flagged message number and notify
1307         event `flag-changed'.
1308
1309         * elmo-version.el (elmo-version): Up to 2.13.1.
1310
1311 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1312
1313         * elmo-filter.el (elmo-message-field): Define.
1314         (elmo-message-set-field): Ditto.
1315
1316 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1317
1318         * elmo.el (elmo-message-set-cached): Call
1319         `elmo-folder-notify-event' with cache-changed.
1320         (elmo-event-handler-cache-changed): New generic function.
1321
1322 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1323
1324         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1325         instead of elmo-add-name-to-file.
1326         (elmo-folder-append-messages): Ditto.
1327
1328 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1329
1330         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1331
1332 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1333
1334         * elmo-version.el (elmo-version): Up to 2.13.0.
1335
1336         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1337         `auto'.
1338
1339         * modb-standard.el (modb-standard-economize-entity-size): Changed
1340         default value to `t'.
1341
1342         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1343         `standard'.
1344
1345         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1346         after parsing greeting string.
1347
1348 2004-11-23  Daishi Kato <daishi@axlight.com>
1349
1350         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1351         New user option.
1352         (elmo-spam-spamoracle-call): Use it.
1353
1354 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1355
1356         * elmo.el (elmo-message-accessible-p): Message in dop spool
1357         is accessible.
1358
1359 2004-11-23  Daishi Kato <daishi@axlight.com>
1360
1361         * elsp-spamoracle.el: New file.
1362
1363 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1364
1365         * elmo.el (elmo-message-flags-for-append): New function.
1366         (elmo-generic-folder-append-messages): Use it.
1367
1368         * elmo-split.el (elmo-split-subr): Ditto.
1369
1370         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1371         `flags' and use elmo-folder-append-buffer instead of
1372         write-region-as-binary.
1373         (elmo-dop-filter-pending-messages): New function.
1374         (elmo-folder-append-buffer-dop): Call
1375         elmo-dop-spool-folder-append-buffer with `flag'.
1376         (elmo-folder-set-flag-dop): Filter messages by
1377         elmo-dop-filter-pending-messages.
1378         (elmo-folder-unset-flag-dop): Ditto.
1379         (elmo-folder-append-buffer-dop-delayed): Use
1380         elmo-message-flags-for-append to get flags of the message and
1381         simplify.
1382
1383 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1384
1385         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1386
1387 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1388
1389         * elmo.el (elmo-folder): Added handlers slot.
1390         (elmo-event-handler): New class.
1391         (elmo-event-handler-flag-changed): New API.
1392         (elmo-folder-add-handler): New function.
1393         (elmo-folder-remove-handler): Ditto.
1394         (elmo-folder-notify-event): Ditto.
1395         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1396         `flag-changed'.
1397         (elmo-folder-unset-flag): Ditto.
1398
1399         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1400         (elmo-folder-unset-flag): Ditto.
1401
1402         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1403         (elmo-folder-unset-flag): Ditto.
1404
1405         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1406         (elmo-folder-unset-flag): Ditto.
1407
1408         * elmo-version.el (elmo-version): Up to 2.11.33.
1409
1410 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1411
1412         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1413
1414 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1415
1416         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1417
1418         * elmo-flag.el (elmo-folder-unset-flag): Define.
1419         (elmo-global-flag-detach): Do process when the flag is not target
1420         flag.
1421
1422 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1423
1424         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1425         variable.
1426         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1427
1428 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1429
1430         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1431         function.
1432         (elmo-folder-delete-messages): Detach messages before delete
1433         messages from target folder.
1434         (elmo-folder-detach-messages): Set updated number-list to slot.
1435
1436 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1437
1438         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1439
1440 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1441
1442         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1443
1444 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1445
1446         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1447         internal use only).
1448         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1449         not modified.
1450         (elmo-folder-delete-messages): Define.
1451         (elmo-folder-move-messages): Don't call
1452         `elmo-folder-detach-messages'.
1453         (elmo-folder-synchronize): Rewrite.
1454         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1455
1456         * elmo-util.el (elmo-last): New function.
1457         (elmo-set-list): Ditto.
1458         (elmo-number-set-delete-list): Ditto.
1459         (elmo-number-set-delete): Ditto.
1460
1461         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1462
1463         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1464         `elmo-folder-delete-messages' and don't delete location map.
1465         (elmo-folder-detach-messages): Define.
1466
1467         * elmo-imap4.el (elmo-folder-delete): Use
1468         `elmo-folder-delete-messages-internal' instead of
1469         `elmo-folder-delete-messages'.
1470
1471         * elmo-filter.el (elmo-folder-delete-messages): Call
1472         `elmo-folder-detach-messages'.
1473         (elmo-folder-detach-messages): Don't call
1474         `elmo-folder-detach-messages' for target folder.
1475
1476         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1477         message deletion is succeeded.
1478
1479         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1480
1481         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1482         from `elmo-folder-delete-messages'.
1483
1484         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1485
1486         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1487
1488         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1489
1490         * elmo-version.el (elmo-version): Up to 2.11.32.
1491
1492 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1493
1494         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1495         (elmo-global-flag-list): Added obsolete variable setting.
1496
1497         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1498
1499         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1500         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1501         `elmo-mime-display-header-analysis' is nil.
1502
1503         * elmo-flag.el (elmo-global-flags): Renamed from
1504         `elmo-global-flag-list' (All other related portions are changed).
1505         (elmo-local-flags): New variable.
1506         (elmo-local-flag-p): New function.
1507         (elmo-global-flag-set-internal): Cause an error when flag is not
1508         global.
1509
1510 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1511
1512         * elmo-util.el (elmo-concat-path): Treat empty path.
1513
1514 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1515
1516         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1517         field-or-fields).
1518         (elmo-split-address-match): Ditto.
1519         (elmo-split-equal): Ditto.
1520         (elmo-split-match): Ditto.
1521
1522 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1523
1524         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1525         (elmo-generic-folder-append-messages): If src message exists but
1526         has no flag, pass (read) for the FLAG argument of
1527         `elmo-folder-append-buffer'. Otherwise, pass nil.
1528
1529         * elmo-split.el (elmo-split-subr): Likewise.
1530
1531         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1532
1533         * elmo-multi.el (elmo-message-flags): Ditto.
1534
1535         * elmo-filter.el (elmo-message-flags): Ditto.
1536
1537         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1538         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1539         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1540         
1541 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1542
1543         * elmo-split.el (elmo-split-rule): Update comment.
1544         (elmo-split-address-equal): Allow 2nd argument to be a list.
1545         (elmo-split-address-match): Ditto.
1546         (elmo-split-equal): Ditto.
1547         (elmo-split-match): Ditto.
1548
1549 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1550
1551         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1552         (elmo-folder-append-msgdb): Don't treat `read'.
1553         (elmo-message-flags): Don't return `read'.
1554
1555         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1556         (elmo-folder-unset-read-delayed): Ditto.
1557
1558         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1559
1560 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1561
1562         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1563         deletion.
1564
1565 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1566
1567         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1568         header.
1569
1570 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1571
1572         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1573         here.
1574         (elmo-msgdb-save): Bind inhibit-quit.
1575         (modb-standard-message-entity): Ditto.
1576
1577 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1578
1579         * elmo-database.el: No need to require elmo-msgdb.
1580
1581 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1582
1583         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1584         instead of `elmo-list-subdirectories'.
1585
1586 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1587
1588         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1589         group entry.
1590         (elmo-folder-exists-p): "[" is empty.
1591         (elmo-folder-list-subfolders): Define.
1592         (elmo-folder-have-subfolder-p): Ditto.
1593
1594 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1595
1596         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1597
1598 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1599
1600         * elmo-filter.el (elmo-folder-local-p): Define.
1601
1602 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1603
1604         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1605         when entity is garbaged.
1606         (modb-standard-save-entity-1): Don't modify the original entity.
1607
1608 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1609
1610         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1611
1612 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1613
1614         * elmo.el (elmo-strict-folder-diff): Use
1615         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1616
1617 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1618
1619         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1620         (elmo-msgdb-message-number): Ditto.
1621         (elmo-msgdb-message-field): Ditto.
1622
1623         * modb-standard.el (modb-standard-economize-entity-size): New user
1624         option.
1625         (modb-standard-loaded-message-id): New inline function.
1626         (modb-standard-load-entity): Use it.
1627         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1628         throw message-id string away.
1629         (elmo-msgdb-flag-available-p): Define.
1630         (elmo-msgdb-message-number): Ditto.
1631         (elmo-msgdb-message-field): Ditto.
1632
1633         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1634         (suppoted -> supported).
1635         (modb-legacy-supported-flag-p): Ditto.
1636         (elmo-msgdb-set-flag): Ditto.
1637         (elmo-msgdb-unset-flag): Ditto.
1638         (elmo-msgdb-flag-available-p): Define.
1639
1640         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1641         is `t', treat it as legacy entity.
1642         
1643         * elmo.el (elmo-message-flag-available-p): New generic function.
1644         (elmo-message-number): Ditto.
1645         (elmo-message-field): Use `elmo-msgdb-message-field'.
1646
1647         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1648
1649         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1650         (elmo-message-number): Ditto.
1651
1652         * elmo-multi.el (elmo-message-number): Define.
1653         (elmo-message-flag-available-p): Ditto.
1654
1655         * elmo-filter.el (elmo-message-flag-available-p): Define.
1656         (elmo-message-number): Ditto.
1657
1658         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1659         (elmo-folder-initialize): Load `max-number'.
1660         (elmo-folder-commit): Save it.
1661         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1662         (elmo-global-flag-set-internal): Set up max-number slot.
1663
1664 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1665
1666         * elmo-version.el (elmo-version): Up to 2.11.31.
1667
1668 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1669
1670         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1671         unibyte string of the current buffer for the argument of `md5'
1672         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1673
1674 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1675
1676         * modb-legacy.el (modb-legacy-flag-list): New constant.
1677         (modb-legacy-suppoted-flag-p): New internal function.
1678         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1679         (elmo-msgdb-unset-flag): Ditto.
1680
1681 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1682
1683         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1684
1685         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1686         from msgdb.
1687
1688 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1689
1690         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1691         (follow the API change).
1692
1693         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1694
1695 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1696
1697         * modb-standard.el (modb-standard-digest-flags): Abolish.
1698         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1699
1700         * elmo-vars.el (elmo-digest-flags): New variable.
1701         (elmo-preserved-flags): Moved from elmo-flag.el.
1702
1703         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1704         (elmo-imap4-flag-to-imap-criteria): Ditto.
1705         (elmo-imap4-folder-list-flagged): Use it.
1706
1707         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1708
1709         * elmo.el (elmo-folder-count-flags): Changed return value.
1710
1711         * elmo-flag.el (elmo-preserved-flags): New variable.
1712         (elmo-get-global-flags): Use it.
1713
1714         * modb-standard.el (modb-standard-digest-flags): New variable.
1715         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1716         Changed behavior of `any'.
1717
1718         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1719         which are defined the Internet draft
1720         (draft-melnikov-imap-keywords-03.txt).
1721         (elmo-imap4-flags-to-imap): New function.
1722         (elmo-folder-append-buffer): Use it.
1723
1724         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1725         in the docstring.
1726
1727         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1728         avoid the bug of Emacs 21.3.
1729
1730 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1731
1732         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1733         function find-coding-system does not exist.
1734
1735 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1736
1737         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1738         parsing.
1739
1740 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1741
1742         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1743         response codes.
1744
1745 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1746
1747         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1748         (elmo-network-close-session): Follow the changes in
1749         `elmo-pop3-read-response'.
1750         (elmo-pop3-auth-user): Ditto.
1751         (elmo-pop3-auth-apop): Ditto.
1752         (elmo-network-initialize-session): Ditto.
1753         (elmo-network-authenticate-session): Ditto.
1754         (elmo-network-setup-session): Ditto.
1755         (elmo-folder-status): Ditto.
1756         (elmo-message-fetch-plugged): Ditto.
1757         (elmo-pop3-delete-msg): Ditto.
1758
1759 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1760
1761         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1762         on failure.
1763
1764 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1765
1766         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1767         style.
1768         (elmo-bind-directory): Ditto.
1769
1770 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1771
1772         * elmo.el (elmo-folder-append-messages): Note on return value.
1773         * elmo-archive.el (elmo-folder-append-messages): Don't return
1774         message numbers which could not be appended.
1775
1776 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1777
1778         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1779
1780 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1781
1782         * elmo-version.el (elmo-version): Up to 2.11.30.
1783
1784 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1785
1786         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1787         `mask'.
1788
1789         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1790
1791         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1792         (elmo-multi-split-numbers): Add elmo-folder object into each
1793         element of return value at first.
1794         (elmo-folder-delete-messages): Follow the above change.
1795         (elmo-folder-detach-messages): Ditto.
1796
1797         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1798         number which is synchronized in target folder.
1799
1800 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1801
1802         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1803         Change default value to symbol `all'.
1804         (elmo-map-message-fetch): Change condition to update overview
1805         follow the above.
1806
1807 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1808
1809         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1810         behavior to update overview.
1811         (elmo-shimbun-update-overview-folder-list): Note it.
1812
1813 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1814
1815         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1816         recursive call.
1817
1818 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1819
1820         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1821         buffer-disable-undo, it is unnecessary.
1822         (elmo-spam-register-good-messages): Ditto.
1823
1824         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1825         Ditto.
1826
1827         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1828
1829 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1830
1831         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1832         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1833         elmo-set-buffer-multibyte.
1834         (elmo-object-load): Ditto.
1835         (elmo-save-buffer): Ditto.
1836         (elmo-delete-char): Ditto.
1837         (elmo-file-field-primitive-condition-match): Ditto.
1838         (elmo-mime-string): Ditto.
1839
1840         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1841         (elmo-archive-field-condition-match): Ditto.
1842
1843         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1844
1845         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1846
1847         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1848         (elmo-nntp-msgdb-create-message): Ditto.
1849
1850         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1851
1852         * elmo.el (elmo-message-match-condition): Ditto.
1853         (elmo-message-match-condition): Ditto.
1854
1855         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1856         Ditto.
1857
1858         * elmo-version.el (elmo-version): Up to 2.11.29.
1859
1860         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1861         (elsp-header): New backend.
1862
1863         * elmo-util.el (elmo-decoded-field-body): New function.
1864
1865 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1866
1867         * elmo-version.el (elmo-version): Up to 2.11.28.
1868
1869 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1870
1871         * elmo-filter.el: Rewrite.
1872
1873         * elmo-version.el (elmo-version): Up to 2.11.27.
1874
1875 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1876
1877         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1878         msgdb path for the localdir folder with absolute path.
1879
1880         * utf7.el: Synch up with latest gnus/utf7.el;
1881         Modified for latest Emacs.
1882
1883 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1884
1885         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1886         shimbun backend couldn't open.
1887
1888 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1889
1890         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1891         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1892         when a destination folder is a filter folder.
1893
1894 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1895
1896         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1897         (elmo-generic-folder-append-messages): Call elmo-message-flags
1898         with argument `msgid'.
1899
1900         * elmo-split.el (elmo-split-subr): Ditto.
1901
1902         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1903
1904         * elmo-multi.el (elmo-message-flags): Ditto.
1905
1906 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1907
1908         * elmo.el (elmo-folder): Add new slot `flag-table'.
1909         (elmo-folder-flag-table): New API.
1910         (elmo-folder-close-flag-table): Ditto.
1911         (elmo-folder-preserve-flags): New function.
1912         (elmo-generic-folder-append-messages): Use
1913         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1914         Flag of a non-registered message, it sets to nil.
1915         Does not set flag to flag-table.
1916
1917         * elmo-maildir.el (elmo-folder-append-buffer): Use
1918         `elmo-folder-preserve-flags'.
1919         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1920         `elmo-folder-close-flag-table'.
1921
1922         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1923         (elmo-archive-folder-append-buffer): Use
1924         `elmo-folder-preserve-flags'.
1925
1926         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1927
1928         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1929
1930         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1931         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1932         `elmo-folder-close-flag-table'.
1933
1934         * elmo-version.el (elmo-version): Up to 2.11.26.
1935
1936 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1937
1938         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1939
1940         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1941         md5's 4th and 5th argument (non-existent in flim one).
1942
1943 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1944
1945         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1946         message, It sets to nil.
1947
1948 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1949
1950         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1951         list is non-nil.
1952
1953 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1954
1955         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1956
1957         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1958
1959         * elmo-util.el (elmo-uniq-sorted-list): New function.
1960         (elmo-make-number-list): Ditto.
1961         (elmo-number-set-to-number-list): Use elmo-make-number-list
1962         and don't use nreverse.
1963
1964 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1965
1966         * elmo-version.el (elmo-version): Up to 2.11.25.
1967
1968 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1969
1970         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1971         field not exists in message, Use md5 message digest of header.
1972
1973 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1974
1975         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1976         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1977         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1978         * elmo-split.el (elmo-split-subr): Check return value of
1979         elmo-folder-append-buffer.
1980
1981         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1982         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1983
1984         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1985         message-id.
1986
1987 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1988
1989         * elmo-split.el (elmo-split-subr): Append message with flag.
1990
1991         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1992         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1993         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1994
1995 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1996
1997         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1998         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1999         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2000
2001 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2002
2003         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2004         with a function call of `process-buffer'.  All callers are updated.
2005         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2006         Remove redundant `set-buffer' in a while loop.
2007
2008 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2009
2010         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2011         calls.
2012
2013 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2014
2015         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2016         elsp-spamfilter-register-buffer-internal with current buffer.
2017         (elmo-spam-register-spam-buffer): Ditto.
2018         (elmo-spam-register-good-buffer): Ditto.
2019
2020 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2021
2022         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2023         if it is not contained in the response(A workaround for courier-imap).
2024
2025 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2026
2027         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2028         parenthesis.
2029
2030 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2031
2032         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2033         range.
2034
2035 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2036
2037         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2038         of nconc.
2039
2040         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2041         argument handler.
2042         (elmo-msgdb-message-match-condition): Follow the change above.
2043
2044 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2045
2046         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2047         folder name.
2048
2049 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2050
2051         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2052
2053 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2054
2055         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2056
2057 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2058
2059         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2060         not found.
2061
2062 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2063
2064         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2065         value.
2066         (elmo-file-command-argument): Undo last change for cygwin.
2067         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2068         Don't return nil.
2069         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2070
2071 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2072
2073         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2074         value returned from elmo-file-find is nil.
2075
2076 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2077
2078         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2079         to elmo-vars.el.
2080
2081         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2082         instead of insert-file-contents-as-binary.
2083         (elmo-message-set-field): New generic function.
2084
2085         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2086         behavior change on `split-string'.
2087
2088         * elmo-file.el (elmo-file-find): New function.
2089         (elmo-file-command): New user option.
2090         (elmo-file-command-argument): Ditto.
2091         (elmo-file-fetch-max-size): Ditto.
2092         (elmo-file-detect-format): New function.
2093         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2094         Use elmo-file-detect-format.
2095         (elmo-map-folder-list-message-locations): Don't treat directories.
2096
2097 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2098
2099         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2100         (elmo-passwd-alist-clear): Shred password before clear.
2101         (elmo-remove-passwd): Remove all mached pair.
2102
2103 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2104
2105         * elmo.el (elmo-folder-synchronize): Fix description of the return
2106         value.
2107
2108 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2109
2110         * elmo.el (elmo-message-fetch-bodystructure): New method.
2111         (elmo-message-fetch-bodystructure): Define default.
2112
2113         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2114         elmo-message-fetch-bodystructure.
2115         (elmo-message-fetch-bodystructure): Define.
2116
2117         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2118
2119 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2120
2121         * elmo-filter.el (elmo-message-folder): Define.
2122
2123 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2124
2125         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2126         elmo-delete-cr-buffer.
2127
2128         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2129
2130         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2131
2132         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2133
2134         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2135         type seems to be a text.
2136
2137 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2138
2139         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2140         (elmo-spam-register-good-buffer): Ditto.
2141         (elmo-spam-spamassassin-register-messages): Ditto.
2142
2143         * elmo-util.el (elmo-string-member-ignore-case): Define with
2144         static-cond.
2145
2146 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2147
2148         * elmo.el (elmo-folder-type): Undo last change.
2149
2150         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2151
2152         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2153         warnings.
2154
2155         * elmo-file.el: New file.
2156         
2157         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2158
2159         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2160         variable.
2161         (elmo-spam-spamassassin-register-messages): New inline function.
2162         (elmo-spam-register-spam-messages): Define.
2163         (elmo-spam-register-good-messages): Ditto.
2164
2165         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2166         Fixed typo.
2167
2168         * elmo.el (toplevel): Added autoload setting for
2169         `elmo-get-global-flags'.
2170         (elmo-message-has-global-flag-p): New function.
2171         (elmo-message-set-global-flags): Ditto.
2172         (elmo-folder-type): Improvement for name: format.
2173
2174         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2175         availability of keyword flags.
2176         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2177         (elmo-folder-list-flagged-plugged): Renamed from
2178         elmo-folder-list-flagged-unplugged.
2179         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2180         accept any flag as keyword flag.
2181         (elmo-folder-set-flag-plugged): Accept keyword flags.
2182         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2183
2184         * elmo-flag.el (elmo-get-global-flags): New function.
2185
2186         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2187         folders.
2188
2189         * elmo-version.el (elmo-version): Up to 2.11.24.
2190
2191 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2192
2193         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2194         elmo-multiple-field-body instead of std11-field-body to check all
2195         headers.
2196
2197 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2198
2199         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2200         or "size".
2201
2202 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2203
2204         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2205         unintern is unbound.
2206
2207 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2208
2209         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2210         Protect from infinite loop.
2211
2212 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2213
2214         * elsp-bogofilter.el
2215         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2216         (elmo-spam-bogofilter-register-messages): New internal function.
2217         (elmo-spam-register-spam-messages): Define.
2218         (elmo-spam-register-good-messages): Ditto.
2219
2220 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2221
2222         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2223         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2224         (elmo-spam-bogofilter-call): Fixed the last change.
2225         (elmo-spam-bogofilter-arguments): Ditto.
2226
2227         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2228         Follow the options change of latest bogofilter.
2229
2230         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2231         (elmo-spam-bogofilter-good-switch): Ditto.
2232         (elmo-spam-bogofilter-arguments-alist): New user option.
2233         (elmo-spam-bogofilter-debug): Ditto.
2234         (elmo-spam-bogofilter-call): Renamed from
2235         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2236         is non-nil, insert output in buffer for debug.
2237         (elmo-spam-bogofilter-arguments): New macro.
2238         (elmo-spam-buffer-spam-p): Use it.
2239         (elsp-bogofilter-register-buffer): Ditto.
2240
2241 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2242
2243         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2244         regexp.
2245
2246 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2247
2248         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2249         value as "ruby".
2250         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2251         (elmo-spam-bsfilter-program): Set default value as full path for
2252         `bsfilter'.
2253         (elmo-spam-bsfilter-debug): New user option.
2254         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2255         non-nil, insert output in buffer for debug. Fix treating of
2256         argument.
2257
2258 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2259
2260         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2261         `elmo-maildir-flag-specs' element instead of one.
2262         (elmo-map-folder-unset-flag): Ditto.
2263         (Reported by Ken Makimura <macky@astem.or.jp>)
2264
2265         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2266         (elmo-folder-unset-flag-plugged): Ditto.
2267
2268 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2269
2270         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2271         to `reads' slot only if `in-msgdb' is nil.
2272
2273 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2274
2275         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2276         and complement argument list.
2277
2278 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2279
2280         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2281         instead of elmo-folder-list-flagged.
2282
2283 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2284
2285         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2286
2287         * elsp-bsfilter.el: New file.
2288
2289         * elmo-pipe.el (elmo-folder-list-unreads,
2290         elmo-folder-list-answereds,
2291         elmo-folder-list-importants,
2292         elmo-folder-flag-as-important,
2293         elmo-folder-unflag-important,
2294         elmo-folder-flag-as-read,
2295         elmo-folder-unflag-read,
2296         elmo-folder-flag-as-answered,
2297         elmo-folder-unflag-answered): Remove.
2298         (elmo-folder-set-flag): Define.
2299         (elmo-folder-unset-flag): Ditto.
2300
2301         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2302         (elmo-folder-set-flag): Define.
2303         (elmo-folder-unset-flag): Ditto.
2304         (elmo-folder-list-unreads): Remove.
2305         (elmo-folder-list-flagged): Define.
2306
2307         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2308         (elmo-folder-list-unreads,
2309         elmo-folder-list-importants,
2310         elmo-folder-list-answereds,
2311         elmo-folder-list-unreads-plugged,
2312         elmo-folder-list-importants-plugged,
2313         elmo-folder-list-answereds-plugged): Remove.
2314         (elmo-folder-list-flagged-plugged): New method.
2315         (elmo-folder-unflag-important,
2316         elmo-folder-flag-as-important,
2317         elmo-folder-unflag-read,
2318         elmo-folder-flag-as-read,
2319         elmo-folder-unflag-answered,
2320         elmo-folder-flag-as-answered,
2321         elmo-folder-flag-as-read-unplugged,
2322         elmo-folder-unflag-read-unplugged,
2323         elmo-folder-flag-as-important-unplugged,
2324         elmo-folder-unflag-important-unplugged,
2325         elmo-folder-flag-as-answered-unplugged,
2326         elmo-folder-unflag-answered-unplugged): Remove.
2327         (elmo-folder-set-flag): Define.
2328         (elmo-folder-unset-flag): Ditto.
2329         (elmo-folder-set-flag-unplugged): Ditto.
2330         (elmo-folder-unset-flag-unplugged): Ditto.
2331
2332         * elmo-multi.el (elmo-folder-list-unreads,
2333         elmo-folder-list-answereds,
2334         elmo-folder-list-importants,
2335         elmo-folder-flag-as-important,
2336         elmo-folder-unflag-important,
2337         elmo-folder-flag-as-read,
2338         elmo-folder-unflag-read,
2339         elmo-folder-flag-as-answered,
2340         elmo-folder-unflag-answered): Remove.
2341         (elmo-folder-set-flag): Define.
2342         (elmo-folder-unset-flag): Ditto.
2343
2344         * elmo-map.el (elmo-map-folder-unflag-important,
2345         elmo-map-folder-flag-as-important,
2346         elmo-map-folder-unflag-read,
2347         elmo-map-folder-flag-as-read,
2348         elmo-map-folder-unflag-answered,
2349         elmo-map-folder-flag-as-answered): Remove.
2350         (elmo-map-folder-set-flag): New method.
2351         (elmo-map-folder-unset-flag): Ditto.
2352         (elmo-map-folder-list-unreads,
2353         elmo-map-folder-list-importants,
2354         elmo-map-folder-list-answereds): Remove.
2355         (elmo-folder-list-flagged-internal): Define.
2356         (elmo-map-folder-list-flagged): New method.
2357
2358         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2359         (elmo-map-folder-list-unreads,
2360         elmo-map-folder-list-importants,
2361         elmo-map-folder-list-flagged): Remove.
2362         (elmo-map-folder-list-flagged): Define.
2363         (elmo-map-folder-flag-as-important,
2364         elmo-map-folder-unflag-important,
2365         elmo-map-folder-flag-as-read,
2366         elmo-map-folder-unflag-read,
2367         elmo-map-folder-flag-as-answered,
2368         elmo-map-folder-unflag-answered): Remove.
2369         (elmo-maildir-set-mark-messages): New internal function.
2370         (elmo-map-folder-set-flag): Define.
2371         (elmo-map-folder-unset-flag): Ditto.
2372
2373         * elmo.el (toplevel): Added autoload setting for
2374         `elmo-folder-list-global-flag-messages'.
2375         (elmo-folder-list-unreads,
2376         elmo-folder-list-importants,
2377         elmo-folder-list-answereds): Remove.
2378         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2379         Return a list whitch merged with messages have global flag.
2380         (elmo-folder-list-flagged-internal): New method.
2381         (elmo-folder-unflag-important,
2382         elmo-folder-flag-as-important,
2383         elmo-folder-unflag-read,
2384         elmo-folder-flag-as-read,
2385         elmo-folder-unflag-answered,
2386         elmo-folder-flag-as-answered): Remove.
2387         (elmo-folder-set-flag): New method.
2388         (elmo-folder-unset-flag): Ditto.
2389         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2390         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2391
2392         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2393         (elmo-folder-list-unreads-plugged,
2394         elmo-folder-list-importants-plugged,
2395         elmo-folder-list-answereds-plugged,
2396         elmo-folder-list-flagged-unplugged,
2397         elmo-folder-unflag-important-plugged,
2398         elmo-folder-flag-as-important-plugged,
2399         elmo-folder-unflag-read-plugged,
2400         elmo-folder-flag-as-read-plugged,
2401         elmo-folder-unflag-answered-plugged,
2402         elmo-folder-flag-as-answered-plugged): Remove.
2403         (elmo-folder-set-flag-plugged,
2404         elmo-folder-unset-flag-plugged): Define.
2405
2406         * elmo-flag.el (elmo-folder-initialize): Register to
2407         `elmo-global-flag-list' if flag is not global.
2408         (elmo-folder-append-messages): Set flag to source messages.
2409
2410         * elmo-filter.el (elmo-filter-folder-list-unreads,
2411         elmo-folder-list-unreads,
2412         elmo-filter-folder-list-importants,
2413         elmo-folder-list-importants,
2414         elmo-folder-flag-as-read,
2415         elmo-folder-unflag-read,
2416         elmo-folder-flag-as-important,
2417         elmo-folder-unflag-important,
2418         elmo-folder-flag-as-answered,
2419         elmo-folder-unflag-answered): Remove.
2420         (elmo-folder-set-flag): Define.
2421         (elmo-folder-unset-flag): Ditto.
2422
2423         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2424         elmo-folder-unflag-read-dop,
2425         elmo-folder-flag-as-important-dop,
2426         elmo-folder-unflag-important-dop,
2427         elmo-folder-flag-as-answered-dop,
2428         elmo-folder-unflag-answered-dop): Remove.
2429         (elmo-folder-set-flag-dop,
2430         elmo-folder-unset-flag-dop,
2431         elmo-folder-set-important-delayed,
2432         elmo-folder-unset-important-delayed,
2433         elmo-folder-set-read-delayed,
2434         elmo-folder-unset-read-delayed,
2435         elmo-folder-set-answered-delayed,
2436         elmo-folder-unset-answered-delayed): New function.
2437         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2438         (elmo-dop-queue-method-name-alist): Ditto.
2439
2440         * elmo-version.el (elmo-version): Up to 2.11.23.
2441
2442 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2443
2444         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2445
2446         * elsp-sa.el: New file.
2447
2448 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2449
2450         * modb-standard.el (modb-standard-message-entity): New function.
2451         (elmo-msgdb-message-entity): Use it.
2452
2453 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2454
2455         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2456         behavior when one-level is nil.
2457
2458         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2459
2460         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2461
2462 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2463
2464         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2465         get max number.
2466         (elmo-generic-folder-diff): Ditto.
2467
2468         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2469         (elmo-folder-update-number): Ditto.
2470
2471         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2472         (elmo-folder-next-message-number-dop): Ditto.
2473
2474 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2475
2476         * elmo-filter.el (elmo-folder-msgdb-create): Use
2477         `elmo-message-entity' and `elmo-message-flags' instead of
2478         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2479
2480 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2481
2482         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2483         `if-exists'.
2484
2485 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2486
2487         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2488
2489         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2490
2491         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2492
2493 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2494
2495         * elmo-version.el (elmo-version): Up to 2.11.22.
2496
2497 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2498
2499         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2500
2501 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2502
2503         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2504         if the message dose not exist.
2505
2506 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2507
2508         * elmo-version.el (elmo-version): Up to 2.11.21.
2509
2510 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2511
2512         * modb-standard.el (toplevel): Don't require mime.
2513
2514 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2515
2516         * elsp-bogofilter.el (toplevel): Don't require path-util.
2517         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2518         (elmo-spam-bogofilter-header): Abolish.
2519         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2520         (elmo-spam-bogofilter-args): New user option.
2521         (elsp-bogofilter-call-bogofilter): New internal function.
2522         (elmo-spam-buffer-spam-p): Use it.
2523         (elsp-bogofilter-register-buffer): Renamed from
2524         `elmo-spam-bogofilter-register-buffer';
2525         Use `elsp-bogofilter-call-bogofilter'.
2526         (elmo-spam-register-spam-buffer): Follow the change above.
2527         (elmo-spam-register-good-buffer): Ditto.
2528
2529 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2530
2531         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2532         message-id is nil do nothing.
2533
2534 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2535
2536         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2537         Revival.
2538         (elmo-imap4-session): Removed use-flag slot.
2539         (elmo-imap4-session-select-mailbox): Undo last change.
2540         (elmo-folder-use-flag-p): Use
2541         elmo-imap4-disuse-server-flag-mailbox-regexp.
2542
2543 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2544
2545         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2546         (elmo-imap4-session-select-mailbox): Set it up.
2547         (elmo-folder-use-flag-p): Return value of use-flag slot.
2548
2549 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2550
2551         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2552         message-id is nil.
2553         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2554
2555         * modb-entity.el (elmo-message-entity-handler): Likewise.
2556
2557 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2558
2559         * elmo.el (toplevel): Remove setting of autoloding for
2560         elmo-global-flag-initialize.
2561         (elmo-init): Don't call elmo-global-flag-initialize.
2562         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2563
2564         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2565         (elmo-global-mark-migrate): Don't call it.
2566         (elmo-global-mark-upgrade): Ditto.
2567
2568 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2569
2570         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2571         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2572
2573         * elmo-vars.el (elmo-init-hook): New user option.
2574
2575         * elmo.el (elmo-init): Run the elmo-init-hook.
2576
2577         * elmo-flag.el (elmo-global-mark-migrate): New function.
2578
2579 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2580
2581         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2582         Undo last change (move to elmo-msgdb-unset-flag).
2583         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2584         flag is unset.
2585
2586 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2587
2588         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2589         read flag is set.
2590         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2591         (elmo-msgdb-unset-flag): Ditto.
2592
2593 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2594
2595         * elmo-split.el (elmo-split): Return split message count.
2596
2597 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2598
2599         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2600         is nil.
2601
2602 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2603
2604         * elmo.el (elmo-folder-unflag-important): Call
2605         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2606         a symbol `always'.
2607
2608         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2609         before unset flag.
2610         (elmo-global-flag-detach): Delete the message from flag folder, if
2611         `delete-if-none' is a symbol `always'.
2612
2613 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2614
2615         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2616         `elmo-spam-spamfilter-decode-buffer'.
2617         (elsp-spamfilter-register-buffer-internal): New internal function.
2618         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2619         (elmo-spam-register-spam-buffer): Ditto.
2620         (elmo-spam-register-good-buffer): Ditto.
2621
2622         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2623         change.
2624         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2625         (elmo-spam-register-spam-buffer): Follow the API change.
2626         (elmo-spam-register-good-buffer): Ditto.
2627
2628         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2629         (elmo-split-spam-p): Added argument plist; Call
2630         `elmo-spam-buffer-spam-p' with new argument register.
2631
2632         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2633         `register'.
2634         (elmo-spam-message-spam-p): Ditto.
2635         (elmo-spam-register-spam-buffer): Added optional argument
2636         `restore'.
2637         (elmo-spam-register-good-buffer): Ditto.
2638         (elmo-spam-register-spam-messages): Ditto.
2639         (elmo-spam-register-good-messages): Ditto.
2640
2641 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2642
2643         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2644         register into good corpus.
2645         (elmo-spam-register-good-buffer): Fixed to register into bad
2646         corpus.
2647
2648 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2649
2650         * elmo-version.el (elmo-version): Up to 2.11.20.
2651
2652         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2653         change.
2654
2655         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2656         flag without depending on \Recent flag.
2657
2658 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2659
2660         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2661         (elmo-spam-modified-p): Defined.
2662         (elmo-spam-save-status): Set `modified' slot to nil.
2663         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2664         (elmo-spam-register-good-buffer): Ditto.
2665
2666         * elmo-spam.el (elmo-spam-modified-p): New API.
2667
2668 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2669
2670         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2671         duplicate definition.
2672
2673         * elmo-util.el (elmo-unfold-field-body): New function.
2674         (elmo-msgdb-get-message-id-from-buffer): Use it.
2675
2676         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2677         Fixed the last change; Use elmo-unfold-field-body.
2678
2679 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2680
2681         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2682         Unfold date value.
2683
2684 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2685
2686         * elmo-spam.el (elmo-spam-save-status): New API.
2687
2688         * elsp-spamfilter.el: New file.
2689
2690 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2691
2692         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2693
2694 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2695
2696         * elmo-split.el (elmo-split-spam-p): New function.
2697
2698         * elmo-spam.el: New file.
2699
2700         * elsp-bogofilter.el: Ditto.
2701
2702 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2703
2704         * elmo.el (elmo-folder-next-message-number): New API.
2705         (elmo-folder-next-message-number): Define.
2706         (elmo-message-field): Don't check folder length.
2707
2708         * elmo-net.el (elmo-folder-next-message-number): Define.
2709         (elmo-folder-next-message-number-unplugged): Define.
2710
2711         * elmo-map.el (elmo-folder-next-message-number): Define.
2712         (elmo-folder-delete-messages): Clear hash value.
2713
2714         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2715
2716         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2717         (elmo-folder-delete-messages-dop-delayed): Always return t.
2718
2719         * elmo-version.el (elmo-version): Up to 2.11.19.
2720
2721 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2722
2723         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2724         change.
2725
2726         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2727         identical cons cell into the mark-alist and the hash table.
2728
2729 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2730
2731         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2732         elmo-folder-list-messages with argument `visible-only' as t.
2733
2734         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2735         (elmo-folder-msgdb-create): Check the target folder.
2736
2737 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2738
2739         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2740         `permanentflag' instead of `flags'.
2741         (elmo-folder-open): Ditto.
2742         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2743         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2744         (elmo-folder-use-flag-p): Always return t.
2745         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2746         `permanentflags' does not exist.
2747         (elmo-folder-open): Ditto.
2748
2749 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2750
2751         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2752         is nil.
2753         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2754
2755         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2756         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2757         response.
2758         (elmo-folder-open): Ditto.
2759         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2760         slot of the session includes the flag.
2761         (elmo-imap4-session-flag-available-p): New function.
2762         (elmo-imap4-folder-list-flagged): Ditto.
2763         (elmo-folder-list-unreads-plugged): Use it.
2764         (elmo-folder-list-importants-plugged): Ditto.
2765         (elmo-folder-list-answereds-plugged): Ditto.
2766         (elmo-imap4-search-internal-primitive): Ditto.
2767         (elmo-imap4-folder-list-any-plugged,
2768         elmo-imap4-folder-list-digest-plugged): Abolish.
2769
2770         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2771         if numbers is nil.
2772
2773 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2774
2775         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2776
2777 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2778
2779         * elmo-util.el (elmo-get-hash-val): Simplify.
2780         (elmo-set-hash-val): Rewrite.
2781
2782 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2783
2784         * elmo.el (elmo-folder-list-messages): Append killed messages into
2785         result if `visible-only' is nil and `in-msgdb' is non-nil.
2786
2787         * elmo-util.el (elmo-uniq-list): Added optional argument
2788         `delete-function'.
2789
2790         * modb.el (elmo-msgdb-flag-count): New API.
2791
2792         * modb-standard.el (modb-standard): Added slot flag-count.
2793         (modb-standard-countup-flags): New function.
2794         (modb-standard-load-flag): Call it.
2795         (elmo-msgdb-append): Ditto.
2796         (elmo-msgdb-clear): Clear slot flag-count.
2797         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2798         (elmo-msgdb-unset-flag): Treat `all' flag and call
2799         modb-standard-countup-flags.
2800         (elmo-msgdb-flag-count): Define.
2801         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2802         (elmo-msgdb-delete-messages): Ditto.
2803
2804         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2805         (elmo-msgdb-flag-count): Define.
2806
2807         * elmo.el (elmo-folder-list-messages): Undo last change.
2808         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2809         (elmo-folder-kill-messages): Unset all flags to numbers.
2810
2811         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2812         elmo-folder-kill-messages.
2813
2814         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2815         (elmo-nntp-folder-delete-messages): Abolish.
2816
2817         * elmo-version.el (elmo-version): Up to 2.11.18.
2818
2819 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2820
2821         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2822         (elmo-folder-kill-messages-range): New function.
2823         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2824         instead of elmo-folder-kill-messages-before.
2825
2826 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2827
2828         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2829         elmo-imap4-current-msgdb to decide entity handler.
2830
2831 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2832
2833         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2834
2835         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2836         inline function.
2837         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2838         (elmo-msgdb-overview-entity-set-number,
2839         elmo-msgdb-overview-entity-get-references,
2840         elmo-msgdb-overview-entity-set-references,
2841         elmo-msgdb-overview-entity-get-from-no-decode,
2842         elmo-msgdb-overview-entity-get-from,
2843         elmo-msgdb-overview-entity-set-from,
2844         elmo-msgdb-overview-entity-get-subject,
2845         elmo-msgdb-overview-entity-get-subject-no-decode,
2846         elmo-msgdb-overview-entity-set-subject,
2847         elmo-msgdb-overview-entity-get-date,
2848         elmo-msgdb-overview-entity-set-date,
2849         elmo-msgdb-overview-entity-get-to,
2850         elmo-msgdb-overview-entity-get-cc,
2851         elmo-msgdb-overview-entity-get-size,
2852         elmo-msgdb-overview-entity-set-size,
2853         elmo-msgdb-overview-entity-get-extra,
2854         elmo-msgdb-overview-entity-set-extra,
2855         elmo-msgdb-overview-entity-get-extra-field,
2856         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2857         (elmo-msgdb-make-index): Use
2858         `elmo-msgdb-overview-entity-get-number-internal'.
2859         (elmo-msgdb-clear-index): Ditto.
2860         (elmo-msgdb-append-entity): Ditto;
2861         Use `elmo-msgdb-overview-entity-get-id-internal'.
2862
2863         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2864         elmo-msgdb-overview-entity-set-number,
2865         elmo-msgdb-overview-entity-get-references,
2866         elmo-msgdb-overview-entity-set-references,
2867         elmo-msgdb-overview-entity-get-from-no-decode,
2868         elmo-msgdb-overview-entity-get-from,
2869         elmo-msgdb-overview-entity-set-from,
2870         elmo-msgdb-overview-entity-get-subject,
2871         elmo-msgdb-overview-entity-get-subject-no-decode,
2872         elmo-msgdb-overview-entity-set-subject,
2873         elmo-msgdb-overview-entity-get-date,
2874         elmo-msgdb-overview-entity-set-date,
2875         elmo-msgdb-overview-entity-get-to,
2876         elmo-msgdb-overview-entity-get-cc,
2877         elmo-msgdb-overview-entity-get-size,
2878         elmo-msgdb-overview-entity-set-size,
2879         elmo-msgdb-overview-entity-get-extra,
2880         elmo-msgdb-overview-entity-set-extra,
2881         elmo-msgdb-overview-entity-get-extra-field,
2882         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2883         and rewrote for backward compatibility.
2884
2885 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2886
2887         * elmo.el (elmo-message-entity-number,
2888         elmo-message-entity-set-number,
2889         elmo-message-entity-field,
2890         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2891
2892         * elmo-msgdb.el (elmo-message-entity-number,
2893         elmo-message-entity-set-number,
2894         elmo-message-entity-field,
2895         elmo-message-entity-set-field): Moved from elmo.el.
2896
2897 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2898
2899         * elmo.el (toplevel): Changed definition orders.
2900
2901 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2902
2903         * modb.el (elmo-msgdb-search): New API .
2904         (elmo-msgdb-match-condition): Ditto.
2905
2906         * modb-standard.el (elmo-msgdb-search): Define.
2907
2908         * modb-legacy.el (elmo-msgdb-search): Ditto.
2909
2910         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2911         from elmo-msgdb-match-condition-internal.
2912
2913         * elmo.el (elmo-folder-search-fast): Abolish.
2914         (elmo-folder-search): Use elmo-msgdb-search and
2915         elmo-with-progress-display.
2916
2917         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2918         as msgdb API.
2919
2920         * elmo.el (elmo-folder): Remove slot message-modified and
2921         flag-modified.
2922         (elmo-folder-set-message-modified): Abolish.
2923         (elmo-generic-folder-commit): Follow the change above.
2924         (elmo-folder-synchronize): Ditto.
2925
2926         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2927
2928         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2929
2930         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2931
2932 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2933
2934         * modb-standard.el (modb-standard-make-message-entity,
2935         elmo-msgdb-make-message-entity,
2936         elmo-msgdb-create-message-entity-from-buffer,
2937         elmo-msgdb-message-entity-number,
2938         elmo-msgdb-message-entity-set-number,
2939         elmo-msgdb-message-entity-field,
2940         elmo-msgdb-message-entity-set-field,
2941         elmo-msgdb-copy-message-entity,
2942         elmo-msgdb-match-condition-internal): Remove.
2943
2944         * modb-entity.el: New file (again).
2945
2946         * modb.el (toplevel): Require modb-entity.
2947         (elmo-msgdb-message-entity-handler): New method.
2948
2949         * modb-standard.el (modb-standard-entity-id): Use
2950         elmo-message-entity-handler.
2951         (modb-standard-load-entity): Ditto.
2952         (elmo-msgdb-append-entity): Ditto.
2953         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2954
2955         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2956         elmo-msgdb-decoded-cache-hashtb,
2957         (modb-legacy-make-message-entity,
2958         elmo-msgdb-make-message-entity,
2959         elmo-msgdb-create-message-entity-from-buffer,
2960         elmo-msgdb-message-entity-number,
2961         elmo-msgdb-message-entity-set-number,
2962         elmo-msgdb-message-entity-field,
2963         elmo-msgdb-message-entity-set-field,
2964         elmo-msgdb-copy-message-entity,
2965         elmo-msgdb-match-condition-internal,
2966         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2967
2968         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2969         (elmo-message-entity-set-number): Ditto.
2970         (elmo-message-entity-field): Ditto.
2971         (elmo-message-entity-set-field): Ditto.
2972
2973         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2974
2975         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2976
2977         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2978
2979         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2980         (elmo-nntp-msgdb-create-message): Ditto.
2981
2982         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2983         (elmo-folder-msgdb-create): Add unread flag.
2984
2985         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2986
2987         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2988
2989         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2990
2991         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2992
2993         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2994         elmo-msgdb-messge-entity-handler.
2995         * elmo-version.el (elmo-version): Up to 2.11.17.
2996
2997 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2998
2999         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3000         change.
3001
3002 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3003
3004         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3005
3006         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3007         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3008         (elmo-msgdb-flag-table): Ditto.
3009         (elmo-msgdb-sort-by-date): Ditto.
3010
3011         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3012
3013         * modb-standard.el (toplevel): Require mime.
3014         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3015         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3016         elmo-msgdb-message-entity-number.
3017         (elmo-msgdb-append-entity): Ditto.
3018         (elmo-msgdb-create-message-entity-from-file): Remove.
3019         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3020         corresponds to the entity.
3021         (elmo-msgdb-message-entity-number): Do nothing currently.
3022         (elmo-msgdb-message-entity-field): Ditto.
3023         (elmo-msgdb-message-entity-set-field): Ditto.
3024         (elmo-msgdb-copy-message-entity): Ditto.
3025         (elmo-msgdb-match-condition-internal): Ditto.
3026
3027         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3028         elmo-util.el.
3029         (elmo-msgdb-create-message-entity-from-file): Remove.
3030
3031         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3032         modb-legacy.el.
3033         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3034
3035         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3036
3037 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3038
3039         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3040         (elmo-msgdb-message-entity-field): Ditto.
3041         (elmo-msgdb-message-entity-number): Ditto.
3042
3043 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3044
3045         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3046         Fixed how to set extra field into entity.
3047         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3048         symbol.
3049
3050         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3051         Fixed how to set extra field into entity.
3052         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3053         symbol.
3054
3055 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3056
3057         * modb.el (elmo-message-entity-db): New function.
3058         (elmo-msgdb-make-message-entity): New API.
3059         (elmo-msgdb-message-entity-number): Ditto.
3060         (elmo-msgdb-message-entity-set-number): Ditto.
3061         (elmo-msgdb-message-entity-field): Ditto.
3062         (elmo-msgdb-message-entity-set-field): Ditto.
3063         (elmo-msgdb-copy-message-entity): Ditto.
3064         (elmo-msgdb-create-message-entity-from-file): Ditto.
3065         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3066         (elmo-msgdb-match-condition-internal): Ditto.
3067
3068         * modb-standard.el (modb-legacy): Require modb-legacy.
3069         (modb-standard-make-message-entity): New inline function.
3070         (elmo-msgdb-make-message-entity): Define.
3071         (elmo-msgdb-create-message-entity-from-file): Ditto.
3072         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3073         (elmo-msgdb-message-entity-field): Ditto.
3074         (elmo-msgdb-message-entity-set-field): Ditto.
3075         (elmo-msgdb-copy-message-entity): Ditto.
3076         (elmo-msgdb-match-condition-internal): Ditto.
3077
3078         * modb-legacy.el: Don't require modb-entity.
3079         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3080         (elmo-msgdb-match-condition-primitive): Ditto.
3081         (elmo-msgdb-get-decoded-cache): Ditto.
3082         (elmo-msgdb-overview-entity-get-id): Ditto.
3083         (elmo-msgdb-overview-entity-get-number): Ditto.
3084         (elmo-msgdb-overview-entity-set-number): Ditto.
3085         (elmo-msgdb-overview-entity-get-references): Ditto.
3086         (elmo-msgdb-overview-entity-set-references): Ditto.
3087         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3088         (elmo-msgdb-overview-entity-get-from): Ditto.
3089         (elmo-msgdb-overview-entity-set-from): Ditto.
3090         (elmo-msgdb-overview-entity-get-subject): Ditto.
3091         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3092         (elmo-msgdb-overview-entity-set-subject): Ditto.
3093         (elmo-msgdb-overview-entity-get-date): Ditto.
3094         (elmo-msgdb-overview-entity-set-date): Ditto.
3095         (elmo-msgdb-overview-entity-get-to): Ditto.
3096         (elmo-msgdb-overview-entity-get-cc): Ditto.
3097         (elmo-msgdb-overview-entity-get-size): Ditto.
3098         (elmo-msgdb-overview-entity-set-size): Ditto.
3099         (elmo-msgdb-overview-entity-get-extra): Ditto.
3100         (elmo-msgdb-overview-entity-set-extra): Ditto.
3101         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3102         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3103         (elmo-msgdb-number-load): Ditto.
3104         (elmo-msgdb-overview-load): Ditto.
3105         (elmo-msgdb-mark-load): Ditto.
3106         (elmo-msgdb-number-save): Ditto.
3107         (elmo-msgdb-mark-save): Ditto.
3108         (elmo-msgdb-overview-save): Ditto.
3109         (modb-legacy-make-message-entity): New inline function.
3110         (elmo-msgdb-insert-file-header): Ditto.
3111         (elmo-msgdb-make-message-entity): Define.
3112         (elmo-msgdb-create-message-entity-from-file): Ditto.
3113         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3114         (elmo-msgdb-message-entity-number): Ditto.
3115         (elmo-msgdb-message-entity-set-number): Ditto.
3116         (elmo-msgdb-message-entity-field): Ditto.
3117         (elmo-msgdb-message-entity-set-field): Ditto.
3118         (elmo-msgdb-copy-message-entity): Ditto.
3119         (elmo-msgdb-match-condition-internal): Ditto.
3120
3121         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3122         (elmo-message-copy-entity): Rewrite.
3123         (elmo-message-entity-number): Ditto.
3124         (elmo-message-entity-set-number): Ditto.
3125         (elmo-message-entity-field): Use elmo-message-entity-db.
3126         (elmo-message-entity-set-field): Ditto.
3127         (elmo-message-field): Rewrite.
3128
3129         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3130         elmo-msgdb.el
3131         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3132
3133         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3134         elmo-message-entity-field.
3135         (elmo-shimbun-folder-shimbun-header): Ditto.
3136         (elmo-shimbun-entity-to-header): Ditto.
3137         (elmo-folder-msgdb-create): Ditto.
3138         (elmo-shimbun-msgdb-create-entity): Ditto;
3139         Use elmo-msgdb-create-message-entity-from-buffer.
3140         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3141         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3142
3143         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3144         elmo-msgdb-create-message-entity-from-file and 
3145         elmo-message-entity-field.
3146
3147         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3148         elmo-message-entity-number.
3149         (elmo-pop3-msgdb-create-message): Use
3150         elmo-msgdb-create-message-entity-from-buffer,
3151         elmo-message-entity-set-field, elmo-message-entity-number and
3152         elmo-message-entity-set-number.
3153
3154         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3155         the API change in elmo-msgdb-make-message-entity.
3156         (elmo-nntp-msgdb-create-message): Use
3157         elmo-msgdb-create-message-entity-from-buffer.
3158
3159         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3160         elmo-message-entity-field and
3161         elmo-msgdb-create-message-entity-from-file.
3162
3163         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3164         (elmo-msgdb-get-field): Abolish.
3165         (elmo-msgdb-get-number): Rewrite.
3166         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3167         (elmo-msgdb-flag-table): Ditto.
3168         (elmo-msgdb-get-last-message-id,
3169         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3170         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3171         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3172         (elmo-msgdb-create-overview-from-buffer,
3173         elmo-msgdb-overview-get-parent-entity): Abolish.
3174
3175         * elmo-mime.el (elmo-mime-display-as-is): Use
3176         elmo-message-entity-field.
3177
3178         * elmo-map.el (elmo-folder-pack-numbers): Use
3179         elmo-message-entity-set-number.
3180
3181         * elmo-maildir.el (elmo-folder-msgdb-create): 
3182         elmo-msgdb-create-message-entity-from-file instead of
3183         elmo-msgdb-create-overview-entity-from-file.
3184
3185         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3186         msgdb.
3187         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3188         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3189
3190         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3191         elmo-messge-entity-field and elmo-message-entity-number.
3192         (elmo-imap4-fetch-callback-1): Call
3193         elmo-msgdb-create-message-entity-from-buffer instead of
3194         elmo-msgdb-create-overview-from-buffer. 
3195         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3196         (elmo-find-fetch-strategy): Likewise.
3197
3198         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3199         elmo-localdir-msgdb-create-entity with argument msgdb.
3200
3201         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3202         and elmo-message-entity-set-number.
3203
3204         * elmo-cache.el (elmo-folder-msgdb-create): Use
3205         elmo-message-entity-field.
3206         (elmo-folder-msgdb-create): Call
3207         elmo-msgdb-create-message-entity-from-file instead of
3208         elmo-msgdb-create-overview-entity-from-file.
3209
3210         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3211         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3212         instead of elmo-msgdb-create-overview-from-buffer.
3213         (elmo-archive-msgdb-create-entity): Ditto.
3214         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3215         elmo-message-entity-field.
3216         (elmo-archive-parse-mmdf): Ditto.
3217
3218         * modb-entity.el: Removed.
3219
3220         * elmo-version.el (elmo-version): Up to 2.11.16.
3221
3222 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3223
3224         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3225         `is-local'.
3226         (elmo-folder-flag-as-answered): Ditto.
3227
3228 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3229
3230         * modb-standard.el: New file.
3231
3232         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3233         elmo-msgdb-convert-type is `sync'.
3234
3235         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3236         (elmo-msgdb-convert-type): New user option.
3237
3238         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3239         (elmo-load-msgdb): Auto detect saved type.
3240
3241         * elmo-version.el (elmo-version): Up to 2.11.15.
3242
3243 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3244
3245         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3246
3247         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3248         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3249         with argument `delete-if-none' when dst-folder is 'null.
3250
3251         * elmo-flag.el (elmo-folder-append-messages): Defined.
3252         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3253
3254 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3255
3256         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3257
3258 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3259
3260         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3261         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3262         (elmo-folder-commit): Ditto.
3263
3264 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3265
3266         * elmo-flag.el: New file.
3267
3268         * elmo-mark.el: Removed.
3269
3270         * modb-legacy.el (modb-legacy-new-mark,
3271         modb-legacy-unread-uncached-mark,
3272         modb-legacy-unread-cached-mark,
3273         modb-legacy-read-uncached-mark,
3274         modb-legacy-answered-cached-mark,
3275         modb-legacy-answered-uncached-mark,
3276         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3277         All other related portions are changed.
3278
3279         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3280         (elmo-folder-list-messages-with-global-mark): Abolish.
3281         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3282         (elmo-folder-flag-as-important): Ditto.
3283         (elmo-folder-unflag-read): Ditto.
3284         (elmo-folder-flag-as-read): Ditto.
3285         (elmo-folder-unflag-answered): Ditto.
3286         (elmo-folder-flag-as-answered): Ditto.
3287         (elmo-message-encache): Return the cache path.
3288         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3289         (elmo-message-set-flag): Transitional implementation.
3290         (elmo-message-unset-flag): Ditto.
3291         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3292         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3293         (elmo-init): Call elmo-global-flag-initialize.
3294         (toplevel): Added autoload settings for elmo-flag.
3295
3296         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3297
3298         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3299         (elmo-file-cache-delete): Don't treat global-mark.
3300
3301         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3302
3303         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3304
3305         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3306         `elmo-global-flags-set'.
3307
3308         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3309         `flag'.
3310         (elmo-folder-unflag-read): Ditto.
3311         (elmo-folder-unflag-important): Ditto.
3312         (elmo-folder-flag-as-important): Ditto.
3313         (elmo-folder-unflag-answered): Ditto.
3314         (elmo-folder-flag-as-answered): Ditto.
3315
3316         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3317         `elmo-global-flags-set'.
3318         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3319
3320         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3321
3322         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3323         `flag'.
3324         (elmo-folder-flag-as-important): Ditto.
3325         (elmo-folder-unflag-important): Ditto.
3326         (elmo-folder-flag-as-important): Ditto.
3327         (elmo-folder-unflag-read): Ditto.
3328         (elmo-folder-flag-as-read): Ditto.
3329         (elmo-folder-unflag-answered): Ditto.
3330         (elmo-folder-flag-as-answered): Ditto.
3331
3332         * elmo-multi.el (elmo-folder-list-importants): Don't call
3333         elmo-folder-list-messages-with-global-mark.
3334         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3335         (elmo-folder-unflag-important): Ditto.
3336         (elmo-folder-flag-as-read): Ditto.
3337         (elmo-folder-unflag-read): Ditto.
3338         (elmo-folder-flag-as-answered): Ditto.
3339         (elmo-folder-unflag-answered): Ditto.
3340
3341         * elmo-msgdb.el (elmo-msgdb-new-mark,
3342         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3343         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3344         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3345         (Moved to modb-legacy.el).
3346         (elmo-flag-table-get): Treat important flag too.
3347
3348         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3349         `mark' to `flag'.
3350         (elmo-map-folder-flag-as-important): Ditto.
3351         (elmo-map-folder-unflag-read): Ditto.
3352         (elmo-map-folder-flag-as-read): Ditto.
3353         (elmo-map-folder-unflag-answered): Ditto.
3354         (elmo-map-folder-flag-as-answered): Ditto.
3355         (elmo-folder-unflag-important): Ditto.
3356         (elmo-folder-flag-as-important): Ditto.
3357         (elmo-folder-unflag-read): Ditto.
3358         (elmo-folder-flag-as-read): Ditto.
3359         (elmo-folder-unflag-answered): Ditto.
3360         (elmo-folder-flag-as-answered): Ditto.
3361
3362         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3363         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3364         `flag'.
3365         (elmo-map-folder-unflag-important): Ditto.
3366         (elmo-map-folder-flag-as-read): Ditto.
3367         (elmo-map-folder-unflag-read): Ditto.
3368         (elmo-map-folder-flag-as-answered): Ditto.
3369         (elmo-map-folder-unflag-answered): Ditto.
3370
3371         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3372         `elmo-global-flags-set'.
3373         (elmo-global-flags-set): Added autoload setting.
3374
3375         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3376         `flag'.
3377
3378         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3379         `elmo-msgdb-global-mark-set'.
3380         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3381         Call `elmo-global-flags-set'.
3382         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3383         `flag'.
3384         (elmo-folder-flag-as-important-plugged): Ditto.
3385         (elmo-folder-unflag-read-plugged): Ditto.
3386         (elmo-folder-flag-as-read-plugged): Ditto.
3387         (elmo-folder-unflag-answered-plugged): Ditto.
3388         (elmo-folder-flag-as-answered-plugged): Ditto.
3389         (elmo-global-flags-set): Added autoload setting.
3390
3391         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3392         `flag'.
3393         (elmo-folder-unflag-read): Ditto.
3394         (elmo-folder-flag-as-important): Ditto.
3395         (elmo-folder-unflag-important): Ditto.
3396         (elmo-folder-flag-as-answered): Ditto.
3397         (elmo-folder-unflag-answered): Ditto.
3398
3399         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3400         change of `mark'->`flag'.
3401         (elmo-dop-queue-method-name-alist): Ditto.
3402         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3403         (elmo-folder-unflag-read-dop): Ditto.
3404         (elmo-folder-flag-as-important-dop): Ditto.
3405         (elmo-folder-unflag-important-dop): Ditto.
3406         (elmo-folder-flag-as-answered-dop): Ditto.
3407         (elmo-folder-unflag-answered-dop): Ditto.
3408
3409         * elmo-cache.el (elmo-folder-msgdb-create): Call
3410         `elmo-global-flags-set'.
3411
3412         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3413         Call `elmo-global-flags-set'.
3414         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3415         elmo-archive-parse-mmdf with argument `folder'.
3416         (elmo-archive-parse-mmdf): Added argument `folder';
3417         Call `elmo-global-flags-set'.
3418
3419         * elmo-version.el (elmo-version): Up to 2.11.14.
3420
3421 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3422
3423         * modb.el (elmo-msgdb-length): Define.
3424
3425         * elmo.el (elmo-make-folder): Fixed.
3426         (elmo-generic-folder-append-messages): Follow the API change.
3427
3428         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3429         API change.
3430
3431 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3432
3433         * modb.el: New file.
3434
3435         * modb-entity.el: Ditto.
3436
3437         * modb-legacy.el: Ditto.
3438
3439         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3440         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3441         of `elmo-msgdb-overview-get-entity'.
3442         (elmo-msgdb-get-field): Ditto.
3443         (elmo-msgdb-merge): Moved to `elmo.el'.
3444         (elmo-msgdb-length): Removed; redefine as modb method.
3445         (elmo-msgdb-change-mark): Abolish.
3446         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3447         (elmo-msgdb-match-condition): Don't use mark.
3448         (elmo-msgdb-overview-get-entity): Abolish.
3449         Split modb part into `modb*.el'.
3450
3451         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3452
3453         * elmo-shimbun.el (shimbun-mua-search-id): Use
3454         `elmo-msgdb-message-entity' instead of
3455         `elmo-msgdb-overview-get-entity'.
3456         (elmo-shimbun-folder-shimbun-header): Ditto.
3457         (elmo-shimbun-get-headers): Ditto.
3458         (elmo-shimbun-update-overview): Ditto.
3459
3460         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3461
3462         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3463
3464         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3465         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3466
3467         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3468         `elmo-msgdb-mark-to-flags'.
3469
3470         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3471         `elmo-msgdb-set-path'.
3472
3473         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3474  
3475         * elmo-version.el (elmo-version): Up to 2.11.13.
3476
3477         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3478
3479         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3480         of mark.
3481
3482 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3483
3484         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3485         mismatch.
3486
3487 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3488
3489         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3490         instead of `elmo-msgdb-get-cached'.
3491         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3492
3493         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3494         (elmo-msgdb-set-cached): Ditto.
3495         (elmo-msgdb-set-flag): Rewrite.
3496         (elmo-msgdb-unset-flag): Ditto.
3497
3498         * elmo-msgdb.el: Rewrite with luna.
3499
3500         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3501         (elmo-folder-msgdb): Follow the change above.
3502         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3503         (elmo-folder-unmark-important): Follow the API change.
3504         (elmo-folder-mark-as-important): Ditto.
3505         (elmo-folder-unmark-read): Ditto.
3506         (elmo-folder-mark-as-read): Ditto.
3507         (elmo-folder-unmark-answered): Ditto.
3508         (elmo-folder-mark-as-answered): Ditto.
3509         (elmo-folder-clear): Likewise.
3510
3511         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3512         instead of `elmo-msgdb-load' (renamed).
3513
3514         * elmo-version.el (elmo-version): Up to 2.11.12.
3515
3516 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3517
3518         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3519         change.
3520         (elmo-message-mark): Abolish.
3521         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3522         instead of `elmo-msgdb-change-mark'.
3523
3524         * elmo-pipe.el (elmo-message-mark): Abolish.
3525
3526         * elmo-multi.el (elmo-message-mark): Ditto.
3527
3528         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3529         (elmo-msgdb-unread-uncached-mark): Ditto.
3530         (elmo-msgdb-unread-cached-mark): Ditto.
3531         (elmo-msgdb-read-uncached-mark): Ditto.
3532         (elmo-msgdb-answered-cached-mark): Ditto.
3533         (elmo-msgdb-answered-uncached-mark): Ditto.
3534         (elmo-msgdb-important-mark): Ditto.
3535         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3536         `use-cache'.
3537         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3538         `flags'.
3539         (elmo-flag-table-load): Changed flag to list of flag.
3540         (elmo-flag-table-set): If flags is nil, set read flag.
3541         (elmo-flag-table-get): Return derived flags from global mark,
3542         cache status and saved flags.
3543         (elmo-msgdb-flag-table): Follow the change above.
3544         (elmo-msgdb-out-of-date-messages): New function.
3545
3546         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3547
3548         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3549
3550         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3551
3552         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3553         (elmo-nntp-msgdb-create-message): Ditto.
3554
3555         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3556
3557         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3558         independent.
3559         (elmo-folder-msgdb-create): Follow the API change.
3560
3561         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3562         (elmo-folder-append-messages): Ditto.
3563
3564         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3565         (elmo-folder-append-buffer): Ditto.
3566
3567         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3568
3569         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3570
3571         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3572         (elmo-archive-parse-mmdf): Ditto.
3573
3574         * elmo-version.el (elmo-version): Up to 2.11.11.
3575
3576 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3577
3578         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3579         `elmo-msgdb-mark'.
3580
3581         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3582
3583         * elmo-pipe.el (elmo-message-flags): Defined.
3584
3585         * elmo-multi.el (elmo-message-flags): Ditto.
3586
3587 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3588
3589         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3590         `elmo-msgdb-delete-msgs'.
3591
3592         * elmo.el (elmo-folder-count-flags): Don't use
3593         `elmo-msgdb-get-mark-alist'.
3594         (elmo-folder-detach-messages): Follow the API change.
3595
3596         * elmo.el (elmo-folder-list-messages): Append killed messages into
3597         result if `visible-only' is nil.
3598
3599         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3600         canceled messages.
3601         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3602         (elmo-folder-update-number): Likewise.
3603
3604         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3605         (elmo-pop3-sort-msgdb-by-original-number): Use
3606         `elmo-msgdb-sort-entities'.
3607
3608         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3609         (elmo-msgdb-sort-by-date): Use it.
3610         (elmo-msgdb-overview-sort-by-date): Abolish.
3611
3612         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3613
3614         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3615         (elmo-msgdb-flags): New function.
3616         (elmo-msgdb-merge): Use elmo-msgdb-append.
3617
3618         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3619         change.
3620
3621         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3622
3623         * elmo-dop.el (elmo-folder-status-dop): Use
3624         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3625
3626 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3627
3628         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3629
3630         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3631
3632         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3633
3634         * elmo-util.el (elmo-with-progress-display): New macro.
3635
3636         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3637
3638 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3639
3640         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3641         `elmo-folder-list-message-entities' instead of
3642         `elmo-msgdb-get-overview'.
3643         (elmo-map-folder-list-message-locations): Ditto.
3644
3645         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3646         methods instead of treat directly).
3647         (elmo-msgdb-clear): Ditto.
3648         (elmo-msgdb-delete-msgs): Ditto.
3649         (elmo-msgdb-sort-by-date): Ditto.
3650
3651         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3652         local variables.
3653         (elmo-nntp-folder-msgdb-create): Follow the API change.
3654
3655         * elmo-version.el (elmo-version): Up to 2.11.10.
3656
3657 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3658
3659         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3660         (elmo-msgdb-flags-to-mark): Ditto.
3661         (elmo-msgdb-append-entity): Ditto.
3662
3663         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3664         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3665         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3666         (elmo-archive-parse-mmdf): Ditto.
3667
3668         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3669
3670         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3671
3672         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3673
3674         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3675
3676         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3677
3678         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3679
3680         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3681
3682         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3683
3684         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3685         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3686         to empty msgdb.
3687
3688         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3689         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3690         instead of directly construction.
3691         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3692         instead of construct msgdb.
3693
3694         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3695         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3696         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3697         instead of construct msgdb.
3698
3699 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3700
3701         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3702         when field is from or subject.
3703
3704 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3705
3706         * elmo-multi.el (elmo-message-entity-parent): Define.
3707         (elmo-folder-search): Rewrite.
3708
3709 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3710
3711         * elmo-multi.el (elmo-message-cached-p): Define.
3712
3713         * elmo.el (elmo-message-cached-p): New method.
3714         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3715         (elmo-message-flags): New method.
3716         (elmo-message-flagged-p): New function.
3717
3718         * elmo-version.el (elmo-version): Up to 2.11.9.
3719
3720 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3721
3722         * elmo-version.el (elmo-version): Up to 2.11.8.
3723
3724         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3725
3726         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3727
3728 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3729
3730         * elmo.el (elmo-folder-detach-messages): Undo last change.
3731
3732 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3733
3734         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3735
3736         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3737         only when src folder type is pop3.
3738
3739 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3740
3741         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3742         elmo-msgdb-overview-entity-get-number instead of
3743         elmo-message-entity-number.
3744
3745 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3746
3747         * elmo-version.el (elmo-version): Up to 2.11.7.
3748
3749 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3750
3751         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3752         function.
3753
3754         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3755         (elmo-msgdb-merge): New function.
3756         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3757         (elmo-msgdb-make-index): Rewrite.
3758
3759         * elmo-version.el (elmo-version): Up to 2.11.6.
3760
3761         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3762         use it as a the path for loading message entities.
3763
3764         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3765
3766 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3767
3768         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3769         message-modified slot of itself if it does not require target msgdb.
3770
3771         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3772         if folder length is zero.
3773         (elmo-mime-display-as-is): Ditto.
3774
3775         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3776
3777         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3778
3779 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3780
3781         * elmo.el (elmo-folder-set-message-modified): New method.
3782         (elmo-generic-folder-commit): Use it.
3783         (elmo-folder-synchronize): Ditto.
3784
3785         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3786         (elmo-folder-commit): Remove duplicate definition.
3787
3788 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3789
3790         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3791
3792 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3793
3794         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3795         (elmo-strict-folder-diff): Ditto.
3796         (elmo-folder-set-info-max-by-numdb): Simplify.
3797
3798         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3799         elmo-msgdb-list-messages.
3800
3801         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3802         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3803
3804 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3805
3806         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3807         visible-only is non-nil.
3808         (elmo-folder-confirm-appends): Changed message.
3809         (elmo-folder-synchronize): Added argument disable-killed.
3810
3811         * elmo-multi.el (elmo-folder-synchronize): Added argument
3812         disable-killed.
3813
3814         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3815
3816         * elmo-version.el (elmo-version): Up to 2.11.5.
3817
3818         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3819         elmo-list-filter.
3820
3821         * elmo-util.el (elmo-list-filter): Simplify.
3822
3823         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3824         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3825         (elmo-generic-folder-diff): Abolish argument.
3826         (elmo-msgdb-load): Don't use number-alist.
3827
3828         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3829
3830         * elmo-pipe.el (elmo-folder-diff): Ditto.
3831
3832         * elmo-nmz.el (elmo-folder-diff): Ditto.
3833
3834         * elmo-net.el (elmo-folder-diff): Ditto.
3835
3836         * elmo-maildir.el (elmo-folder-diff): Ditto.
3837
3838         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3839
3840         * elmo-multi.el (elmo-folder-diff): Ditto
3841         (elmo-multi-folder-diff): Rewrite.
3842
3843 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3844
3845         * elmo-pipe.el (elmo-folder-msgdb): Define.
3846
3847 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3848
3849         * elmo.el (elmo-message-set-cached): Define as a method.
3850
3851         * elmo-pipe.el (elmo-message-set-cached): Define.
3852         (elmo-find-fetch-strategy): Ditto.
3853
3854         * elmo-multi.el (elmo-message-set-cached): Define.
3855         (elmo-find-fetch-strategy): Rewrite.
3856
3857         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3858
3859         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3860
3861 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3862
3863         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3864         instead of number-alist.
3865
3866         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3867         mark nor message-id when msgdb of source folder is not loaded.
3868
3869         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3870
3871         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3872
3873 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3874
3875         * elmo.el (elmo-folder-length): Don't require msgdb.
3876
3877 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3878
3879         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3880         (elmo-message-field): Ditto.
3881
3882         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3883         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3884         slot.
3885         (elmo-map-folder-list-answereds): Define.
3886         (elmo-maildir-list-location): Treat 'R' info.
3887         (elmo-folder-msgdb-create): Treat flag-table.
3888         (elmo-folder-append-messages): Save flag-table.
3889
3890 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3891
3892         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3893         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3894
3895 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3896
3897         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3898
3899         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3900         'read when mark is null.
3901
3902 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3903
3904         * elmo-version.el (elmo-version): Up to 2.11.4.
3905
3906 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3907
3908         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3909         (elmo-folder-mark-as-answered): Ditto.
3910
3911 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3912
3913         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3914         (elmo-pop3-get-session): Make msgdb directory after session.
3915         (elmo-folder-exists-p): Check exactly at the first time even when the
3916         elmo-pop3-exists-exactly is nil.
3917
3918         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3919         (elmo-folder-list-messages): Define instead of
3920         elmo-folder-list-messages-internal.
3921         (elmo-folder-check): Check destination folder.
3922         (elmo-folder-synchronize): Drain the pipe.
3923
3924         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3925         when msgdb is not loaded.
3926
3927         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3928
3929         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3930         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3931         messages.
3932
3933         * elmo.el (elmo-folder-kill-messages-before): New function.
3934         (elmo-folder-kill-messages): Ditto.
3935         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3936
3937         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3938         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3939         killed not by synchronize (e.g. scoring).
3940
3941 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3942
3943         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3944         treated.
3945         (elmo-folder-search): Follow the change above.
3946
3947         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3948         into the candidates of search field.
3949
3950 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3951
3952         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3953         (elmo-msgdb-unset-flag): Ditto.
3954
3955         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3956
3957 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3958
3959         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3960         (elmo-folder-commit): Define.
3961         (elmo-folder-synchronize): Ditto.
3962         (elmo-folder-list-flagged): Ditto.
3963         (elmo-folder-commit): Ditto.
3964         (elmo-folder-length): Ditto.
3965         (elmo-folder-count-flags): Ditto.
3966         (elmo-message-mark): Ditto.
3967         (elmo-message-field): Ditto.
3968         (elmo-message-entity): Ditto.
3969         (elmo-message-folder): Ditto.
3970
3971 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3972
3973         * elmo.el (elmo-message-field): Define as a method.
3974
3975         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3976         (elmo-message-field): Define.
3977
3978         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3979         (elmo-folder-list-importants): Ditto.
3980         (elmo-folder-list-answereds): Ditto.
3981
3982         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3983         qualifier.
3984         (elmo-folder-mark-as-read): Ditto.
3985         (elmo-folder-unmark-read): Ditto.
3986         (elmo-folder-mark-as-answered): Ditto.
3987         (elmo-folder-unmark-answered): Ditto.
3988         (elmo-folder-list-flagged): Define.
3989         (elmo-folder-commit): Ditto.
3990         (elmo-folder-length): Ditto.
3991         (elmo-folder-count-flags): Ditto.
3992
3993 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3994
3995         * elmo.el (elmo-folder-detach-messages): New method.
3996         (elmo-folder-move-messages): Use it.
3997         (elmo-folder-synchronize): Ditto.
3998
3999         * elmo-multi.el (elmo-folder-detach-messages): Define.
4000
4001         * elmo.el (elmo-message-copy-entity): New function.
4002         (elmo-message-entity-set-number): Ditto.
4003         (elmo-message-mark): Define as method.
4004
4005         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4006         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4007         (elmo-message-entity): Fixed last change.
4008         (elmo-message-mark): Define.
4009         (elmo-folder-msgdb-create): Abolish.
4010         (elmo-multi-folder-append-msgdb): Ditto.
4011         (elmo-multi-folder-diff): Fixed.
4012         (elmo-multi-split-number-alist): Removed.
4013         (elmo-multi-split-mark-alist): Removed.
4014         (elmo-folder-list-messages): Define.
4015         (elmo-folder-list-messages-internal): Removed.
4016
4017         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4018         local file messages.
4019         (elmo-folder-msgdb-create): Fixed read mark.
4020
4021 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4022
4023         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4024         if mark is nil.
4025
4026 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4027
4028         * elmo.el (elmo-folder-list-message-entities): Define as inline
4029         function.
4030         (elmo-folder-messages): Abolish.
4031
4032         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4033         folder.
4034         (elmo-folder-synchronize): Define.
4035         (elmo-message-entity): Define.
4036
4037 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4038
4039         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4040         elmo-imap4-session-select-mailbox.
4041
4042         * elmo.el (elmo-folder-move-messages): Don't display any message.
4043
4044         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4045         parsing.
4046         (elmo-imap4-session-check): Don't wait CHECK response.
4047         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4048
4049 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4050
4051         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4052
4053 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4054
4055         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4056         API.
4057         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4058
4059
4060         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4061         (elmo-folder-list-message-entities): Added argument in-msgdb and
4062         numbers.
4063         (elmo-folder-synchronize): Define as a method.
4064
4065         * elmo-nntp.el (elmo-folder-initialize): Don't use
4066         elmo-nntp-default-user if zero-length username is specified
4067         explicitly.
4068
4069 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4070
4071         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4072         server name in case with username.
4073         (XXX: this is ad-hoc fix against username includes "@", it
4074         should be solved fundamentally)
4075
4076 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4077
4078         * elmo-nntp.el (elmo-nntp-debug): New function.
4079         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4080         (elmo-network-authenticate-session): Hide auth-info from the log.
4081
4082         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4083         user name if it is equal to elmo-nntp-default-user.
4084
4085 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4086
4087         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4088         instead of shimbun-server-internal;
4089         Use shimbun-current-group instead of shimbun-current-group-internal.
4090         (elmo-folder-plugged-p): Use shimbun-server instead of
4091         shimbun-server-internal.
4092         (elmo-folder-set-plugged): Ditto.
4093         (elmo-net-port-info): Ditto.
4094         (elmo-folder-check): Ditto.
4095         (elmo-folder-expand-msgdb-path): Ditto.
4096         (elmo-folder-list-subfolders): Ditto.
4097
4098 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4099
4100         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4101         Convert field-name to lower case.
4102         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4103
4104 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4105
4106         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4107         `message' and `error' take format string.
4108
4109 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4110
4111         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4112
4113 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4114
4115         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4116         recursive call (can't byte compile on emacs 20.7).
4117
4118 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4119
4120         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4121         (elmo-folder-list-message-entities): New API.
4122         (elmo-message-entity): Ditto.
4123         (elmo-message-entity-parent): Ditto.
4124         (elmo-folder-do-each-message-entity): Ditto.
4125         (elmo-message-entity-number): Ditto.
4126         (elmo-message-entity-field): Ditto.
4127         (elmo-message-entity-set-field): Ditto.
4128         (elmo-folder-count-flags): Ditto.
4129         (elmo-folder-length): Ditto.
4130
4131         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4132         not.
4133
4134         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4135         (elmo-msgdb-count-marks): Abolish.
4136         (elmo-msgdb-make-entity): Ditto.
4137         (elmo-msgdb-do-each-entity): Ditto.
4138         (elmo-msgdb-message-entity): New inline function.
4139         (elmo-msgdb-message-entity-field): Ditto.
4140         (elmo-msgdb-message-entity-set-field): Ditto.
4141         (elmo-msgdb-make-message-entity): New function.
4142
4143 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4144
4145         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4146         to flag. (All other related portions are changed.)
4147         (elmo-folder-msgdb-create): Likewise.
4148         (elmo-generic-folder-append-messages): Use flag-table instead of
4149         seen-list.
4150         (elmo-folder-move-messages): Removed redundant process.
4151         (elmo-folder-synchronize): Likewise.
4152
4153         * elmo-msgdb.el (elmo-flag-table-get): New function.
4154         (elmo-flag-table-save): Fixed.
4155         (elmo-msgdb-length): New inline function.
4156         (elmo-msgdb-flag-table): New function.
4157         (elmo-msgdb-mark): Add optional argument new.
4158         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4159         (elmo-msgdb-seen-list): Ditto.
4160         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4161
4162
4163 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4164
4165         * elmo.el (elmo-message-set-mark): Abolish.
4166         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4167         (All related portions are changed.)
4168
4169         * elmo-msgdb.el (toplevel): Added comment.
4170         (elmo-load-msgdb): Added 4th element `path'.
4171         (elmo-msgdb-append): Follow the change above.
4172         (elmo-msgdb-clear): Ditto.
4173         (elmo-msgdb-delete-msgs): Ditto.
4174         (elmo-msgdb-get-path): New inline function.
4175         (elmo-msgdb-set-path): Ditto.
4176         (elmo-flag-table-filename): New variable.
4177         (elmo-flag-table-load): New function.
4178         (elmo-flag-table-set): Ditto.
4179         (elmo-flag-table-save): Ditto.
4180         (elmo-msgdb-get-field-value): Abolish.
4181         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4182
4183 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4184
4185         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4186         the folder has been deleted successfully.
4187         * elmo-imap4.el (elmo-folder-delete): Ditto.
4188         * elmo-archive.el (elmo-folder-delete): Ditto.
4189         * elmo-localdir.el (elmo-folder-delete): Ditto.
4190         * elmo-maildir.el (elmo-folder-delete): Ditto.
4191
4192 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4193
4194         * elmo-util.el (elmo-string-member-ignore-case): New function.
4195         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4196         (elmo-imap4-fetch-callback-1-subr): Likewise.
4197
4198 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4199
4200         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4201         the case of the name attribute "\Noselect".
4202
4203 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4204
4205         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4206
4207         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4208         flist, is not always a member of onum-alist.
4209
4210 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4211
4212         * elmo-version.el (elmo-version): Up to 2.11.3.
4213
4214 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4215
4216         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4217         copied from localdir's one.
4218
4219         * elmo-pipe.el (elmo-folder-rename): New method, rename
4220         destination folder with leaving source folder as it is.
4221
4222 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4223
4224         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4225         replace-regexp.
4226
4227 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4228
4229         * elmo-version.el (elmo-version): Up to 2.11.2.
4230
4231 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4232
4233         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4234         shimbun-open in case of "@".
4235         (elmo-folder-open-internal): Cope with shimbun = nil case.
4236         (elmo-folder-plugged-p): Ditto.
4237         (elmo-folder-list-subfolders): Make list for "@/" group.
4238
4239 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4240
4241         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4242         mailbox (e.g. for %~/something).
4243
4244 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4245
4246         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4247         Replace nested conditional with guard clauses.
4248
4249 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4250
4251         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4252         error [wl:11327].
4253
4254         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4255         print-depth.
4256
4257 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4258
4259         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4260         Replace nested conditional with guard clauses.
4261
4262 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4263
4264         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4265         (elmo-passwd-alist-save): Ditto.
4266         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4267
4268 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4269
4270         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4271         dir-name only if it is absolute path.
4272         (TODO: distinguish +/something and +something)
4273
4274 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4275
4276         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4277         path for "+~/something".
4278
4279 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4280
4281         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4282         as non-directory, cause error before rename-file.
4283         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4284         apropriately, mimic localdir's one.
4285         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4286
4287 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4288
4289         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4290
4291 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4292
4293         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4294
4295         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4296         
4297         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4298         is included in the global-mark or not.
4299
4300 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4301
4302         * utf7.el (toplevel): Avoid error when the function
4303         find-coding-system does not exist.
4304
4305 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4306
4307         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4308         cache even if the folder is plugged.
4309         (elmo-nntp-search-primitive): Do nothing when body search is
4310         invoked (although it is not used by the change above).
4311         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4312
4313 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4314
4315         * elmo-version.el (elmo-version): Up to 2.11.1.
4316
4317 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4318
4319         * elmo-archive.el: Specify charset.
4320
4321 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4322
4323         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4324         process buffer lives or not.
4325
4326         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4327         while flushing queues (It causes infinite loop).
4328
4329 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4330
4331         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4332
4333 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4334
4335         * utf7.el (toplevel): Check the ucs features dynamically.
4336         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4337
4338         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4339         folder is creatabe or not if it already exists.
4340
4341 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4342
4343         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4344
4345         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4346
4347         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4348         (elmo-imap4-read-response): Take care of garbage response.
4349
4350 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4351
4352         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4353         just return nil instead of error.
4354
4355 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4356
4357         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4358         search-key is "body".
4359
4360 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4361
4362         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4363         of elmo-string-matched-assoc to use match-data.
4364         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4365
4366 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4367
4368         * elmo-split.el (elmo-split->): New function.
4369         (elmo-split-<): Ditto.
4370
4371 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4372
4373         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4374         workaround for invalid message-id.
4375
4376 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4377
4378         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4379         return normal pop3 session or pop3 biff session.
4380
4381 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4382
4383         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4384         info part to the cur files when the new files already have it.
4385         (Adviced by Jared Rhine <jared@wordzoo.com>)
4386
4387 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4388
4389         * elmo-split.el (elmo-split-default-action): New variable.
4390         (elmo-split-subr): Use it if all other conditions are passed.
4391         Extend `fname' and rename it as `action'. (implemented
4392         Teranishi-san's idea in [wl:10800])
4393
4394 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4395
4396         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4397         * elmo-util.el: Ditto.
4398
4399 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4400
4401         * elmo.el (elmo-message-accessible-p): Renamed from
4402         elmo-message-cached-p and rewritten.
4403
4404 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4405
4406         * elmo.el (elmo-folder-list-flagged): New generic function.
4407         (elmo-folder-list-importants): New implementation.
4408         (elmo-folder-list-answereds): Ditto.
4409         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4410         Added 'digest'.
4411         (elmo-message-cached-p): New function.
4412         (elmo-message-set-flag): Ditto (no content).
4413         (elmo-message-unset-flag): Ditto.
4414         (elmo-folder-list-messages-mark-match): Abolish.
4415
4416         * elmo-util.el (elmo-regexp-opt): New function.
4417
4418         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4419         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4420         Added 'digest'.
4421         (elmo-msgdb-list-flagged): New function.
4422
4423         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4424         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4425         Added 'digest'.
4426
4427         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4428
4429 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4430
4431         * elmo-version.el (elmo-version): Up to 2.11.0.
4432
4433 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4434
4435         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4436         `elmo-file-cache-exists-p'; use proper mark that depends on
4437         `use-cache'.
4438         (elmo-msgdb-unset-flag): Ditto.
4439         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4440
4441         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4442         with 4th argument `use-cache'.
4443
4444 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4445
4446         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4447         (elmo-folder-mark-as-important): Ditto.
4448         (elmo-folder-unmark-read): Ditto.
4449         (elmo-folder-mark-as-read): Ditto.
4450         (elmo-folder-unmark-answered): Ditto.
4451         (elmo-folder-mark-as-answered): Ditto.
4452
4453         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4454         message status.
4455         (elmo-msgdb-mark): Likewise.
4456         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4457         (elmo-msgdb-unset-flag): Likewise.
4458
4459         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4460
4461 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4462
4463         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4464         `last:' filter.
4465
4466 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4467
4468         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4469         set spool-length to 0.
4470
4471 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4472
4473         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4474         (elmo-dop-queue-flush): Fixed last change.
4475
4476 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4477
4478         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4479         if require-msgdb slot is nil.
4480         (elmo-folder-list-importants): Likewise.
4481
4482 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4483
4484         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4485         mark is changed.
4486
4487         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4488         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4489         is changed.
4490
4491 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4492
4493         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4494
4495 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4496
4497         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4498
4499         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4500
4501 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4502
4503         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4504         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4505
4506 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4507
4508         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4509         the problem reported by Sean Rima [wl-en:180].
4510
4511 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4512
4513         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4514
4515         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4516
4517         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4518
4519         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4520
4521         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4522
4523         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4524
4525         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4526
4527 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4528
4529         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4530         status number.
4531
4532 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4533
4534         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4535         (elmo-folder-mark-as-read): Follow the API change.
4536         (elmo-message-set-cached): New function.
4537
4538         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4539
4540         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4541
4542         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4543         (elmo-folder-mark-as-important): Ditto.
4544         (elmo-folder-unmark-read): Ditto.
4545         (elmo-folder-mark-as-read): Ditto.
4546         (elmo-folder-unmark-answered): Ditto.
4547         (elmo-folder-mark-as-answered): Ditto.
4548
4549         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4550         (elmo-folder-unmark-important): Ditto.
4551         (elmo-folder-mark-as-read): Ditto.
4552         (elmo-folder-unmark-read): Ditto.
4553         (elmo-folder-mark-as-answered): Ditto.
4554         (elmo-folder-unmark-answered): Ditto.
4555
4556         * elmo-mark.el (toplevel): Removed some mark method definitions.
4557
4558         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4559         (elmo-map-folder-mark-as-answered): Ditto.
4560         (elmo-folder-unmark-important): Add :before qualifier.
4561         (elmo-folder-mark-as-important): Ditto.
4562         (elmo-folder-unmark-read): Ditto.
4563         (elmo-folder-mark-as-read): Ditto.
4564         (elmo-folder-unmark-answered): Define.
4565         (elmo-folder-mark-as-answered): Ditto.
4566
4567         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4568         (elmo-map-folder-unmark-answered): Ditto.
4569
4570         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4571
4572         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4573         (elmo-folder-mark-as-important): Ditto.
4574         (elmo-folder-unmark-read): Ditto.
4575         (elmo-folder-mark-as-read): Ditto.
4576         (elmo-folder-unmark-answered): Ditto.
4577         (elmo-folder-mark-as-answered): Ditto.
4578
4579         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4580         `mark'; evaluate mark condition.
4581         (elmo-msgdb-match-condition-internal): New function.
4582         (elmo-msgdb-match-condition): Call it; changed argument.
4583
4584         * elmo.el (elmo-folder-search): Follow the API change on
4585         `elmo-msgdb-match-condition'.
4586
4587 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4588
4589         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4590         original mark is non-nil.
4591
4592 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4593
4594         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4595         (elmo-map-folder-list-answereds): New method.
4596         (elmo-folder-list-unreads): Add :around qualifier.
4597         (elmo-folder-list-importants): Ditto.
4598         (elmo-folder-list-answereds): Ditto.
4599
4600 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4601
4602         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4603
4604         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4605         method if msgdb is not required.
4606         (elmo-filter-folder-list-importants): Don't treat global-mark.
4607
4608         * elmo.el (elmo-folder-list-importants): Ditto.
4609
4610         * elmo-net.el (elmo-folder-list-importants): Ditto.
4611
4612         * elmo-map.el (elmo-folder-list-importants): Ditto.
4613
4614         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4615
4616         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4617         (elmo-imap4-folder-list-any-plugged): New function.
4618         (elmo-imap4-search-internal-primitive): Use it.
4619
4620         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4621         only when require-msgdb slot is non-nil.
4622         (elmo-folder-close): Clear target folder's msgdb.
4623
4624 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4625
4626         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4627         (elmo-pop3-msgdb-create-by-header): Ditto.
4628         (elmo-pop3-msgdb-create-message): Ditto.
4629
4630         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4631
4632         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4633
4634         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4635
4636         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4637         (elmo-folder-msgdb-create): Ditto.
4638         (elmo-nntp-folder-msgdb-create): Ditto.
4639         (elmo-nntp-msgdb-create-by-header): Ditto.
4640         (elmo-nntp-msgdb-create-message): Ditto.
4641         (elmo-folder-list-unreads): Define.
4642
4643         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4644         (elmo-folder-append-messages): Ditto.
4645         (elmo-folder-list-unreads): Define.
4646         (elmo-folder-list-importants): Ditto.
4647         (elmo-folder-list-answereds): Ditto.
4648
4649         * elmo-net.el (elmo-folder-list-unreads): Define.
4650         (elmo-folder-list-importants): Ditto.
4651         (elmo-folder-list-answereds): Ditto.
4652         (elmo-folder-list-answereds-plugged): Ditto.
4653         (elmo-folder-msgdb-create): Follow the API change.
4654         (elmo-folder-msgdb-create-unplugged): Ditto.
4655         (elmo-folder-unmark-answered): Define.
4656         (elmo-folder-mark-as-answered-unplugged): Ditto.
4657         (elmo-folder-unmark-answered-unplugged): Ditto.
4658
4659         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4660         (elmo-msgdb-unread-uncached-mark): Ditto.
4661         (elmo-msgdb-unread-cached-mark): Ditto.
4662         (elmo-msgdb-read-uncached-mark): Ditto.
4663         (elmo-msgdb-answered-cached-mark): Ditto.
4664         (elmo-msgdb-answered-uncached-mark): Ditto.
4665         (elmo-msgdb-important-mark): Ditto.
4666         (elmo-msgdb-set-mark): Rewrite.
4667         (elmo-msgdb-count-marks): Rewrite.
4668         (elmo-msgdb-mark-alist-set): Abolish.
4669         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4670         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4671
4672         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4673         (elmo-folder-close): Define.
4674         (elmo-folder-msgdb-create): Follow the API change.
4675         (elmo-folder-list-unreads): Rewrite.
4676         (elmo-folder-mark-as-important): Ditto.
4677         (elmo-folder-unmark-important): Ditto.
4678         (elmo-folder-mark-as-read): Ditto.
4679         (elmo-folder-unmark-read): Ditto.
4680         (elmo-folder-mark-as-answered): Define.
4681         (elmo-folder-unmark-answered): Ditto.
4682
4683         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4684         (elmo-folder-append-messages): Ditto.
4685
4686         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4687
4688         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4689         (elmo-folder-list-importants): Ditto.
4690
4691         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4692         (elmo-folder-append-messages): Ditto.
4693
4694         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4695         change.
4696         (elmo-folder-msgdb-create-plugged): Ditto.
4697         (elmo-folder-append-messages): Ditto.
4698         (elmo-folder-list-answereds-plugged): Define.
4699         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4700         (elmo-folder-unmark-answered-plugged): Define.
4701         (elmo-folder-mark-as-answered-plugged): Ditto.
4702         (elmo-folder-search-requires-msgdb-p): Ditto.
4703
4704         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4705         (elmo-folder-initialize): Set it.
4706         (elmo-folder-msgdb): Define.
4707         (elmo-folder-check): Call elmo-folder-synchronize.
4708         (elmo-folder-close): Define.
4709         (elmo-folder-commit): Ditto.
4710         (elmo-folder-msgdb-create): Rewrite.
4711         (elmo-folder-list-unreads): Ditto.
4712         (elmo-folder-list-importants): Ditto.
4713         (elmo-folder-mark-as-read): Ditto.
4714         (elmo-folder-unmark-read): Ditto.
4715         (elmo-folder-mark-as-important): Ditto.
4716         (elmo-folder-unmark-important): Ditto.
4717         (elmo-folder-mark-as-answered): Define.
4718         (elmo-folder-unmark-answered): Ditto.
4719
4720         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4721         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4722         (elmo-dop-queue-method-name-alist): Likewise.
4723         (elmo-folder-mark-as-answered-dop): New inline function.
4724         (elmo-folder-unmark-answered-dop): Ditto.
4725         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4726
4727         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4728         (elmo-folder-msgdb-create): Ditto.
4729         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4730         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4731         (elmo-archive-parse-mmdf): Ditto.
4732
4733         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4734         (elmo-folder-list-unreads-internal): Ditto.
4735
4736         * elmo.el (elmo-folder-msgdb): Define as generic function.
4737         (elmo-folder-list-messages): Added argument `in-msgdb'.
4738         (elmo-folder-list-unreads): Define as generic function.
4739         (elmo-folder-list-importants): Ditto.
4740         (elmo-folder-list-answereds): Ditto.
4741         (elmo-folder-list-messages-with-global-mark): New function.
4742         (elmo-folder-msgdb-create): Removed mark arguments.
4743         (elmo-folder-unmark-answered): New generic function.
4744         (elmo-folder-mark-as-answered): Ditto.
4745         (elmo-folder-append-messages): Removed argunment `unread-marks'
4746         (elmo-folder-list-unreads-internal): Abolish.
4747         (elmo-folder-list-importants-internal): Ditto.
4748         (elmo-folder-search-requires-msgdb-p): New generic function.
4749         (elmo-folder-search-requires-msgdb-p-internal): New function.
4750         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4751         elmo-msgdb-load.
4752         (elmo-folder-search-fast): Added key 'mark'.
4753         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4754         instead of unread-marks argument.
4755         (elmo-folder-move-messages): Removed argunment `unread-marks'
4756         (elmo-folder-unmark-important): Define.
4757         (elmo-folder-mark-as-important): Ditto.
4758         (elmo-folder-unmark-read): Ditto.
4759         (elmo-folder-mark-as-read): Ditto.
4760         (elmo-folder-unmark-answered): Ditto.
4761         (elmo-folder-mark-as-answered): Ditto.
4762         (elmo-folder-replace-marks): Abolish.
4763         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4764         duplicates.
4765         (elmo-folder-synchronize): Removed mark arguments;
4766         return crosspost only number.
4767
4768 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4769
4770         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4771         Remove redundunt connectivity check.
4772
4773 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4774
4775         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4776         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4777
4778 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4779
4780         * pldap.el (ldap-decode-string): Return string as-is if
4781         `ldap-coding-system' is nil.
4782         (ldap-encode-string): Ditto.
4783         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4784         (ldap-default-host): Fixed docstring.
4785
4786 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4787
4788         * elmo-util.el (elmo-warning): Define as a macro which uses
4789         `display-warning' if it is defined as a function.
4790
4791         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4792         (elmo-split-equal): Use it.
4793         (elmo-split-match): Ditto.
4794         (elmo-split-message-entity): New buffer-local variable.
4795         (elmo-split-subr): Set it.
4796
4797         * elmo-version.el (elmo-version): Up to 2.9.15.
4798
4799 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4800
4801         * elmo-imap4.el (elmo-network-initialize-session):
4802         Check capability after starttls.
4803
4804 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4805
4806         * elmo-util.el (elmo-list-delete): Added optional argument
4807         DELETE-FUNCTION.
4808
4809         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4810
4811         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4812
4813         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4814
4815         * elmo-imap4.el (elmo-folder-initialize): Don't use
4816         elmo-imap4-default-mailbox.
4817
4818 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4819
4820         * elmo-split.el (toplevel): Use `product-provide'.
4821         (elmo-split): Checkdoc.
4822
4823 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4824
4825         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4826         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4827         the function `elmo-imap4-debug-1'.
4828
4829 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4830
4831         * elmo-split.el (elmo-split): Moved to run hooks and to show
4832         message from elmo-split-subr.
4833         (elmo-split-subr): Follow the change above.
4834
4835         * elmo-split.el (elmo-split-subr): New function (renamed from
4836         elmo-split-subr).
4837         (elmo-split): Changed to call elmo-split-subr by element of
4838         elmo-split-folder.
4839         (elmo-split-folder): Changed customization type to choice.
4840
4841 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4842
4843         * elmo-split.el (elmo-split-and): Fixed condition.
4844
4845 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4846
4847         * elmo-split.el: New file.
4848         (elmo-split): Fixed logic.
4849         Display "Test:" instead of "Folder:" when reharsal.
4850
4851         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4852         explicitly.
4853
4854         * elmo-version.el (elmo-version): Up to 2.9.14.
4855
4856         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4857         wl-expand-newtext).
4858
4859 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4860
4861         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4862         message with no message-id field.
4863
4864 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4865
4866         * elmo-version.el (elmo-version): Up to 2.9.13.
4867
4868         * elmo-dop.el (elmo-folder-status-dop): Fix.
4869
4870 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4871
4872         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4873
4874         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4875         changing default value of default-mime-charset.
4876         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4877
4878         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4879
4880         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4881         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4882         instead of elmo-dop-queue-method-name-alist to check merging queue.
4883         (elmo-folder-delete-messages-dop): Delete from queue if negative
4884         message number.
4885         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4886         file is already removed.
4887
4888 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4889
4890         * elmo-vars.el: Bind colon keywords for old Emacsen.
4891
4892 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4893
4894         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4895         against non-exsisting charset.
4896
4897 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4898
4899         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4900         Use eword-decode-and-unfold-unstructured-field-body.
4901
4902         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4903         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4904         exists to decode raw subject string.
4905         (toplevel): Require 'mime.
4906
4907         * elmo-version.el (elmo-version): Up to 2.9.12.
4908
4909 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4910
4911         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4912         (elmo-msgdb-set-mark): Ditto.
4913
4914         * elmo-version.el (elmo-version): Up to 2.9.11.
4915
4916 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4917
4918         * elmo-util.el (elmo-delete-match-files): New function.
4919
4920         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4921         instead of elmo-delete-directory.
4922
4923         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4924         elmo-hash-minimun-size as 63.
4925
4926         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4927         elmo-diff-unread is nil.
4928
4929         * elmo-imap4.el (elmo-folder-open): Fix.
4930
4931         * elmo.el (elmo-message-mark): Rewrite.
4932         (elmo-message-field): Ditto.
4933         (elmo-message-set-mark): Ditto.
4934         (elmo-folder-replace-marks): New function.
4935         (elmo-generic-folder-append-msgdb): Removed third argument for
4936         elmo-msgdb-append.
4937         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4938         (elmo-msgdb-load): New implementation.
4939
4940         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4941
4942         * elmo-util.el (elmo-list-insert): New implementation.
4943
4944         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4945         argument for elmo-msgdb-append.
4946         
4947
4948         * elmo-msgdb.el (elmo-load-msgdb): New function.
4949         (elmo-make-msgdb): Ditto.
4950         (elmo-msgdb-get-index): New inline function.
4951         (elmo-msgdb-set-index): Ditto.
4952         (elmo-msgdb-get-entity-hashtb): Ditto.
4953         (elmo-msgdb-get-mark-hashtb): Ditto.
4954         (elmo-msgdb-get-mark): Ditto.
4955         (elmo-msgdb-set-mark): Ditto.
4956         (elmo-msgdb-count-marks): Ditto.
4957         (elmo-msgdb-get-number): Ditto.
4958         (elmo-msgdb-get-field): Ditto.
4959         (elmo-msgdb-seen-list): Ditto.
4960         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4961         (elmo-msgdb-delete-msgs): Follow the changes above.
4962         (elmo-msgdb-overview-get-entity): Ditto.
4963         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4964         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4965         and rewritten.
4966         (elmo-msgdb-make-index): Likewise.
4967         (elmo-msgdb-append): Removed third argument.
4968         (elmo-msgdb-clear): Clear index as nil.
4969         (elmo-folder-set-info-hashtb): Removed.
4970         (elmo-folder-set-info-max-by-numdb): Ditto.
4971         (elmo-folder-info-make-hashtb): Ditto.
4972
4973         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4974
4975         * elmo-map.el (elmo-folder-pack-number): Ditto.
4976
4977 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4978
4979         * elmo-version.el (elmo-version): Up to 2.9.10.
4980
4981         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4982
4983         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4984
4985 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4986
4987         * elmo-utils.el (elmo-make-directory): Add option.
4988         Default file mode is 700.
4989
4990 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4991
4992         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4993
4994 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4995
4996         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4997         mime-charset.
4998
4999         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5000         and "smaller".
5001
5002 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5003
5004         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5005         (elmo-shimbun-folder-entity-hash): New function.
5006         (elmo-shimbun-folder-shimbun-header): Ditto.
5007         (elmo-shimbun-entity-to-header): Ditto.
5008         (elmo-shimbun-msgdb-to-headers): Removed.
5009         (elmo-shimbun-folder-setup): Ditto.
5010         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5011         for hash key.
5012         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5013         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5014         Removed useless local bind.
5015         (elmo-folder-open-internal): Don't call
5016         `elmo-shimbun-folder-setup'.
5017         (elmo-folder-close-internal): Clear entity-hash slot.
5018         (elmo-folder-clear): Ditto.
5019         (elmo-shimbun-msgdb-create-entity): Use
5020         `elmo-shimbun-folder-shimbun-header'.
5021         (elmo-map-message-fetch): Ditto.
5022         (elmo-shimbun-update-overview): Use overview entity instead of
5023         shimbun header to lookup id by references.
5024         (elmo-map-folder-list-message-locations): Use not only headers but
5025         also overviews to list locations.
5026
5027 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5028
5029         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5030         msgdb path.
5031
5032         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5033
5034 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5035
5036         * elmo-util.el (elmo-read-search-condition-internal): Give default
5037         value for date.
5038
5039 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5040
5041         * elmo-util.el (elmo-condition-parse-search-value): Accept
5042         YYYY-MM-DD format to search.
5043         * elmo-date.el (elmo-date-get-datevec): Likewise.
5044
5045 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5046
5047         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5048         debugging code.
5049
5050 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5051
5052         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5053         from t.
5054
5055         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5056
5057         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5058         case from `elmo-folder-exists-p'.
5059         (elmo-folder-exists-p): Removed.
5060         (elmo-folder-creatable-p) Ditto.
5061
5062         * elmo-net.el (elmo-folder-create): Defined.
5063         (elmo-folder-create-unplugged): New function.
5064         (elmo-folder-exists-p): Changed default value to nil from t.
5065
5066         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5067         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5068
5069         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5070         `elmo-create-folder-dop' and append queue
5071         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5072         (elmo-folder-create-dop-delayed): New function.
5073
5074         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5075
5076         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5077
5078         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5079         (elmo-folder-writable-p) : Ditto.
5080
5081         * elmo-version.el (elmo-version): Up to 2.9.9.
5082
5083 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5084
5085         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5086         `elmo-message-use-cache-p' returns nil.
5087         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5088         (ignore cache file and refer the substance in local folders)
5089
5090 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5091
5092         * elmo-version.el (elmo-version): Up to 2.9.8.
5093
5094 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5095
5096         * elmo-version.el (elmo-version): Up to 2.9.7.
5097
5098         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5099
5100 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5101
5102         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5103
5104 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5105
5106         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5107         from --early.
5108         (elmo-map-folder-list-message-locations): Reverse location list.
5109
5110 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5111
5112         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5113
5114 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5115
5116         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5117         as a key.
5118         (elmo-nntp-folder-list-subfolders): Follow the change above.
5119
5120 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5121
5122         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5123         name if authentication type is specified.
5124
5125 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5126
5127         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5128         variable.
5129         (elmo-default-nntp-stream-type): Ditto.
5130         (elmo-default-pop3-stream-type): Ditto.
5131
5132 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5133
5134         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5135
5136 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5137
5138         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5139         elmo-vars.el.
5140         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5141
5142         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5143         (elmo-maildir-folder-path): Ditto.
5144         (elmo-maildir-list): Ditto (abolished).
5145
5146 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5147
5148         * elmo-version.el (elmo-version): Up to 2.9.6.
5149
5150 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5151
5152         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5153         (elmo-maildir-folder-path): Ditto.
5154         (elmo-msgdb-directory): Ditto.
5155         (elmo-passwd-life-time): Ditto.
5156         (elmo-msgdb-extra-fields): Ditto.
5157         (elmo-enable-disconnected-operation): Ditto.
5158
5159 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5160
5161         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5162         other choices.
5163         (elmo-pop3-default-authenticate-type): Ditto.
5164
5165 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5166
5167         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5168         choices for custom.
5169         (elmo-pop3-default-authenticate-type): Ditto.
5170
5171 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5172
5173         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5174         mailbox to new-folder.
5175
5176 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5177
5178         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5179         less than new, set new as unread.
5180
5181         * elmo-util.el (elmo-string): Don't put text-property if nil.
5182
5183 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5184
5185         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5186         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5187
5188 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5189
5190         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5191         is nil on `completing-read'.
5192
5193 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5194
5195         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5196         for namespace part.
5197         (elmo-imap4-parse-namespace-subr): Ditto.
5198         (elmo-folder-list-subfolders): Append a delimiter when the specified
5199         folder path is a root with namespace and does not end with delimiter.
5200
5201 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5202
5203         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5204         was used.
5205
5206 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5207
5208         * elmo-util.el (elmo-save-buffer): The first argument of message
5209         is a format control string.
5210
5211 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5212
5213         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5214         `elmo-folder-diff').
5215         (elmo-diff-unread): Likewise.
5216
5217 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5218
5219         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5220         is t on `completing-read'.
5221
5222 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5223
5224         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5225         method of target folder with self mark-alist if MARK-ALIST is nil.
5226
5227 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5228
5229         * elmo-version.el (elmo-version): Up to 2.9.5.
5230
5231 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5232
5233         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5234         (elmo-dop-merge-funcs): Remove.
5235
5236 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5237
5238         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5239         Return t if PATH is directory, too.
5240         Use `dolist' instead of while loop.
5241
5242 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5243
5244         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5245         is deleted.
5246
5247 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5248
5249         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5250         return value to t.
5251         (elmo-folder-list-messages-unplugged): Return t if
5252         elmo-enable-disconnected-operation is nil.
5253
5254         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5255         `elmo-folder-list-messages-internal'.
5256
5257 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5258
5259         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5260         Change to looking-at `[23][0-9]+'.
5261         (elmo-network-initialize-session): Use 'error-msg'
5262         * elmo-net.el (elmo-network-open-session): Set unplugged
5263         if elmo-network-initialize-session returns 'elmo-open-err.
5264
5265 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5266
5267         * elmo-version.el (elmo-version): Up to 2.9.4.
5268
5269 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5270
5271         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5272         `elmo-folder-list-messages-internal'.
5273
5274 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5275
5276         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5277         (elmo-message-match-condition): New method.
5278         (elmo-folder-search-fast): New inline function.
5279         (elmo-msgdb-search): Removed.
5280
5281         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5282         target folder if it is unplugged.
5283         (elmo-folder-list-messages-internal): Return t if target folder is
5284         unplugged and itself is persistent; In this case, use list be
5285         searched already.
5286
5287         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5288         (elmo-msgdb-search-internal-primitive): Ditto.
5289         (elmo-msgdb-match-condition): New function.
5290         (elmo-msgdb-match-condition-primitive): Ditto.
5291
5292         * elmo-util.el (elmo-filter-condition-p): New macro.
5293
5294         * elmo-cache.el (elmo-folder-search): Removed.
5295
5296         * elmo-localdir.el (elmo-folder-search): Ditto.
5297
5298         * elmo-maildir.el (elmo-folder-search): Ditto.
5299
5300         * elmo-mark.el (elmo-folder-search): Ditto.
5301
5302         * elmo-nmz.el (elmo-folder-search): Ditto.
5303
5304         * elmo-sendlog.el (elmo-folder-search): Ditto.
5305
5306         * elmo-shimbun.el (elmo-folder-search): Ditto.
5307
5308         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5309         if folder is unplugged.
5310
5311         * elmo-nntp.el (elmo-folder-search): Likewise.
5312         (elmo-nntp-search-internal): New function.
5313
5314         * elmo-version.el (elmo-version): Up to 2.9.3.
5315
5316 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5317
5318         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5319
5320 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5321
5322         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5323
5324 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5325
5326         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5327
5328 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5329
5330         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5331         (elmo-map-folder-list-message-locations): Do drive letter conversion
5332         on Windows environment.
5333         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5334         (elmo-map-message-fetch): Ditto.
5335
5336 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5337
5338         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5339         (elmo-network-initialize-session): Ditto.
5340
5341 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5342
5343         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5344
5345         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5346
5347         * elmo-util.el (elmo-progress-clear): Ditto.
5348
5349         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5350         `DD-Mon-YYYY' type date.
5351
5352 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5353
5354         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5355         `elmo-date-make-sortable-string' instead of
5356         `timezone-make-date-sortable'.
5357
5358         * elmo-date.el (elmo-date-make-sortable-string): Use
5359         `timezone-make-time-string'.
5360
5361 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5362
5363         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5364
5365         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5366         `since'; Fix timezone.
5367
5368         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5369
5370         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5371
5372 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5373
5374         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5375
5376 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5377
5378         * elmo.el (elmo-generic-folder-append-messages): Make
5379         fetch-strategy with `use-cache' as 'maybe. Check return value of
5380         `elmo-message-fetch'.
5381         (elmo-message-fetch): Return return value of
5382         `elmo-message-fetch-with-cache-process'.
5383         (elmo-message-fetch-with-cache-process): Return non-nil if
5384         fetching was succeed. Load cache when fetching was failed and
5385         fetch-strategy-use-cache is 'maybe.
5386
5387         * elmo-util.el (elmo-file-cache-load): New function.
5388
5389         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5390         defun.
5391
5392         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5393         non-nil if fetching was succeed.
5394
5395         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5396
5397         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5398
5399         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5400         (elmo-message-fetch-with-cache-process): Likwise.
5401
5402         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5403
5404         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5405
5406         * elmo-version.el (elmo-version): Up to 2.9.2.
5407
5408 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5409
5410         * elmo.el (elmo-folder-delete): Delete msgdb path.
5411
5412         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5413
5414         * elmo-maildir.el (elmo-folder-delete): Ditto.
5415
5416         * elmo-localdir.el (elmo-folder-delete): Ditto.
5417
5418         * elmo-imap4.el (elmo-folder-delete): Ditto.
5419
5420 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5421
5422         * elmo.el (luna-define-class): Added `biff' slot.
5423
5424         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5425         (elmo-pop3-debug-inhibit-logging): Abolished.
5426         (elmo-network-close-session): Eliminated needless let.
5427         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5428         (elmo-pop3-send-command): Added `no-log' argument.
5429         (elmo-pop3-process-filter): Use `with-current-buffer'.
5430         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5431         if login failure.
5432         (elmo-pop3-auth-apop): Likewise.
5433         (elmo-network-authenticate-session): Likewise.
5434
5435         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5436         if biff folder.
5437
5438         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5439         string to determine protocol.
5440         (elmo-network-session-name-prefix): Abolished.
5441         (elmo-network-session-cache-key): Follow the change above.
5442         (elmo-network-open-session): Ditto.
5443
5444         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5445         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5446
5447         * elmo-version.el (elmo-version): Up to 2.9.1.
5448
5449         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5450         unmatch condition checking.
5451
5452         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5453         condition.
5454
5455 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5456
5457         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5458
5459 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5460
5461         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5462         test for while loop to execute at least one SEARCH command.
5463
5464 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5465
5466         * elmo-version.el (elmo-version): Up to 2.9.0.
5467
5468 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5469
5470         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5471         (elmo-archive-folder-path): Define.
5472         (elmo-folder-initialize): Setup `dir-name' slot.
5473         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5474         Use `dir-name' as prefix of each subfolders.
5475         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5476
5477 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5478
5479         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5480         (elmo-pipe-folder-list-target-messages): New internal function.
5481         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5482         `killed-list'.
5483         (elmo-pipe-folder-copied-list-load): New function.
5484         (elmo-pipe-folder-copied-list-save): Ditto.
5485         (elmo-folder-open-internal): Follow the change above.
5486         (elmo-folder-status): Fixed for copy.
5487
5488 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5489
5490         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5491
5492 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5493
5494         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5495         elmo-copy-file instead of elmo-add-name-to-file.
5496
5497         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5498
5499         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5500         "file://..." index.
5501
5502         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5503         of accept-process-output as 1.
5504         (elmo-pop3-read-contents): Ditto.
5505         (elmo-pop3-read-body): Ditto.
5506
5507 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5508
5509         * elmo-version.el (product-version-as-string): Remove define.
5510
5511 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5512
5513         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5514         (elmo-imap4-copy-messages): Chop number set using
5515         `elmo-imap4-number-set-chop-length'.
5516         (elmo-imap4-set-flag): Ditto.
5517         (elmo-imap4-search-internal-primitive): Ditto.
5518
5519 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5520
5521         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5522         `elmo-folder-make-temp-dir'
5523
5524         * elmo-vars.el (elmo-cache-directory): New variable.
5525         (elmo-cache-dir): Abolished.
5526         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5527
5528         * elmo-version.el (elmo-version): Up to 2.7.7.
5529
5530 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5531
5532         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5533         defcustom; Set default value as t.
5534
5535 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5536
5537         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5538         (ldap-search-program-arguments): Changed default value.
5539         (ldap-search-basic): Accept exit status 4.
5540         (ldap/field-body): Parse options.
5541         (ldap/collect-field): Ditto.
5542         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5543
5544         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5545         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5546         (elmo-imap4-accept-ok): Ditto.
5547         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5548         'notify-bye, only BYE error is reported.
5549         (elmo-folder-exists-p-plugged): Set no-error argument of
5550         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5551
5552         * elmo.el (elmo-imap4-bye-error): Changed message.
5553
5554         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5555         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5556         queues (It causes infinite loop).
5557
5558 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5559
5560         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5561         (RECENT UNSEEN MESSAGES) extension.
5562
5563 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5564
5565         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5566         Check number of overview fields.
5567
5568 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5569
5570         * elmo.el (elmo-folder-confirm-appends): Changed message.
5571         (elmo-folder-confirm-appends): Ditto.
5572
5573         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5574         `with-temp-buffer'.
5575         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5576
5577 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5578
5579         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5580         of elmo-folder-update-threshold is nil, which can be set by
5581         wl-summary-update-confirm-threshold.
5582
5583 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5584
5585         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5586         (elmo-nmz-index-alias-alist): Ditto.
5587         (elmo-map-folder-list-message-locations): Follow the change above.
5588
5589 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5590
5591         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5592
5593         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5594
5595         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5596
5597         * elmo-util.el (elmo-read): Ditto.
5598         (elmo-display-error): Ditto.
5599
5600         * elmo-vars.el (elmo-date-match): Ditto.
5601
5602         * pldap.el (ldap-coding-system): Ditto.
5603
5604         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5605         `elmo-inhibit-number-mapping' as nil.
5606
5607 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5608
5609         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5610         space delimiter for list response.
5611
5612 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5613
5614         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5615
5616 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5617
5618         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5619         (elmo-map-message-fetch): Fix.
5620         * elmo-map.el (elmo-folder-status): Fix for killed.
5621
5622 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5623
5624         * elmo-sendlog.el: New file.
5625         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5626
5627 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5628
5629         * acap.el (acap-logging-out): New buffer local variable.
5630         (acap-close): Set it.
5631         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5632         an error.
5633
5634 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5635
5636         * acap.el (acap-response-bye-p): New function.
5637         (acap-response-bye-message): Ditto.
5638         (acap-wait-for-response): If bye response is received, cause an error.
5639         (acap-parse-response): Make bye response when 'Bye' is received.
5640
5641 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5642
5643         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5644
5645 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5646
5647         * elmo-util.el (elmo-copy-file): Added argument
5648         `ok-if-already-exists'.
5649         (elmo-copy-file): Fixed typo.
5650
5651 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5652
5653         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5654
5655 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5656
5657         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5658
5659 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5660
5661         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5662         to killed-list.
5663
5664 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5665
5666         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5667         (elmo-folder-initialize): Fix for `copy'.
5668         (elmo-pipe-drain): Ditto.
5669         (elmo-folder-open-internal): Ditto.
5670         (elmo-folder-newsgroups): Fix.
5671
5672 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5673
5674         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5675         for each message.
5676
5677         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5678         recent value is returned from imap folder.
5679
5680         * elmo.el (elmo-folder-newsgroups): New generic function.
5681
5682         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5683         (elmo-folder-initialize): Set it.
5684         (elmo-folder-expand-msgdb-path): Use it.
5685         (elmo-folder-newsgroups): Define.
5686
5687         * elmo-filter.el (elmo-folder-newsgroups): Define.
5688
5689         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5690
5691         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5692
5693         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5694
5695 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5696
5697         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5698         user option.
5699         (elmo-shimbun-header-extra-field): New inline function.
5700         (elmo-shimbun-header-set-extra-field): Ditto.
5701         (elmo-shimbun-folder-header-hash-setup): Ditto.
5702         (elmo-shimbun-update-overview): Ditto.
5703         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5704         (elmo-shimbun-folder-setup): Use
5705         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5706         (elmo-shimbun-get-headers): Ditto.
5707         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5708         Insert `X-Shimbun-Id:' header if extra field is set.
5709         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5710         field's value instead of `shimbun-header-id'.
5711
5712         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5713         inline function.
5714         (elmo-msgdb-overview-entity-set-date): Ditto.
5715         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5716
5717 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5718
5719         * mmimap.el (mmimap-entity-section): Changed body node number from
5720         "0" to "1".
5721
5722 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5723
5724         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5725         `elmo-folder-delete-messages'.
5726
5727         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5728         (elmo-folder-initialize): Changed to expand alias into index path.
5729
5730         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5731         `elmo-mime-insert-header-from-buffer' with 6th arg
5732         `sorted-fields'.
5733
5734 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5735
5736         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5737
5738         * elmo.el (elmo-diff-new): New inline function.
5739         (elmo-diff-unread): Ditto.
5740         (elmo-diff-all): Ditto.
5741
5742         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5743         value from responseb.
5744         (elmo-imap4-folder-diff-plugged): Ditto.
5745         (elmo-imap4-server-diff-async): Added recent argument.
5746         (elmo-server-diff-async): Ditto.
5747         (elmo-imap4-folder-diff-plugged): Ditto.
5748
5749         * elmo-version.el (elmo-version): Up to 2.7.6.
5750
5751 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5752
5753         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5754         in quoted-stirng.
5755
5756 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5757
5758         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5759
5760         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5761
5762         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5763
5764         * elmo-multi.el (elmo-folder-initialize): Ditto.
5765
5766         * elmo-util.el (elmo-parse-token): New function.
5767         (elmo-parse-prefixed-element): Ditto.
5768
5769 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5770
5771         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5772         delete process.
5773         (elmo-imap4-accept-ok): Ditto.
5774
5775 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5776
5777         * mmimap.el (mime-imap-entity-header-string): Don't check first
5778         element of node-id is `0' (Follow last change).
5779
5780 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5781
5782         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5783         assigned irregular node-id to nested multipart section.
5784         (initialize-instance): Followed above change.
5785
5786 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5787
5788         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5789         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5790         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5791         `elmo-shimbun-get-headers');
5792         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5793         visible article on summary exists in headers).
5794         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5795
5796 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5797
5798         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5799         definition.
5800
5801 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5802
5803         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5804
5805 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5806
5807         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5808         header separator into loop condition.
5809
5810 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5811
5812         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5813         Return duplicate folder if it has subfolder.
5814
5815 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5816
5817         * elmo.el (elmo-make-folder): Add folder name error check.
5818
5819         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5820         (elmo-nntp-encode-group-string): New inline function.
5821         (elmo-nntp-decode-group-string): Ditto.
5822         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5823         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5824         Use `not' instead of `null';
5825         Use elmo-nntp-decode-group-string.
5826
5827         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5828
5829         * elmo-version.el (elmo-version): Up to 2.7.5.
5830
5831 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5832
5833         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5834         Hide progress gauge if `elmo-folder-move-messages' exits
5835         nonlocally.
5836
5837 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5838
5839         * elmo-imap4.el (elmo-folder-initialize): Use
5840         `elmo-imap4-encode-folder-string' for folder name.
5841
5842 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5843
5844         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5845         `done'.
5846
5847 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5848
5849         * elmo-util.el (elmo-progress-counter-alist): New internal
5850         variable.
5851         (elmo-progress-counter-value): New macro.
5852         (elmo-progress-counter-all-value): Ditto.
5853         (elmo-progress-counter-format): Ditto.
5854         (elmo-progress-counter-set-value): Ditto.
5855         (elmo-progress-set): New function.
5856         (elmo-progress-clear): Ditto.
5857         (elmo-progress-notify): Ditto.
5858
5859         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5860         counter.
5861
5862         * elmo.el (elmo-generic-folder-append-messages): Call
5863         `elmo-progress-notify'.
5864         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5865
5866         * elmo-archive.el (elmo-folder-append-messages): Call
5867         `elmo-progress-notify'.
5868
5869         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5870
5871         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5872
5873         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5874
5875 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5876
5877         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5878         'Create'.
5879         (elmo-message-encache-dop): Added argument `read'.
5880
5881         * elmo-shimbun.el (elmo-message-encache): Ditto.
5882
5883         * elmo-net.el (elmo-message-encache): Ditto.
5884
5885         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5886         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5887         elmo-imap4-seen-messages.
5888         (elmo-folder-msgdb-create-plugged): Initialize
5889         elmo-imap4-seen-messages;
5890         Set seen mark on elmo-imap4-seen-messages.
5891
5892         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5893
5894         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5895         elmo-folder-append-buffer.
5896         (elmo-folder-encache): Added optional argument `read'.
5897         (elmo-message-encache): Ditto.
5898
5899         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5900
5901         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5902
5903         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5904         if append buffer content succeds.
5905
5906 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5907
5908         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5909         elmo-display-progress.
5910
5911         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5912         Set 4th argument of mime-display-message.
5913         (elmo-mime-display-as-is): Ditto.
5914
5915 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5916
5917         * elmo-nmz.el (toplevel): Require 'mime-edit.
5918         (elmo-nmz-content-type-alist): Abolished.
5919         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5920         content is not a message.
5921         (elmo-map-message-fetch): Changed behavior exept for message content;
5922         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5923         content-type, Add From: and Subject: field.
5924
5925 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5926
5927         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5928         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5929         not a message.
5930
5931 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5932
5933         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5934         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5935
5936         * elmo-archive.el (elmo-folder-writable-p): Defined.
5937
5938         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5939
5940         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5941
5942         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5943
5944         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5945
5946         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5947
5948         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5949
5950         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5951
5952         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5953
5954 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5955
5956         * elmo-util.el (elmo-address-quote-specials): New function;
5957         Renamed from `wl-address-quote-specials'.
5958
5959 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5960
5961         * elmo-version.el (elmo-version): Up to 2.7.4.
5962
5963 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5964
5965         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5966
5967 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5968
5969         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5970         both compile-time and run-time to avoid byte-compile warning.
5971
5972 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5973
5974         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5975
5976 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5977
5978         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5979         option.
5980         (elmo-mime-display-as-is-internal): Use it.
5981
5982         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5983         if `read-passwd' is not defined.
5984
5985 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5986
5987         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5988         by original number.
5989         (elmo-folder-status): Call `elmo-folder-open-internal';
5990         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5991         (elmo-folder-close-internal): Set location-alist as nil.
5992         (elmo-folder-clear): Define.
5993         (elmo-folder-check): Don't set location-alist as nil.
5994
5995         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5996
5997 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5998
5999         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6000         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6001
6002         * mmimap.el (mime-imap-entity::requested): New slot.
6003         (mime-imap-location-fetch-entity-p): New generic function.
6004         (mime-decode-parameters): Define using `defun-maybe'.
6005         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6006         content-type structure.
6007         (mime-entity-body): Return empty body if
6008         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6009
6010         * elmo.el (elmo-message-displaying): New variable.
6011
6012         * elmo-mime.el (elmo-mime-message-display): Bind
6013         elmo-message-displaying as t.
6014
6015         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6016
6017 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6018
6019         * acap.el (acap-open): erase buffer before starting network process.
6020         (acap-store): Rewrite.
6021
6022 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6023
6024         * elmo-imap4.el (elmo-imap4-default-mailbox,
6025         elmo-imap4-default-server
6026         elmo-imap4-default-authenticate-type,
6027         elmo-imap4-default-user,
6028         elmo-imap4-default-port,
6029         elmo-imap4-default-stream-type,
6030         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6031
6032         * elmo-pop3.el (elmo-pop3-default-user,
6033         elmo-pop3-default-server,
6034         elmo-pop3-default-authenticate-type,
6035         elmo-pop3-default-port,
6036         elmo-pop3-default-stream-type,
6037         elmo-pop3-stream-type-alist): Ditto.
6038
6039         * elmo-nntp.el (elmo-nntp-default-server,
6040         elmo-nntp-default-user,
6041         elmo-nntp-default-port,
6042         elmo-nntp-default-stream-type,
6043         elmo-nntp-stream-type-alist): Ditto.
6044
6045         * elmo-vars.el: Follow changes above.
6046         (elmo-setting): New custom group; added 'elmo-setting group to
6047         above variables.
6048
6049         * elmo-version.el (elmo-version): Up to 2.7.3.
6050
6051         * acap.el (acap-parse-response): Don't delete process when BYE
6052         response (It causes hang-up on slow network environment).
6053         (toplevel): Added comment.
6054
6055 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6056
6057         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6058
6059         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6060         parsing NIL.
6061         (acap-parse-return-metadata): Ditto.
6062
6063         * slp.el: New file.
6064         (toplevel): Fixed typo.
6065
6066         * acap.el: New file.
6067         (acap-network-stream-open): Show "Connecting..." message.
6068         (acap-parse-response): Fixed problem for BYE untagged response.
6069         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6070         (toplevel): Added tiny comments.
6071
6072 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6073
6074         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6075         space delimiter for uidl response.
6076
6077 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6078
6079         * elmo-vars.el (elmo-use-semi): Eliminated.
6080
6081         * elmo-util.el (elmo-string-assoc-all): New function.
6082
6083 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6084
6085         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6086         property 'mime-preview-situation for `mime-preview-quit'.
6087
6088 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6089
6090         * elmo.el (elmo-message-fetch-with-cache-process): Call
6091         elmo-message-fetch-internal instead of causing an error when fetch
6092         strategy is 'entire but only 'section cache is available.
6093
6094 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6095
6096         * elmo-version.el (elmo-version): Up to 2.7.2.
6097
6098         * elmo.el (elmo-generic-folder-append-messages): Make
6099         fetch-strategy with `use-cache'.
6100
6101         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6102         (elmo-dop-queue-method-name): New macro.
6103
6104 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6105
6106         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6107         unbalanced parenthesis.
6108
6109 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6110
6111         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6112
6113 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6114
6115         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6116         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6117
6118 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6119
6120         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6121         local variables.
6122
6123 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6124
6125         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6126         (elmo-message-use-cache-p): Define.
6127         (elmo-folder-msgdb-create): Treat cache.
6128
6129 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6130
6131         * elmo-nntp.el (elmo-network-initialize-session): Call
6132         `elmo-nntp-send-mode-reader'.
6133         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6134
6135 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6136
6137         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6138         alist.
6139         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6140         assoc.
6141
6142         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6143         for `elmo-plugged-p'.
6144         (elmo-open-network-stream): Fixed stream-type argument.
6145
6146 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6147
6148         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6149         unknown archive type is specified.
6150
6151 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6152
6153         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6154
6155         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6156         while loading msgdb.
6157
6158         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6159         (elmo-folder-open-internal): Rewrite.
6160
6161 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6162
6163         * elmo-mime.el (elmo-mime-display-as-is-internal):
6164         Adjust buffer-multibyte status.
6165
6166 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6167
6168         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6169         of elmo-condition-find-key.
6170
6171         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6172         (elmo-condition-in-msgdb-p): Ditto.
6173         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6174         argument.
6175
6176 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6177
6178         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6179
6180 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6181
6182         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6183         label for elmo-display-progress.
6184
6185 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6186
6187         * elmo.el (elmo-folder-clear): New method.
6188         (elmo-folder-clear): Define.
6189         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6190
6191         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6192         (elmo-folder-clear): Define.
6193
6194         * elmo-map.el (elmo-folder-clear): Define.
6195
6196         * elmo-version.el (elmo-version): Up to 2.7.1.
6197
6198 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6199
6200         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6201         updates.
6202
6203 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6204
6205         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6206         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6207
6208 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6209
6210         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6211
6212         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6213         and re-written.
6214
6215         * elmo-imap4.el (elmo-folder-initialize): Use
6216         elmo-get-network-stream-type.
6217
6218         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6219
6220         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6221
6222 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6223
6224         * elmo.el (elmo-message-encache): Set unread argument for
6225         elmo-message-fetch.
6226
6227         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6228
6229         * elmo.el (elmo-net-port-info): New method.
6230
6231         * elmo-shimbun.el (elmo-net-port-info): Define.
6232         (elmo-message-encache): Ditto.
6233
6234         * elmo-net.el (elmo-net-port-info): Define as method.
6235
6236         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6237         unplugged status when elmo-enable-disconnected-operation is t.
6238
6239         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6240         of spool folder before checking new number.
6241
6242 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6243
6244         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6245         (elmo-network-setup-session): Ditto.
6246         (elmo-message-fetch-plugged): Ditto.
6247         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6248         (elmo-network-initialize-session): Ditto.
6249         (elmo-pop3-read-response): Abolish 3rd argument.
6250         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6251         (elmo-pop3-read-contents): Ditto.
6252         (elmo-pop3-read-body): Ditto.
6253         (elmo-folder-status): Call elmo-folder-close.
6254         (elmo-pop3-lock): Abolish.
6255         (elmo-pop3-unlock): Ditto.
6256         (elmo-pop3-locked-p): Ditto.
6257         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6258
6259 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6260
6261         * elmo-version.el (elmo-version): Up to 2.7.0.
6262
6263         * elmo-pop3.el (elmo-pop3-debug): New variable.
6264         (elmo-pop3-debug-inhibit-logging): Ditto.
6265         (elmo-pop3-debug): New function.
6266         (elmo-pop3-send-command): Call elmo-pop3-debug.
6267         (elmo-pop3-read-response): Added keep-lock optional argument;
6268         Don't unlock if keep-lock is non-nil.
6269         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6270         (elmo-network-authenticate-session): Bind
6271         elmo-pop3-debug-inhibit-logging as t.
6272         (elmo-network-setup-session): Call elmo-pop3-read-response with
6273         keep-lock argument.
6274         (elmo-pop3-read-msg): Ditto.
6275         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6276         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6277         (elmo-network-initialize-session): Call elmo-pop3-lock.
6278         (elmo-folder-close-internal): Don't clear location-alist slot.
6279         (elmo-folder-check): Clear location-alist slot.
6280
6281 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6282
6283         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6284         (elmo-pop3-send-command): Call elmo-pop3-lock.
6285         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6286         (elmo-pop3-read-contents): Ditto.
6287         (elmo-pop3-lock): New function.
6288         (elmo-pop3-unlock): Ditto.
6289         (elmo-pop3-locked-p): Ditto.
6290         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6291         returns t.
6292
6293 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6294
6295         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6296
6297         * elmo-util.el (elmo-file-field-primitive-condition-match):
6298         New inline function (Don't fetch file content if "first" or "last").
6299         (elmo-file-field-condition-match): Use
6300         elmo-file-field-primitive-condition-match.
6301
6302         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6303         "first".
6304
6305         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6306         (elmo-message-fetch-plugged): Fixed.
6307
6308         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6309
6310 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6311
6312         * elmo.el (elmo-folder-move-messages): Bind
6313         elmo-inhibit-display-retrieval-progress as t while moving messages.
6314
6315         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6316         New variable.
6317         (elmo-inhibit-display-retrieval-progress): Ditto.
6318
6319         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6320         for retrieval progress;
6321         Don't display progress when total buffer size is smaller than
6322         elmo-display-retrieval-progress-threshold.
6323         (elmo-message-fetch-plugged): Don't display progress when
6324         elmo-inhibit-display-retrieval-progress is non-nil.
6325
6326         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6327         for retrieval progress;
6328         Don't display progress when literal size is smaller than
6329         elmo-display-retrieval-progress-threshold.
6330         (elmo-imap4-message-fetch): Don't display progress when
6331         elmo-inhibit-display-retrieval-progress is non-nil.
6332
6333 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6334
6335         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6336         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6337         (elmo-imap4-message-fetch): Likewise.
6338
6339         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6340         (elmo-shimbun-index-range-alist): Ditto.
6341         (elmo-shimbun-use-entire-index): Abolish.
6342         (shimbun-mua-use-entire-index): Ditto.
6343         (elmo-shimbun-folder): Added new slot `range'.
6344         (elmo-folder-initialize): Setup slot `range'.
6345
6346 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6347
6348         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6349         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6350         (elmo-shimbun-get-headers): Use return value of
6351         `shimbun-article-expiration-days'.
6352         (elmo-folder-close-internal): Clean up last-check slot.
6353
6354         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6355         (elmo-pop3-total-size): New variable.
6356         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6357
6358         * elmo.el (elmo-folder-reserve-status-p): New method.
6359
6360         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6361         (elmo-shimbun-use-entire-index): New user option.
6362         (shimbun-elmo-mua): New class.
6363         (shimbun-mua-search-id): Define.
6364         (shimbun-mua-use-entire-index): Ditto.
6365         (elmo-shimbun-folder:last-check): New slot.
6366         (elmo-shimbun-headers-cache-header-list): Abolish.
6367         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6368         (elmo-shimbun-headers-cache-header-hash): Ditto.
6369         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6370         (elmo-shimbun-headers-cache-last-check): Ditto.
6371         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6372         (elmo-shimbun-headers-check-p): Rewrite.
6373         (elmo-shimbun-msgdb-to-headers): New function.
6374         (elmo-shimbun-get-headers): Rewrite.
6375         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6376         (elmo-folder-open-internal): Get headers only if
6377         `elmo-shimbun-headers-check-p' is non-nil.
6378         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6379         is non-nil.
6380         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6381         (elmo-quit): Removed.
6382
6383         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6384         function.
6385         (elmo-msgdb-overview-entity-set-extra): Ditto.
6386         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6387
6388         * elmo-map.el (elmo-folder-status): Don't call
6389         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6390         is non-nil.
6391
6392 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6393
6394         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6395         of `elmo-msgdb-search-internal-primitive' when condition's car is
6396         `and' or `or'.
6397
6398 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6399
6400         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6401
6402 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6403
6404         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6405         call `elmo-pipe-drain'.
6406
6407 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6408
6409         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6410         typo. (elmo-cache-folder -> elmo-mark-folder)
6411
6412 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6413
6414         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6415         `elmo-message-fetch'.
6416
6417 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6418
6419         * elmo-net.el (elmo-message-encache): Fixed typo.
6420         (elmo-message-fetch-unplugged): Changed call
6421         `elmo-message-fetch-internal' without argument `outbuf'.
6422
6423 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6424
6425         * elmo.el (elmo-message-encache): Define as generic function.
6426         (elmo-message-fetch-field): New generic function.
6427         (elmo-message-fetch-with-cache-process): Cause an error when
6428         fetch strategy is 'entire but only 'section cache is available.
6429         (toplevel): Fixed nmz folder definition.
6430
6431         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6432         (elmo-msgdb-resume-list-filename): Ditto.
6433         (elmo-queue-filename): Ditto.
6434         (elmo-enable-disconnected-operation): Changed default value to t.
6435
6436         * elmo-util.el (elmo-cache-path-section-p): New function.
6437         (elmo-file-cache-get): Use it.
6438         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6439         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6440         (elmo-dop-queue-save): Ditto.
6441
6442         * elmo-net.el (elmo-folder-status-unplugged): Call
6443         elmo-folder-status-dop.
6444         (elmo-folder-list-messages-unplugged): Implemented.
6445         (elmo-folder-delete-messages-unplugged): Define.
6446         (elmo-folder-msgdb-create): Define.
6447         (elmo-folder-msgdb-create-unplugged): Define.
6448         (elmo-folder-mark-as-read-unplugged): Ditto.
6449         (elmo-folder-unmark-read-unplugged): Ditto.
6450         (elmo-folder-mark-as-important-unplugged): Ditto.
6451         (elmo-folder-unmark-important-unplugged): Ditto.
6452         (elmo-message-encache): Ditto.
6453
6454         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6455         (elmo-dop-queue-save): Ditto.
6456
6457         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6458         `elmo-folder-msgdb-create'.
6459         (elmo-folder-append-buffer): Implemented unplugged operation.
6460         (elmo-folder-append-messages): Call parent method in unplugged status.
6461         (elmo-message-fetch-unplugged): Removed definition.
6462         (elmo-message-fetch-field): Implemented.
6463
6464         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6465         (elmo-dop-folder): Removed variable definition.
6466         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6467         (elmo-dop-queue-flush): Implemented.
6468         (elmo-dop-queue-merge): Removed definition (TODO).
6469         (elmo-dop-spool-folder): New function.
6470         (elmo-dop-spool-folder-append-buffer): Ditto.
6471         (elmo-dop-spool-folder-list-messages): Ditto.
6472         (elmo-dop-list-deleting-messages): Ditto.
6473         (elmo-folder-append-buffer-dop): Ditto.
6474         (elmo-folder-delete-messages-dop): Ditto.
6475         (elmo-message-encache-dop): New inline function.
6476         (elmo-create-folder-dop): Ditto.
6477         (elmo-folder-mark-as-read-dop): Ditto.
6478         (elmo-folder-unmark-read-dop): Ditto.
6479         (elmo-folder-mark-as-important-dop): Ditto.
6480         (elmo-folder-unmark-important-dop): Ditto.
6481         (elmo-folder-status-dop): Fixed.
6482         (elmo-folder-append-buffer-dop-delayed): New function.
6483         (elmo-folder-delete-messages-dop-delayed): Ditto.
6484         (elmo-dop-msgdb): Ditto.
6485
6486 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6487
6488         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6489
6490 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6491
6492         * elmo.el (elmo-folder-move-messages): Fixed problem when
6493         `dst-folder' is 'null.
6494
6495 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6496
6497         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6498         instead of current mark.
6499
6500         * elmo-multi.el (elmo-folder-list-importants-internal): No
6501         operation if importants is not list.
6502
6503         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6504         Return t if importants is not list.
6505
6506         * elmo-map.el (elmo-map-folder-list-importants): Define.
6507         (elmo-folder-list-importants-internal): Check return value of
6508         `elmo-map-folder-list-importants-internal'.
6509
6510         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6511
6512         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6513
6514         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6515
6516         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6517
6518 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6519
6520         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6521         (Patch is provided by <kita@coe.nttdata.co.jp>).
6522
6523 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6524
6525         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6526         mark folder.
6527
6528 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6529
6530         * elmo.el (elmo-message-fetch): Define.
6531         (elmo-message-fetch-with-cache-process): New generic method.
6532         (elmo-message-fetch-internal): New generic method.
6533         (elmo-folder-synchronize):
6534
6535         * elmo-archive.el (elmo-message-fetch-internal): Define.
6536         (elmo-message-fetch): Eliminated.
6537
6538         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6539         (elmo-message-fetch): Eliminated.
6540
6541         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6542         argument OUTBUF.
6543         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6544
6545         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6546         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6547
6548         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6549         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6550
6551         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6552
6553         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6554
6555         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6556
6557         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6558         (elmo-message-fetch-unplugged): New generic method.
6559         (elmo-message-fetch-internal): Remove cache process (Renamed from
6560         `elmo-message-fetch').
6561
6562         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6563         (elmo-message-fetch): Eliminated.
6564         (elmo-message-fetch-unplugged): Ditto.
6565
6566         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6567
6568 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6569
6570         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6571         of `to-be-deleted' from number-alist to number-list.
6572
6573 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6574
6575         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6576         (elmo-folder-mark-as-important): Ditto.
6577
6578 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6579
6580         * elmo.el (elmo-folder): Added process-duplicates slot.
6581
6582         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6583         (elmo-folder-unmark-read): Ditto.
6584         (elmo-folder-unmark-important): Ditto.
6585         (elmo-folder-mark-as-important): Ditto.
6586
6587         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6588         duplicated message processing.
6589
6590         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6591
6592 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6593
6594         * elmo-util.el (elmo-list-subdirectories-1): New function.
6595         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6596         (elmo-mapcar-list-of-list): New function.
6597
6598         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6599         `elmo-mapcar-list-of-list' instead of `mapcar'.
6600
6601         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6602
6603         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6604         `elmo-have-link-count'. Return the fully qualified folder name.
6605
6606 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6607
6608         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6609         (elmo-shimbun-headers-cache): New internal variable.
6610         (elmo-shimbun-headers-cache-header-list): New inline function.
6611         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6612         (elmo-shimbun-headers-cache-header-hash): Ditto.
6613         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6614         (elmo-shimbun-headers-cache-last-check): Ditto.
6615         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6616         (elmo-shimbun-lapse-seconds): Ditto.
6617         (elmo-shimbun-headers-cache-check-p): Ditto.
6618         (elmo-shimbun-get-headers): New function.
6619         (elmo-folder-open-internal): Call it.
6620         (elmo-quit): Define (Clear headers-cache).
6621
6622 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6623
6624         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6625
6626         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6627         (elmo-msgdb-flist-save): Ditto.
6628
6629         * elmo-shimbun.el (elmo-folder-list-subfolders):
6630         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6631         (elmo-folder-exists-p): Ditto.
6632
6633         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6634         argument for `shimbun-header-insert'.
6635
6636 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6637
6638         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6639         at first time.
6640
6641         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6642         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6643
6644 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6645
6646         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6647         (elmo-folder-plugged-p): Define.
6648         (elmo-folder-set-plugged): Ditto.
6649         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6650         (elmo-folder-list-messages-internal): Return t if unplugged.
6651         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6652
6653         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6654         when elmo-folder-list-messages-internal method of children returns t.
6655
6656         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6657         pair is nil.
6658         (elmo-folder-open-internal): Don't update if unplugged status.
6659
6660 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6661
6662         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6663         new message.
6664
6665 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6666
6667         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6668
6669         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6670         saving.
6671
6672 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6673
6674         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6675
6676         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6677         (elmo-folder-open-internal): Set up headers slot.
6678         (elmo-folder-check): Call elmo-folder-close-internal and
6679         elmo-folder-open-internal.
6680         (elmo-folder-close-internal): Clean up headers slot.
6681
6682 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6683
6684         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6685         exactly folder list.
6686         (elmo-folder-append-messages): Fixed append archive with prefix.
6687
6688         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6689         make temp files with start-number.
6690
6691         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6692
6693 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6694
6695         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6696         argument `visible-only'.
6697         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6698         instead of `if'.
6699
6700         * elmo-pop3.el (elmo-folder-open-internal): Check
6701         `elmo-inhibit-number-mapping' is non-nil.
6702
6703         * elmo-pipe.el (elmo-folder-status): Fixed.
6704
6705 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6706
6707         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6708
6709         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6710         (elmo-folder-open-internal): Setup `header-hash' slot.
6711         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6712         information.
6713         (elmo-map-message-fetch): Ditto.
6714
6715 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6716
6717         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6718         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6719         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6720         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6721
6722         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6723
6724 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6725
6726         * sb-airs.el: Added footer.
6727
6728         * shimbun.el (shimbun-article): Define as luna-method.
6729
6730         * sb-tcup.el: New file.
6731
6732         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6733         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6734
6735 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6736
6737         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6738         (shimbun-get-headers): Ditto.
6739
6740         * elmo.el: Moved obsolete variable definitions from
6741         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6742
6743         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6744         groups.
6745
6746         * shimbun.el: New file.
6747
6748         * elmo-shimbun.el: New file.
6749
6750         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6751         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6752         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6753         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6754
6755 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6756
6757         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6758         hierarchy is t.
6759
6760 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6761
6762         * elmo.el (elmo-folder-msgdb): Define as macro.
6763         (elmo-folder-open): Added argument `load-msgdb'.
6764         (elmo-generic-folder-open): Ditto.
6765         (elmo-folder-encache): New function.
6766
6767         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6768
6769         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6770
6771         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6772         Eliminated argument FOLDER and added argument MSGDB.
6773         (elmo-dop-queue-load): Moved from elmo-dop.el.
6774         (elmo-dop-queue-save): Ditto.
6775
6776         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6777
6778         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6779
6780         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6781         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6782         (elmo-filter-folder-list-importants-internal): Ditto.
6783
6784         * elmo-map.el (elmo-folder-pack-number): Ditto.
6785
6786         * elmo-mime.el (elmo-mime-message-display): Ditto.
6787
6788         * elmo.el (elmo-generic-folder-commit): Ditto.
6789         (elmo-folder-list-unreads): Ditto.
6790         (elmo-folder-list-importants): Ditto.
6791         (elmo-generic-folder-commit): Ditto.
6792         (elmo-message-set-mark): Ditto.
6793         (elmo-generic-folder-append-msgdb): Ditto.
6794         (elmo-folder-synchronize): Ditto.
6795         (elmo-folder-messages): Ditto.
6796         (elmo-init): Call elmo-dop-queue-load.
6797         (elmo-folder-list-messages): Ditto.
6798
6799         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6800         (elmo-nntp-folder-process-crosspost): Ditto.
6801         (elmo-folder-list-unreads-internal): Ditto.
6802
6803         * elmo-dop.el: Removed old functions.
6804
6805 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6806
6807         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6808         `folder' to `msgdb'.
6809
6810 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6811
6812         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6813         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6814
6815         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6816         case-fold-search.
6817
6818 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6819
6820         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6821         defined.
6822
6823         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6824         (mmimap-parse-parameters-from-list): Define as alias for
6825         `mime-decode-parameter-plist' if it is defined as function.
6826         (mmimap-make-mime-entity): Added argument `number'.
6827         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6828         as 0.
6829         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6830
6831         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6832
6833         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6834
6835         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6836
6837 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6838
6839         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6840
6841         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6842         when elmo-imap4-default-authenticate-type is nil.
6843         (elmo-folder-list-subfolders): Ditto
6844         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6845         (elmo-imap4-fetch-callback-1-subr): Renamed from
6846         `elmo-imap4-fetch-callback-1' and define as inline function.
6847         (elmo-imap4-fetch-callback-1):
6848         Renamed from `elmo-imap4-fetch-callback'.
6849         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6850
6851         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6852         msgdb path (To keep compatibility with main trunk).
6853
6854         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6855
6856         * elmo-util.el (elmo-make-file-cache): Moved position of
6857         some macros.
6858
6859         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6860         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6861         instead of `elmo-pop3-inhibit-uidl'.
6862         (elmo-folder-exists-p): Ditto.
6863         (elmo-pop3-folder-list-messages): Ditto.
6864
6865         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6866         instead of `elmo-pop3-inhibit-uidl'.
6867         (elmo-folder-status): Ditto.
6868
6869         * elmo-dop.el (elmo-dop-folder): New variable.
6870         (elmo-dop-lock-message): Eliminated.
6871         (elmo-dop-unlock-message): Ditto.
6872         (elmo-dop-lock-list-load): Ditto.
6873         (elmo-dop-lock-list-save): Ditto.
6874         (elmo-dop-delete-folder): Ditto.
6875         (elmo-dop-rename-folder): Ditto.
6876
6877         * elmo.el: Removed incomplete commentary.
6878
6879 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6880
6881         * elmo.el (toplevel): Require 'elmo-version first;
6882         for little `recursive-load-depth' settings.
6883         Fix "ends here" comment.
6884
6885 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6886
6887         * elmo-util.el (toplevel): Require 'poem;
6888         Some functions are moved from elmo-cache.el.
6889
6890         * elmo-net.el (toplevel): Require 'elmo-cache.
6891
6892         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6893
6894         * elmo.el (toplevel): Ditto.
6895
6896         * elmo-cache.el: Rewrite with luna;
6897         Some functions are moved to elmo-util.el.
6898
6899         * elmo-internal.el (elmo-internal-folder-list): New variable.
6900         (elmo-internal-folder-initialize): Rewrite.
6901         (elmo-folder-list-subfolders): Ditto.
6902
6903         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6904         (elmo-cache-collect-sub-directories): Ditto.
6905
6906 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6907
6908         * elmo-version.el (elmo-version): Up to 2.5.8.
6909
6910         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6911
6912         * elmo-util.el (elmo-list-insert): New function.
6913
6914 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6915
6916         * elmo.el (elmo-init): New function.
6917         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6918
6919         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6920         (Renamed from `elmo-localdir-header-chop-length').
6921
6922         * elmo-pop3.el (elmo-pop3-use-cache,
6923         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6924
6925         * elmo-nntp.el (elmo-message-fetch): Define.
6926         (elmo-message-fetch-unplugged): Ditto.
6927         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6928         (elmo-nntp-use-cache): Ditto.
6929         (elmo-nntp-max-number-precedes-list-active): Ditto.
6930
6931         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6932
6933         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6934         `elmo-msgdb-insert-file-header'.
6935         Use `elmo-msgdb-file-header-chop-length'.
6936
6937         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6938         `elmo-vars.el'.
6939
6940         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6941         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6942         `elmo-msgdb-insert-file-header'.
6943
6944         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6945         Use new variable;
6946         Define obsolete variables with `elmo-define-obsolete-variable',
6947
6948         * elmo-util.el (elmo-warning-buffer-name): New constant.
6949         (elmo-warning): New function.
6950         (elmo-obsolete-variable-alist): New variable.
6951         (elmo-obsolete-variable-show-warnings): New variable.
6952         (elmo-define-obsolete-variable): New function.
6953         (elmo-resque-obsolete-variable): Ditto.
6954         (elmo-resque-obsolete-variables): Ditto.
6955
6956 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6957
6958         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6959         Eliminated.
6960
6961         * elmo-pop3.el, elmo-nntp.el: Use custom.
6962
6963 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6964
6965         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6966         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6967
6968 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6969
6970         * Luna-fy Kenichi OKADA's following changes.
6971         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6972         `nohide'.
6973         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6974
6975 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6976
6977         * elmo-util.el (elmo-display-progress): Prefer
6978         `progress-feedback-with-label' to `lprogress-display'.
6979
6980 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6981
6982         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6983
6984 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6985
6986         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6987         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6988         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6989         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6990         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6991         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6992         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6993         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6994         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6995         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6996         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6997         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6998         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6999
7000 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7001
7002         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7003         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7004
7005 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7006
7007         * elmo.el (elmo-folder-process-crosspost): New generic method.
7008         (elmo-folder-writable-p): Ditto.
7009         (elmo-folder-message-appendable-p): Eliminated.
7010         (elmo-generic-folder-append-msgdb): Rewrite.
7011         (elmo-newsgroups-hashtb): New internal variable.
7012         (elmo-crosspost-message-set): Eliminated.
7013         (elmo-crosspost-message-delete): Ditto.
7014         (elmo-setup-subscribed-newsgroups): New function.
7015         (elmo-crosspost-message-alist-modified): New internal variable.
7016         (elmo-crosspost-message-alist-load): New function (Renamed from
7017         `wl-crosspost-alist-load').
7018         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7019         `wl-crosspost-alist-save').
7020
7021         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7022
7023         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7024         `unreads'.
7025         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7026         elmo-newsgroups-hashtb).
7027         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7028         `elmo-nntp-folder-update-crosspost-message-alist'.
7029         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7030         `elmo-nntp-groups-hashtb'.
7031         (elmo-nntp-make-groups-hashtb): Eliminated.
7032         (elmo-nntp-parse-newsgroups): New function (Renamed from
7033         `wl-parse-newsgroups').
7034         (elmo-folder-creatable-p, elmo-folder-writable-p,
7035         elmo-folder-close-internal, elmo-folder-mark-as-read,
7036         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7037         Define.
7038         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7039
7040         * elmo-net.el (elmo-message-fetch): Check buffer size.
7041
7042         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7043
7044         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7045
7046         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7047         before `close' command.
7048
7049         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7050         `mark-alist' (All other related portions are changed).
7051
7052 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7053
7054         * elmo-util.el (elmo-create-hash-size): Eliminated.
7055         (elmo-make-hash) Make a hash with `one less than a power of two'
7056         length.
7057
7058         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7059         (elmo-hash-maximum-size): Changed value.
7060
7061 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7062
7063         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7064         (elmo-mime-message-display-as-is): Ditto.
7065
7066 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7067
7068         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7069         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7070
7071 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7072
7073         * elmo-mark.el: New file.
7074
7075         * elmo-internal.el: Rewrite (Almost empty).
7076
7077 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7078
7079         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7080         (mime-imap-entity-header-string): Ditto.
7081         (mmimap-entity-section): Rewrite.
7082
7083 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7084
7085         * elmo-nmz.el: New file.
7086
7087         * elmo-pipe.el: Rewrite with luna.
7088
7089 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7090
7091         * elmo-archive.el: Rewrite with luna.
7092
7093         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7094         (elmo-folder-list-importants-internal): Ditto.
7095
7096 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7097
7098         * elmo-archive.el (elmo-archive-version): Abolish.
7099         (toplevel) Removed `boso' comment.
7100
7101 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7102
7103         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7104         elmo-msgdb-add-msgs-to-seen-list-subr;
7105         Changed argument seen-marks to unread-marks.
7106
7107         * elmo-nntp.el: Rewrite with luna.
7108
7109 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7110
7111         * elmo-filter.el: Rewrite with luna.
7112
7113 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7114
7115         * elmo-pop3.el: Rewrite with luna.
7116
7117 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7118
7119         * elmo-multi.el: Rewrite with luna.
7120
7121         * elmo-vars.el (elmo-use-killed-list): Abolish.
7122         All other related portions are changed.
7123         (elmo-filename-replace-string-alist): Renamed from
7124         elmo-msgid-replace-string-alist.
7125
7126 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7127
7128         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7129
7130         * elmo-map.el: New file.
7131         * elmo-maildir.el: Rewrite with luna.
7132
7133 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7134
7135         * elmo.el: Changed meaning of `elmo-folder-commit'.
7136         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7137
7138 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7139
7140         * elmo.el (elmo-folder-append-buffer): New function.
7141         (Renamed from `elmo-append-msg')
7142
7143 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7144
7145         * elmo-mime.el: New file.
7146
7147 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7148
7149         * elmo-cache.el: Rewrite.
7150
7151 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7152
7153         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7154
7155 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7156
7157         * elmo-vars.el (elmo): New group.
7158         (elmo-strict-diff-folder-regexp): New variable.
7159
7160         * elmo-util.el (elmo-call-func): Abolish.
7161         (elmo-folder-get-type): Ditto.
7162         (elmo-*-get-spec): Ditto.
7163         (elmo-*-spec-*): Ditto.
7164         (elmo-imap4-identical-name-space-p): Ditto.
7165         (elmo-folder-identical-system-p): Ditto.
7166         (elmo-folder-direct-copy-alist): Ditto.
7167         (elmo-folder-direct-copy-p): Ditto.
7168
7169         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7170         (elmo-folder-initialize): Define.
7171         (elmo-folder-get-primitive-list): Ditto.
7172
7173         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7174         (elmo-folder-initialize): Define.
7175         Renamed `elmo-network-session-host-internal' to
7176         `elmo-network-session-server-internal'.
7177
7178         * elmo-multi.el (elmo-multi-folder): New luna class.
7179         (elmo-folder-initialize): Define.
7180         (elmo-folder-get-primitive-list): Ditto.
7181         (elmo-folder-contains-type): Ditto.
7182         (elmo-message-use-cache-p): Ditto.
7183
7184         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7185         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7186
7187         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7188         (elmo-folder-initialize): Define.
7189
7190         * elmo-filter.el (elmo-filter-folder): New luna class.
7191         (elmo-folder-initialize): Define.
7192         (elmo-folder-get-primitive-list): Ditto.
7193         (elmo-folder-contains-type): Ditto.
7194
7195 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7196
7197         * elmo-imap4.el: Rewrite with luna.
7198
7199         * mmimap.el: New file.
7200
7201         * mmelmo.el, mmelmo-imap4.el: Removed.
7202
7203         * elmo-net.el: Ditto.
7204
7205         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7206         (elmo-folder-initialize): Define.
7207
7208         * elmo-archive.el (elmo-archive-folder): New luna class.
7209         (elmo-folder-initialize): Define.
7210
7211         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7212         `elmo-folder-msgdb-path'.
7213         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7214         `elmo-make-folder'.
7215
7216 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7217
7218         * elmo.el: New file.
7219
7220         * elmo2.el: Renamed to elmo.el.
7221
7222 \f
7223 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7224
7225         * elmo-cache.el (elmo-cache-expire-by-size): Count
7226         a disk usage for a cache file entry in KB even when
7227         its kind is a directory.
7228
7229 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7230
7231         * elmo-version.el (elmo-version): Up to 2.5.7.
7232
7233 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7234
7235         * elmo-version.el (elmo-version): Up to 2.5.6.
7236
7237 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7238
7239         * elmo-version.el (elmo-version): Up to 2.5.5.
7240
7241 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7242
7243         * elmo-imap4.el (elmo-network-authenticate-session):
7244         Fixed a logic for response checking.
7245
7246 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7247
7248         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7249         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7250         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7251         `sasl-mechanisms'.
7252
7253         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7254         for `starttls-open-stream' and `starttls-negotiate'.
7255
7256         * elmo-nntp.el: Remove autoload settings for
7257         `starttls-open-stream' and `starttls-negotiate'.
7258
7259         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7260         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7261         `luna-define-class' with `eval-and-compile'.
7262
7263 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7264
7265         * elmo-util.el (elmo-read-search-condition-internal):
7266         Require an element of table for searching field.
7267
7268 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7269
7270         * elmo-version.el (elmo-version): Up to 2.5.4.
7271
7272 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7273
7274         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7275
7276 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7277
7278         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7279
7280 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7281
7282         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7283         before greeting.
7284
7285 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7286
7287         * elmo-imap4.el (elmo-imap4-delete-folder):
7288         Send "close" before "delete" (Use commented out line).
7289         (elmo-imap4-rename-folder): Ditto.
7290
7291         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7292         folder string itself.
7293         (elmo-dop-list-deleted): New function.
7294         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7295         killed.
7296
7297         * elmo-util.el (elmo-string-rassoc-all): New function.
7298
7299 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7300
7301         * elmo-version.el (elmo-version): Up to 2.5.3.
7302
7303         * elmo-net.el (elmo-network-get-session): Changed logic for
7304         checking process status.
7305
7306         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7307         process is nil;
7308         Changed logic for checking process status.
7309
7310 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7311
7312         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7313         before greeting.
7314         (elmo-network-setup-session): Set UIDL hash size according to
7315         the length of list response.
7316         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7317         according to the length of list response;
7318         Return the length of list response.
7319         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7320
7321 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7322
7323         * elmo-imap4.el (toplevel): Require 'ssl.
7324         Add autoload 'starttls.
7325         * elmo-pop3.el (toplevel): Ditto.
7326         * elmo-nntp.el (toplevel): Ditto.
7327
7328 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7329
7330         * elmo-imap4.el (toplevel): defun at compile time.
7331         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7332         sasl-next-step, sasl-step-data, sasl-step-set-data.
7333         * elmo-pop3.el (toplevel): Ditto.
7334
7335 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7336
7337         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7338
7339 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7340
7341         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7342         if error.
7343         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7344         and `elmo-pop-auth-apop'.
7345
7346 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7347
7348         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7349
7350 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7351
7352         * elmo-pop3.el (elmo-network-authenticate-session): Split
7353         encoded response value.
7354
7355 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7356
7357         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7358         `elmo-pop3-force-login'.
7359         Redefine `sasl-mechanisms'.
7360         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7361
7362 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7363
7364         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7365         Delete `elmo-imap4-authenticator-alist'.
7366         (elmo-imap4-auth-cram-md5): Delete.
7367         (elmo-imap4-auth-digest-md5): Delete.
7368
7369 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7370
7371         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7372         (elmo-pop3-auth-scram-md5): Ditto.
7373         (elmo-pop3-auth-cram-md5): Ditto.
7374
7375 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7376
7377         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7378         Delete `elmo-pop3-authenticator-alist'.
7379
7380 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7381
7382         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7383         new SASL API.
7384         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7385
7386 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7387
7388         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7389
7390 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7391
7392         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7393         Fixed problem when `elmo-pop3-use-uidl' is nil.
7394         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7395
7396 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7397
7398         * elmo-version.el (elmo-version): Up to 2.5.2.
7399
7400 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7401
7402         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7403         New function.
7404         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7405         (elmo-pop3-msgdb-create-as-numlist): Use it.
7406
7407         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7408         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7409
7410         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7411         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7412
7413 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7414
7415         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7416         when elmo-mark-as-read is called with second argument nil.
7417
7418 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7419
7420         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7421         Moved to elmo-util.el.
7422
7423         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7424         Moved from elmo-pipe.el
7425
7426         * elmo-archive.el (elmo-archive-call-process): Enclose with
7427         static-if.
7428
7429         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7430         "RFC822" (because RFC822.PEEK is obsolete).
7431         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7432
7433 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7434
7435         * elmo-archive.el (elmo-archive-call-process): Don't check for
7436         the exit status when Nemacs is running.
7437
7438 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7439
7440         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7441         'plain.
7442
7443         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7444         (elmo-pop3-get-spec): Set default of auth to 'user.
7445
7446         * elmo-imap4.el (elmo-imap4-session-check):
7447         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7448         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7449         (elmo-imap4-auth-login): New function; Revival.
7450         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7451         `elmo-imap4-auth-login'.
7452
7453 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7454
7455         * elmo2.el (toplevel): Move `product-provide' declare.
7456         * mmelmo.el (toplevel): Ditto.
7457
7458 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7459
7460         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7461
7462 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7463
7464         * elmo-util.el (elmo-folder-get-store-type): New function.
7465         (elmo-folder-direct-copy-p): Use it.
7466
7467 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7468
7469         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7470         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7471         and result of `elmo-imap4-use-flag-p'.
7472         (elmo-imap4-fetch-callback-1): Set mark according to
7473         the result of `elmo-imap4-use-flag-p'.
7474
7475 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7476
7477         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7478         (elmo-generic-list-folder-unread): Ditto.
7479         (elmo-folder-get-info): Ditto.
7480         (elmo-folder-set-info-max-by-numdb): Ditto.
7481         (elmo-folder-get-info-max): Ditto.
7482         (elmo-folder-get-info-length): Ditto.
7483         (elmo-folder-get-info-unread): Ditto.
7484         (elmo-folder-info-make-hashtb): Ditto.
7485
7486         * elmo2.el: Removed above functions.
7487
7488 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7489
7490         * elmo-imap4.el (toplevel): Require 'ssl.
7491         Add autoload 'starttls.
7492         * elmo-pop3.el (toplevel): Ditto.
7493         * elmo-nntp.el (toplevel): Ditto.
7494
7495 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7496
7497         * elmo-imap4.el (toplevel): defun at compile time.
7498         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7499         sasl-next-step, sasl-step-data, sasl-step-set-data.
7500         * elmo-pop3.el (toplevel): Ditto.
7501
7502 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7503
7504         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7505
7506 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7507
7508         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7509         if error.
7510         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7511         and `elmo-pop-auth-apop'.
7512
7513 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7514
7515         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7516
7517 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7518
7519         * elmo-pop3.el (elmo-network-authenticate-session): Split
7520         encoded response value.
7521
7522 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7523
7524         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7525         `elmo-pop3-force-login'.
7526         Redefine `sasl-mechanisms'.
7527         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7528
7529 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7530
7531         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7532         Delete `elmo-imap4-authenticator-alist'.
7533         (elmo-imap4-auth-cram-md5): Delete.
7534         (elmo-imap4-auth-digest-md5): Delete.
7535
7536 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7537
7538         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7539         (elmo-pop3-auth-scram-md5): Ditto.
7540         (elmo-pop3-auth-cram-md5): Ditto.
7541
7542 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7543
7544         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7545         Delete `elmo-pop3-authenticator-alist'.
7546
7547 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7548
7549         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7550         new SASL API.
7551         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7552
7553 \f
7554 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7555
7556         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7557
7558 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7559
7560         * elmo-nntp.el (elmo-nntp-get-folders-info):
7561         Fixed problem when '\' character is contained in user-id.
7562         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7563
7564 \f
7565 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7566
7567         * elmo-imap4.el (elmo-imap4-delete-folder):
7568         Send "close" before "delete" (Use commented out line).
7569         (elmo-imap4-rename-folder): Ditto.
7570
7571         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7572         folder string itself.
7573         (elmo-dop-list-deleted): New function.
7574         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7575         killed.
7576
7577         * elmo-util.el (elmo-string-rassoc-all): New function.
7578
7579         * elmo-version.el (elmo-version): Up to 2.5.1.
7580
7581 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7582
7583         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7584
7585         * elmo-internal.el (elmo-internal-search): Fix last change.
7586
7587 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7588
7589         * elmo-internal.el (elmo-internal-search): Rewrite.
7590         (Fixed problem which is pointed out by Akihiro MOTOKI
7591         <motoki@da.jp.nec.com>)
7592
7593         * elmo-version.el (elmo-version): Up to 2.5.0.
7594
7595 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7596
7597         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7598
7599 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7600
7601         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7602         non-nil, make hierarchy.
7603
7604 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7605
7606         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7607         `elmo-pop3-use-uidl' must be bound to nil.
7608         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7609
7610 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7611
7612         * elmo-util.el (elmo-copy-file): Don't cause an error after
7613         `add-name-to-file' failed.
7614
7615         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7616         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7617
7618 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7619
7620         * elmo-version.el (elmo-version): Up to 2.3.93.
7621
7622 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7623
7624         * elmo-util.el (elmo-flatten): New function.
7625
7626 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7627
7628         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7629         sync Author header.
7630         * elmo-cache.el (toplevel): Ditto.
7631         * elmo-database.el (toplevel): Ditto.
7632         * elmo-date.el (toplevel): Ditto.
7633         * elmo-dop.el (toplevel): Ditto.
7634         * elmo-filter.el (toplevel): Ditto.
7635         * elmo-imap4.el (toplevel): Ditto.
7636         * elmo-internal.el (toplevel): Ditto.
7637         * elmo-localdir.el (toplevel): Ditto.
7638         * elmo-localnews.el (toplevel): Ditto.
7639         * elmo-maildir.el (toplevel): Ditto.
7640         * elmo-msgdb.el (toplevel): Ditto.
7641         * elmo-multi.el (toplevel): Ditto.
7642         * elmo-net.el (toplevel): Ditto.
7643         * elmo-nntp.el (toplevel): Ditto.
7644         * elmo-pipe.el (toplevel): Ditto.
7645         * elmo-pop3.el (toplevel): Ditto.
7646         * elmo-util.el (toplevel): Ditto.
7647         * elmo-vars.el (toplevel): Ditto.
7648         * elmo2.el (toplevel): Ditto.
7649         * mmelmo-imap4.el (toplevel): Ditto.
7650         * mmelmo.el (toplevel): Ditto.
7651
7652         * elmo-version.el (elmo-version): Move to top.
7653
7654         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7655         * elmo-imap4.el (toplevel): Ditto.
7656         * elmo-localdir.el (toplevel): Ditto.
7657         * elmo-msgdb.el (toplevel): Ditto.
7658         * elmo-nntp.el (toplevel): Ditto.
7659         * elmo-pop3.el (toplevel): Ditto.
7660         * elmo-version.el (toplevel): Ditto.
7661
7662         * elmo-localnews.el (toplevel): Added Keyword header.
7663
7664 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7665
7666         * elmo-version.el (product-version-as-string): Defined using
7667         `defun-maybe'.
7668         (toplevel): Use it.
7669
7670         * elmo-localdir.el (toplevel): Updated copyright notice.
7671         * elmo-version.el (toplevel): Ditto.
7672         * elmo-msgdb.el (toplevel): Ditto.
7673         * elmo-imap4.el (toplevel): Ditto.
7674         * elmo-nntp.el (toplevel): Ditto.
7675         * elmo-pop3.el (toplevel): Ditto.
7676
7677 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7678
7679         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7680         messages.
7681
7682         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7683         parameter value (It sometimes contains raw kanji).
7684
7685 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7686
7687         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7688         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7689
7690 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7691
7692         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7693
7694 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7695
7696         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7697         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7698
7699 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7700
7701         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7702         value if selecting folder succceeded.
7703         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7704
7705 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7706
7707         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7708         representation.
7709
7710         * elmo-util.el (elmo-string-matched-member): New function.
7711
7712 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7713
7714         * elmo-util.el (elmo-unintern): New macro.
7715         (elmo-number-set-member): Fixed docstring.
7716
7717         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7718         tag token.
7719
7720 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7721
7722         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7723         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7724
7725 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7726
7727         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7728         `no-error'.
7729         Added docstring.
7730         Return non-nil if selecting folder succeeded.
7731         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7732
7733 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7734
7735         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7736         `file-name-completion' returns t.
7737         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7738         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7739         directory if it does not exist.
7740         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7741         for iteration.
7742
7743 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7744
7745         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7746         enclosure (It's harmful in unplugged status).
7747
7748         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7749
7750         * mmelmo-1.el: Removed.
7751
7752         * mmelmo-2.el: Ditto.
7753
7754         * mmelmo-imap4-1.el: Ditto.
7755
7756         * mmelmo-imap4-2.el: Ditto.
7757
7758         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7759
7760         * mmelmo.el: Merged mmelmo-2.el.
7761
7762         * elmo-version.el (elmo-version): Up to 2.3.92.
7763
7764 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7765
7766         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7767         elmo-update-number): Remove last period in "...done." message.
7768         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7769         Ditto.
7770         * elmo-cache.el (elmo-cache-expire-by-size,
7771         elmo-cache-get-sorted-cache-file-list,
7772         elmo-cache-msgdb-create-as-numlist): Ditto.
7773         * elmo-dop.el (elmo-dop-save-pending-messages,
7774         (elmo-dop-flush-pending-append-operations): Ditto.
7775         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7776         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7777         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7778         (elmo-localdir-pack-number): Ditto.
7779         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7780         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7781         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7782         mime-write-entity-content): Ditto.
7783         * pldap.el (ldap-search-basic): Ditto.
7784
7785 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7786
7787         * elmo-version.el (elmo-version): Up to 2.3.91.
7788
7789         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7790         Only when filter is 'last'.
7791
7792         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7793         (elmo-condition-parse-search-value): Use it.
7794         (elmo-read-search-condition-internal): Quote value only when
7795         it is not an atom.
7796
7797 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7798
7799         * elmo2.el (elmo-generic-folder-diff): Fix.
7800
7801 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7802
7803         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7804         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7805         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7806         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7807         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7808         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7809
7810 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7811
7812         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7813         extra-fields.
7814
7815 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7816
7817         * elmo-version.el (elmo-version): Up to 2.3.90.
7818
7819         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7820         (elmo-imap4-list-folder-important): Ditto.
7821
7822 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7823
7824         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7825
7826 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7827
7828         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7829
7830 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7831
7832         * elmo-nntp.el (elmo-network-initialize-session):
7833         Add starttls negotiation.
7834
7835 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7836
7837         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7838         response.
7839         (elmo-network-setup-session): Define.
7840         Call `elmo-nntp-send-mode-reader' when session opened.
7841
7842 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7843
7844         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7845
7846 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7847
7848         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7849         an invalid SPACE character ahead of `SEARCH' command.  Move
7850         a valid SPACE character following `SEARCH' from conditional
7851         `format' arguments to control-strings.
7852
7853 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7854
7855         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7856         was succeeded.
7857
7858         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7859
7860 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7861
7862         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7863         `w32-get-true-file-link-count' as t.
7864
7865         * elmo-imap4.el (elmo-imap4-read): Abolished.
7866         (Renamed to `elmo-read' and moved to elmo-util.el)
7867         All other related portions are changed.
7868
7869         * elmo-util.el (elmo-read): New function.
7870         (elmo-condition-parse-search-value): Use it.
7871
7872 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7873
7874         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7875
7876         * elmo-nntp.el (elmo-nntp-session): Define.
7877         (elmo-nntp-setting): Abolished.
7878         All other related portions are changed.
7879         (elmo-nntp-get-server-command): Changed argument.
7880         (elmo-nntp-set-server-command): Ditto.
7881         (elmo-nntp-xover-p): Ditto.
7882         (elmo-nntp-set-xover): Ditto.
7883         (elmo-nntp-listgroup-p): Ditto.
7884         (elmo-nntp-set-listgroup): Ditto.
7885         (elmo-nntp-list-active-p): Ditto.
7886         (elmo-nntp-set-list-active): Ditto.
7887         (elmo-nntp-xhdr-p): Ditto.
7888         (elmo-nntp-set-xhdr): Ditto.
7889         (elmo-nntp-flush-connection): Abolished.
7890         (elmo-nntp-get-connection): Abolished.
7891         (elmo-nntp-get-session): New function.
7892         (elmo-network-initialize-session): Defined.
7893         (elmo-network-authenticate-session): Ditto.
7894         (elmo-nntp-send-mode-reader): Changed argument.
7895         (elmo-nntp-send-command): Changed argument.
7896         All other related portions are changed.
7897         (elmo-nntp-read-response): Ditto.
7898         (elmo-nntp-read-raw-response): Ditto.
7899         (elmo-nntp-read-contents): Ditto.
7900         (elmo-nntp-read-body): Ditto.
7901         (elmo-nntp-goto-folder): Abolished.
7902         (elmo-nntp-select-group): New function.
7903         All other related portions are changed.
7904         (This function substitutes `elmo-nntp-goto-folder')
7905         (elmo-nntp-msgdb-create-by-header): Rewrite.
7906         (elmo-nntp-get-overview): Eliminated.
7907         (elmo-nntp-get-message): Ditto.
7908         (elmo-nntp-open-connection) Abolished.
7909         (elmo-nntp-read-msg): Rewrite.
7910         (elmo-nntp-post): Ditto.
7911         (elmo-nntp-send-data): Abolished.
7912         (elmo-nntp-send-buffer): New function.
7913         (elmo-nntp-send-data-line): Define as inline function.
7914         (elmo-nntp-get-folders-info-prepare): Use session as key.
7915         (elmo-nntp-groups-read-response): Changed argument.
7916         (elmo-nntp-retrieve-headers): Ditto.
7917         (elmo-nntp-msgdb-create-message): Ditto.
7918
7919         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7920         when searching by 'since' or 'before'.
7921
7922 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7923
7924         * elmo-version.el (toplevel): Use product-version-as-string for set
7925         verstion-string, if defined.
7926
7927 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7928
7929         * elmo-util.el: Doc fixes.
7930
7931 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7932
7933         * elmo-archive.el (toplevel): Use product-provide.
7934         * elmo-cache.el (toplevel): Ditto.
7935         * elmo-database.el (toplevel): Ditto.
7936         * elmo-date.el (toplevel): Ditto.
7937         * elmo-dop.el (toplevel): Ditto.
7938         * elmo-filter.el (toplevel): Ditto.
7939         * elmo-imap4.el (toplevel): Ditto.
7940         * elmo-internal.el (toplevel): Ditto.
7941         * elmo-localdir.el (toplevel): Ditto.
7942         * elmo-localnews.el (toplevel): Ditto.
7943         * elmo-maildir.el (toplevel): Ditto.
7944         * elmo-msgdb.el (toplevel): Ditto.
7945         * elmo-multi.el (toplevel): Ditto.
7946         * elmo-net.el (toplevel): Ditto.
7947         * elmo-nntp.el (toplevel): Ditto.
7948         * elmo-pipe.el (toplevel): Ditto.
7949         * elmo-pop3.el (toplevel): Ditto.
7950         * elmo-util.el (toplevel): Ditto.
7951         * elmo-vars.el (toplevel): Ditto.
7952         * elmo2.el (toplevel): Ditto.
7953         * mmelmo-1.el (toplevel): Ditto.
7954         * mmelmo-2.el (toplevel): Ditto.
7955         * mmelmo-imap4-1.el (toplevel): Ditto.
7956         * mmelmo-imap4-2.el (toplevel): Ditto.
7957         * mmelmo-imap4.el (toplevel): Ditto.
7958         * mmelmo.el (toplevel): Ditto.
7959
7960 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7961
7962         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7963         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7964
7965 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7966
7967         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7968         before splitting.
7969         (elmo-multi-split-number-alist): Ditto.
7970
7971 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7972
7973         * elmo-version.el: New file.  Use product.el.
7974         * elmo2.el: Add (require 'elmo-version).
7975         * elmo-vars.el (elmo-appname, elmo-version): Move to
7976         elmo-version.el
7977
7978 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7979
7980         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7981         `elmo-msgdb-expand-path'.
7982         (elmo-msgdb-load): Ditto.
7983         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7984         (elmo-generic-list-folder-unread): Rewrite.
7985         (elmo-generic-list-folder-important): Changed argument.
7986         (elmo-list-folder-unread): Ditto.
7987         (elmo-list-folder-important): Ditto.
7988         (elmo-folder-diff): Rewrite.
7989         (elmo-generic-folder-diff): New function.
7990         (elmo-multi-get-number-alist-list): Abolished
7991         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7992         (elmo-multi-folder-diff): Moved to elmo-multi.el
7993         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7994
7995         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7996         `elmo-msgdb-expand-path'.
7997         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7998         (elmo-pop3-read-msg): Ditto.
7999         (elmo-pop3-delete-msgs): Ditto.
8000         (elmo-pop3-folder-diff): New alias.
8001
8002         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8003         `elmo-msgdb-expand-path'.
8004         (elmo-pipe-list-folder-unread): Changed arguments.
8005         (elmo-pipe-list-folder-important): Ditto.
8006         (elmo-pipe-folder-diff): New alias.
8007
8008         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8009         `elmo-msgdb-expand-path'.
8010         (elmo-nntp-max-of-folder): Ditto.
8011         (elmo-nntp-msgdb-create): Ditto.
8012         (elmo-nntp-delete-msgs): Ditto.
8013         (elmo-nntp-folder-diff): New alias.
8014
8015         * elmo-multi.el (elmo-multi-folder-diff): New function.
8016         (elmo-multi-split-mark-alist): Ditto.
8017         (elmo-multi-split-number-alist): Ditto.
8018         (elmo-multi-mark-alist-list): Abolished (Renamed to
8019         elmo-multi-split-mark-alist).
8020         (elmo-multi-list-folder-unread): Rewrite.
8021         (elmo-multi-list-folder-important): Ditto.
8022         (elmo-multi-list-folder): Set `spec' as 1st argument for
8023         `elmo-msgdb-expand-path'.
8024         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8025         instead of `elmo-multi-get-number-alist-list'.
8026
8027         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8028         If 1st argument is not string, treat as spec.
8029         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8030         `elmo-msgdb-expand-path'.
8031         (elmo-msgdb-flist-load): Ditto.
8032         (elmo-msgdb-flist-save): Ditto.
8033         (elmo-msgdb-delete-path): Ditto.
8034         (elmo-msgdb-rename-path): Ditto.
8035
8036         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8037         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8038         (elmo-maildir-delete-mark-msgs): Ditto.
8039         (elmo-maildir-msgdb-create): Ditto.
8040         (elmo-maildir-read-msg): Ditto.
8041         (elmo-maildir-delete-msgs): Ditto.
8042         (elmo-maildir-list-folder-subr): Ditto.
8043         (elmo-maildir-search): Ditto.
8044         (elmo-maildir-get-msg-filename): Ditto.
8045         (elmo-maildir-pack-number): Ditto.
8046         (elmo-maildir-folder-diff): New alias.
8047
8048         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8049
8050         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8051         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8052         (elmo-localdir-folder-diff): New alias.
8053
8054         * elmo-internal.el (elmo-internal-list-folder-subr):
8055         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8056         (elmo-internal-list-folder-by-location): Ditto.
8057         (elmo-internal-msgdb-create): Ditto.
8058         (elmo-internal-delete-msgs): Ditto.
8059         (elmo-internal-read-msg): Ditto.
8060         (elmo-internal-folder-diff): New alias.
8061
8062         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8063         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8064         `elmo-msgdb-expand-path'.
8065         (elmo-imap4-list-folder-unread): Changed arguments.
8066         (elmo-imap4-list-folder-important): Ditto.
8067
8068         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8069         (elmo-filter-list-folder-important): Ditto.
8070         (elmo-filter-folder-diff): New function.
8071
8072         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8073
8074         * elmo-cache.el (elmo-cache-list-folder):
8075         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8076         (elmo-cache-copy-msgs): Ditto.
8077         (elmo-cache-folder-diff): New alias.
8078
8079         * elmo-archive.el (elmo-archive-list-folder-subr):
8080         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8081         (elmo-archive-get-archive-name): Ditto.
8082         (elmo-archive-create-file): Ditto.
8083         (elmo-archive-append-msg): Ditto.
8084         (elmo-archive-copy-msgs): Ditto.
8085         (elmo-archive-copy-msgs-froms): Ditto.
8086         (elmo-archive-get-msg-filename): Ditto.
8087         (elmo-archive-folder-diff): New alias.
8088
8089 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8090
8091         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8092         (elmo-pop3-stream-type-alist): New variable.
8093         (elmo-nntp-stream-type-alist): New variable.
8094
8095         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8096         (elmo-kill-buffer): Ditto.
8097         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8098         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8099         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8100         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8101         (elmo-imap4-get-spec): Take into account
8102         `elmo-imap4-stream-type-alist'.
8103
8104 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8105
8106         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8107         (elmo-nntp-list-folders-get-cache): Ditto.
8108
8109 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8110
8111         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8112         character before 'uid'.
8113
8114 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8115
8116         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8117
8118         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8119
8120         * elmo-util.el (elmo-number-set-member): New function.
8121         (elmo-number-set-append-list): Ditto.
8122         (elmo-number-set-append): Ditto.
8123
8124         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8125         Use `elmo-number-set-member'.
8126         (elmo-living-messages): Ditto.
8127         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8128         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8129
8130         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8131         (elmo-imap4-add-to-cont-list): Abolished.
8132         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8133         instead of elmo-imap4-add-to-cont-list.
8134
8135         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8136         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8137
8138         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8139
8140 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8141
8142         * elmo-util.el (elmo-condition-parse-search-value):
8143         Fixed date parsing.
8144
8145 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8146
8147         * elmo-util.el (elmo-condition-find-key-internal): New function.
8148         (elmo-condition-find-key): Ditto.
8149
8150         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8151         (elmo-msgdb-search-internal): Ditto.
8152         (elmo-msgdb-search): Ditto.
8153
8154 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8155
8156         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8157         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8158
8159         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8160         (elmo-nntp-search-primitive): Fixed problem when condition is
8161         'unmatch'.
8162
8163         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8164
8165         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8166         (elmo-nntp-xhdr-p): New macro.
8167         (elmo-nntp-set-xhdr): Ditto.
8168         (elmo-nntp-parse-xhdr-response): New function.
8169         (elmo-nntp-retrieve-field): Ditto.
8170         (elmo-nntp-search-primitive): Ditto.
8171         (elmo-nntp-search): Implemented.
8172
8173         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8174
8175         * elmo-archive.el (elmo-archive-search): Set all number list to
8176         `elmo-archive-field-condition-match'
8177
8178         * elmo-localdir.el (elmo-localdir-search): Likewise.
8179
8180         * elmo-maildir.el (elmo-maildir-search): Likewise.
8181
8182 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8183
8184         * elmo-msgdb.el (elmo-living-messages): New function.
8185         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8186         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8187         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8188         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8189         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8190         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8191         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8192         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8193         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8194         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8195         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8196
8197 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8198
8199         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8200
8201         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8202
8203         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8204
8205         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8206         arguments for `SEARCH' command.
8207         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8208         All other related portions are changed.
8209
8210         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8211
8212         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8213         (elmo-list-folder-unread): Rewrite.
8214         (elmo-list-folder-important): Ditto.
8215
8216         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8217         (elmo-condition-parse-error): New inline function.
8218         (elmo-read-search-condition): New function.
8219         (elmo-read-search-condition-internal): Ditto.
8220         (elmo-parse-search-condition): Rewrite.
8221         (elmo-condition-parse): New function.
8222         (elmo-condition-parse-or-expr): Ditto.
8223         (elmo-condition-parse-and-expr): Ditto.
8224         (elmo-condition-parse-primitive): Ditto.
8225         (elmo-condition-parse-search-value): Ditto.
8226         (elmo-buffer-field-primitive-condition-match): Ditto.
8227         (elmo-buffer-field-condition-match): Rewrite.
8228         (elmo-file-field-condition-match): Ditto.
8229
8230         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8231         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8232
8233         * elmo-internal.el (elmo-internal-search): Set `number' and
8234         `number-list' argument of `elmo-file-field-condition-match'.
8235
8236         * elmo-maildir.el (elmo-maildir-search): Ditto.
8237
8238         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8239         `msgdb' as argument instead of `mark-alist'.
8240         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8241         `overview'.
8242
8243         * elmo-multi.el: Likewise.
8244
8245         * elmo-pipe.el: Likewise.
8246
8247         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8248         (elmo-imap4-search-internal): Rewrite.
8249         (elmo-imap4-search): Ditto.
8250
8251         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8252         (elmo-filter-list-folder-unread): Ditto.
8253         (elmo-filter-list-folder-important): Ditto.
8254         (elmo-filter-search): Rewrite.
8255
8256         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8257         `number-list' argument of `elmo-file-field-condition-match'.
8258         (elmo-cache-search): Ditto.
8259
8260         * elmo-localdir.el: Likewise.
8261
8262         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8263         number-list and pass it to `elmo-buffer-field-condition-match'.
8264         (elmo-archive-field-condition-match): Pass `number-list' to
8265         `elmo-archive-field-condition-match'
8266
8267 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8268
8269         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8270         `listgroup'.
8271
8272         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8273         (elmo-folder-diff-async-callback-data): Ditto.
8274         (elmo-folder-diff-async): New function.
8275
8276         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8277         (elmo-network-session-cache-key): Use it as a prefix of the session
8278         name.
8279         (elmo-network-open-session): Ditto.
8280
8281         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8282         (elmo-imap4-status-callback-data): Ditto.
8283         (elmo-imap4-server-diff-async-callback): New variable.
8284         (elmo-imap4-server-diff-async-callback-data): Ditto.
8285         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8286         `elmo-imap4-status-callback-data'.
8287         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8288         `elmo-imap4-status-callback-data' as nil.
8289         (elmo-imap4-server-diff): Ditto.
8290         (elmo-imap4-server-diff-async-callback-1): New function.
8291         (elmo-imap4-server-diff-async): Ditto.
8292         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8293
8294 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8295
8296         * elmo-util.el (elmo-list-delete): Doc fix.
8297         (elmo-delete-lists): Abolish.
8298         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8299         instead of `elmo-delete-lists'.
8300
8301 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8302
8303         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8304         before `sort'.
8305
8306 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8307
8308         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8309         `elmo-imap4-literal-subr'.
8310         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8311         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8312
8313 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8314
8315         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8316         (elmo-archive-list-folder): Fix.
8317         (elmo-archive-max-of-folder): Fix.
8318
8319 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8320
8321         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8322          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8323         (elmo-localdir-append-msg): Ditto.
8324         (elmo-localdir-list-folder): Fix for `nonsort'.
8325         (elmo-localdir-list-folder-subr): Fix for `killed'.
8326         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8327         (elmo-maildir-list-folder-subr): Ditto.
8328         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8329         (elmo-archive-list-folder-subr): Ditto.
8330         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8331         (elmo-internal-list-folder-subr): Ditto.
8332
8333 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8334
8335         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8336
8337 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8338
8339         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8340
8341 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8342
8343         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8344         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8345
8346         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8347         before greeting.
8348         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8349         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8350
8351 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8352
8353         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8354
8355         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8356         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8357         before STORE command.
8358
8359 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8360
8361         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8362
8363         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8364         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8365         of `response'.
8366         (elmo-imap4-list-folders): Removed unused local variable.
8367         (elmo-network-initialize-session): Ditto.
8368         (elmo-imap4-delete-msg-by-id): Ditto.
8369         (elmo-imap4-parse-fetch): Ditto.
8370         (elmo-imap4-copy-msgs): Ditto.
8371         Use `dst-spec' instead of `dst-folder'.
8372         (elmo-network-authenticate-session): Check authenticate type `plain'.
8373
8374 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8375
8376         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8377         garbage checking.
8378         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8379         `elmo-imap4-response-value'.
8380         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8381
8382 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8383
8384         * elmo-imap4.el (elmo-imap4-send-command):
8385         Cause elmo-imap4-bye-error when current response is BYE.
8386         (elmo-imap4-arrival-filter): Changed greeting response value.
8387
8388         * elmo2.el (elmo-imap4-bye-error): Define.
8389
8390         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8391         (elmo-imap4-server-diff): Ditto.
8392         (elmo-imap4-response-bye-p): New macro.
8393         (elmo-imap4-response-error-text): Get text from BYE response.
8394         (elmo-imap4-read-response): Return if BYE response.
8395         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8396         (elmo-imap4-folder-exists-p): Ditto.
8397         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8398         (elmo-imap4-parse-bye): New function.
8399         (elmo-imap4-parse-response): Remove needless let.
8400         Call `elmo-imap4-parse-bye'.
8401
8402 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8403
8404         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8405         the mailbox does not exist.
8406         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8407
8408 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8409
8410         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8411
8412 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8413
8414         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8415
8416         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8417         (elmo-network-initialize-session-buffer): Defined.
8418
8419         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8420         Abolished.
8421         (mmelmo-imap4-get-mime-entity): Rewrite.
8422
8423         * elmo2.el (elmo-error): Capitalize error message.
8424
8425         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8426         (elmo-network-session-buffer): New macro.
8427         (elmo-network-open-session): Use it.
8428
8429         * elmo-imap4.el: Rewrite.
8430
8431 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8432
8433         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8434
8435 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8436
8437         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8438         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8439         (elmo-imap4-create-msgdb-from-overview-string): Use
8440         `elmo-msgdb-create-overview-from-buffer'.
8441
8442 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8443
8444         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8445         (elmo-imap4-default-hierarchy-delimiter): New variable.
8446         (elmo-imap4-list-folders): Use it.
8447
8448 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8449
8450         * elmo-net.el (elmo-network-open-session): Add user and
8451         stream-type for process-buffer name.
8452
8453         * elmo-pop3.el (elmo-network-initialize-session): Call
8454         buffer-disable-undo.
8455
8456         * elmo-imap4.el (elmo-network-initialize-session):
8457         Set current-buffer as an argument for `buffer-disable-undo'.
8458
8459         * elmo-pop3.el (elmo-network-close-session): Don't use
8460         `process-live-p'.
8461
8462         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8463         Set default as 'user.
8464
8465         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8466
8467         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8468         and `elmo-imap4-flush-connection'.
8469
8470         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8471         (elmo-pop3-get-spec): Assume auth as symbol.
8472         (elmo-open-network-stream): Moved to `elmo-net'.
8473
8474         * elmo-pop3.el (toplevel): Require 'elmo-net.
8475         Define `sasl-cram-md5' to silence byte compilier.
8476         (elmo-pop3-connection-cache) Abolished.
8477         (elmo-pop3-authenticator-alist) New variable.
8478         (elmo-pop3-session): Define.
8479         (elmo-pop3-connection-get-process): Abolished.
8480         (elmo-pop3-connection-get-buffer): Ditto.
8481         (elmo-pop3-close-connection): Ditto.
8482         (elmo-pop3-flush-connection): Ditto.
8483         (elmo-pop3-get-connection): Ditto.
8484         (elmo-pop3-get-session): New function.
8485         (Replacement for `elmo-pop3-get-connection').
8486         All other related modules are changed.
8487         (elmo-network-close-session): Define.
8488         (elmo-pop3-send-command): Abolished argument `buffer'.
8489         All other related modules are changed.
8490         (elmo-pop3-read-response): Likewise.
8491         (elmo-pop3-open-connection): Abolished.
8492         (elmo-pop3-auth-user): New function.
8493         (elmo-pop3-auth-apop): Ditto.
8494         (elmo-pop3-auth-cram-md5): Ditto.
8495         (elmo-pop3-auth-scram-md5): Ditto.
8496         (elmo-pop3-auth-digest-md5): Ditto.
8497         (elmo-network-initialize-session): Define.
8498         (elmo-network-authenticate-session): Ditto.
8499         (elmo-network-setup-session): Ditto.
8500
8501         * elmo-imap4.el (toplevel): Require 'elmo-net.
8502         (elmo-imap4-session): Define.
8503         (elmo-imap4-connection-cache): Abolished.
8504         (elmo-imap4-password-key): Ditto.
8505         (elmo-imap4-flush-connection): Ditto.
8506         (elmo-imap4-get-connection): Ditto.
8507         All other related modules are changed.
8508         (elmo-imap4-get-session): New function
8509         (Replacement for `elmo-imap4-get-connection').
8510         (elmo-imap4-read-response): Abolished argument `buffer'.
8511         All other related modules are changed.
8512         (elmo-imap4-send-command): Likewise.
8513         (elmo-imap4-select-folder): Abolished.
8514         All other related modules are changed.
8515         (elmo-imap4-select-mailbox): New function.
8516         (Replacement for `elmo-imap4-select-folder').
8517         (elmo-imap4-auth-login): Simplify.
8518         (Assume current buffer as process buffer)
8519         (elmo-imap4-auth-cram-md5): Ditto.
8520         (elmo-imap4-auth-digest-md5): Ditto.
8521         (elmo-imap4-login): Ditto.
8522         (elmo-imap4-open-connection): Abolished.
8523         (elmo-imap4-open-connection-1): Abolished.
8524         (elmo-network-initialize-sessoin): Define.
8525         (elmo-network-authenticate-session): Ditto.
8526         (elmo-network-setup-session): Ditto.
8527
8528         * elmo-net.el: New module.
8529
8530 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8531
8532         * elmo-util.el (elmo-define-error): New function.
8533
8534         * elmo2.el (elmo-error): Define.
8535         (elmo-open-error): Define.
8536         (elmo-authenticate-error): Define.
8537
8538         * elmo-imap4.el (elmo-imap4-error): Abolish.
8539         (elmo-imap4-error-type): Abolish.
8540         (elmo-imap4-error-process): Abolish.
8541         (elmo-imap4-error-message): Abolish
8542         (elmo-imap4-list-folders): Don't quote lambda.
8543         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8544         (elmo-imap4-parse-namespace): Ditto.
8545         (elmo-imap4-open-connection): Rewrite.
8546         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8547         (elmo-imap4-get-connection): Abolish local variable `result'.
8548
8549 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8550
8551         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8552         wrong-type-argument error when auth is nil.
8553
8554 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8555
8556         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8557         (elmo-default-nntp-stream-type): Ditto.
8558         (elmo-default-pop3-stream-type): Ditto.
8559         (elmo-network-stream-type-alist): Ditto.
8560         (elmo-default-imap4-ssl): Abolished.
8561         (elmo-default-nntp-ssl): Ditto.
8562         (elmo-default-pop3-ssl): Ditto.
8563
8564         * elmo-util.el: (toplevel): Removed needless requires.
8565         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8566         (elmo-open-network-stream): Open network stream according to
8567         the value of `elmo-network-stream-type-alist'.
8568         (elmo-get-network-stream-type): New function.
8569         (elmo-network-stream-type-spec-string): New macro.
8570         (elmo-network-stream-type-symbol): Ditto.
8571         (elmo-network-stream-type-function): Ditto.
8572
8573         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8574         network-stream-type. All other related portions are changed.
8575         (elmo-pop3-open-connection): Ditto.
8576
8577         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8578         network-stream-type. All other related portions are changed.
8579
8580         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8581         network-stream-type.All other related portions are changed.
8582         (elmo-imap4-error): New macro.
8583         (elmo-imap4-error-type): Ditto.
8584         (elmo-imap4-error-process): Ditto.
8585         (elmo-imap4-error-message): Ditto.
8586         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8587         (elmo-imap4-auth-cram-md5): Ditto.
8588         (elmo-imap4-auth-digest-md5): Ditto.
8589         (elmo-imap4-login): Ditto.
8590         (elmo-imap4-open-connection): Remove password entry if authentication
8591         was in vain.
8592         (elmo-imap4-user-at-host): Abolished.
8593         (elmo-imap4-password-key): New buffer local variable.
8594         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8595         using protocol, port, auth and stream-type.
8596
8597         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8598
8599 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8600
8601         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8602
8603         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8604
8605         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8606         (elmo-imap4-authenticator-alist): New variable.
8607         (elmo-imap4-open-connection-1): Rename from
8608         elmo-imap4-open-connection.
8609         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8610         only wraps elmo-imap4-open-connection-1.
8611         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8612         user-at-host.
8613         (elmo-imap4-auth-login): New function.
8614         (elmo-imap4-auth-cram-md5): New function.
8615         (elmo-imap4-auth-digest-md5): New function.
8616         (elmo-imap4-login): New function.
8617
8618 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8619
8620         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8621         function `error'.
8622
8623 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8624
8625         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8626
8627 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8628
8629         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8630
8631 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8632
8633         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8634         for server responses, quote `*' regardless of where it appears.
8635
8636 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8637
8638         * elmo-maildir.el (elmo-maildir-commit): New alias.
8639
8640 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8641
8642         * elmo-util.el (elmo-display-progress):
8643                 Use `progress-feedback-with-label'.
8644
8645 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8646
8647         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8648         (elmo-imap4-non-atom-char-regex): Ditto.
8649         (elmo-imap4-non-text-char-regex): Ditto.
8650         (elmo-imap4-literal-threshold): Ditto.
8651         (elmo-imap4-atom-p): New function.
8652         (elmo-imap4-quotable-p): Ditto.
8653         (elmo-imap4-nil): Ditto.
8654         (elmo-imap4-atom): Ditto.
8655         (elmo-imap4-quoted): Ditto.
8656         (elmo-imap4-literal-subr): Ditto.
8657         (elmo-imap4-literal): Ditto.
8658         (elmo-imap4-buffer-literal): Ditto.
8659         (elmo-imap4-string-subr): Ditto.
8660         (elmo-imap4-string): Ditto.
8661         (elmo-imap4-buffer-string): Ditto.
8662         (elmo-imap4-astring-subr): Ditto.
8663         (elmo-imap4-astring): Ditto.
8664         (elmo-imap4-buffer-astring): Ditto.
8665         (elmo-imap4-nstring): Ditto.
8666         (elmo-imap4-buffer-nstring): Ditto.
8667         (elmo-imap4-mailbox): New alias.
8668         (elmo-imap4-field-body): Ditto.
8669         (elmo-imap4-userid): Ditto.
8670         (elmo-imap4-password): Ditto.
8671         (elmo-imap4-format-quoted): New function.
8672         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8673         arguments and handle "atom", "quoted" and "literal" string here.
8674         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8675         `elmo-imap4-send-command'.
8676         (elmo-imap4-folder-exists-p): Likewise.
8677         (elmo-imap4-create-folder): Likewise.
8678         (elmo-imap4-delete-folder): Likewise.
8679         (elmo-imap4-rename-folder): Likewise.
8680         (elmo-imap4-max-of-folder): Likewise.
8681         (elmo-imap4-check-validity): Likewise.
8682         (elmo-imap4-sync-validity): Likewise.
8683         (elmo-imap4-server-diff): Likewise.
8684         (elmo-imap4-select-folder): Likewise.
8685         (elmo-imap4-copy-msgs): Likewise.
8686         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8687         (elmo-imap4-mark-set-on-msgs): Likewise.
8688         (elmo-imap4-read-part): Likewise.
8689         (elmo-imap4-read-msg): Likewise.
8690         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8691         `elmo-imap4-password' for `elmo-imap4-send-command'.
8692         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8693         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8694         `elmo-imap4-buffer-literal'.
8695         (elmo-imap4-append-msg): Likewise.
8696
8697         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8698         `delete' for removing dead connection from the connection cache.
8699         Move deletion of the process buffer after that.
8700         (elmo-imap4-list): Change `defsubst' to `defun'.
8701         (elmo-imap4-commit): Make error message verbose.
8702         (elmo-imap4-search): Ditto.
8703         (elmo-imap4-list): Ditto.
8704         (elmo-imap4-select-folder): Ditto.
8705         (elmo-imap4-copy-msgs): Ditto.
8706         (elmo-imap4-delete-msg-by-id): Ditto.
8707         (elmo-imap4-append-msg-by-id): Ditto.
8708         (elmo-imap4-append-msg): Ditto.
8709
8710 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8711
8712         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8713         when dired is used on XEmacs.
8714
8715 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8716
8717         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8718         instead of `append'.
8719         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8720         `elmo-plugged-p' directly.
8721         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8722         of `elmo-plugged-p' directly.
8723
8724         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8725         Eliminate unused variable.  Use `memq' for checking a process status.
8726         Use `cons' instead of `append' for updating the connection cache.
8727         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8728         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8729
8730 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8731
8732         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8733         `elmo-imap4-read-point' exactly.
8734
8735         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8736         the local variable `folder' to `mailbox'.
8737         Rename the argument `fld' to `folder'.
8738
8739 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8740
8741         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8742         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8743
8744 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8745
8746         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8747         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8748         (elmo-pop3-uidl-number-hash): Ditto.
8749         (elmo-pop3-size-hash): Ditto.
8750         (elmo-pop3-uidl-done): Ditto.
8751         (elmo-pop3-list-done): Ditto.
8752         (elmo-pop3-connection-get-process): New defmacro.
8753         (elmo-pop3-connection-get-buffer): Ditto.
8754         (elmo-pop3-close-connection): Delete buffer and process.
8755         (elmo-pop3-flush-connection): Don't delete buffer and process.
8756         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8757         Setup UIDL and size hash.
8758         (elmo-pop3-send-command-no-erase): Deleted
8759         (elmo-pop3-send-command): Added optional argument `no-erase'.
8760         (elmo-pop3-parse-uidl-response): New function.
8761         (elmo-pop3-parse-list-response): Set size hash.
8762         (elmo-pop3-list-location): New function.
8763         (elmo-pop3-list-by-uidl-subr): Ditto.
8764         (elmo-pop3-list-by-list): Ditto.
8765         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8766         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8767         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8768         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8769         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8770         Use uidl.
8771         (elmo-pop3-uidl-to-number): New function.
8772         (elmo-pop3-number-to-uidl): Ditto.
8773         (elmo-pop3-number-to-size): Ditto.
8774         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8775         Set number by use of uidl.
8776         (elmo-pop3-msgdb-create-message): Likewise.
8777         Set size, loc-alist in msgdb.
8778         (elmo-pop3-read-msg): Set number by use of uidl.
8779         Added optional argument `msgdb'.
8780         (elmo-pop3-delete-msg): Ditto.
8781         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8782         (elmo-pop3-commit): Close connection.
8783
8784         * elmo-pipe.el (elmo-pipe-max-of-folder):
8785         Bind `elmo-pop3-use-uidl' as nil.
8786         (elmo-pipe-drain): Ditto.
8787         Call `elmo-commit'.
8788
8789         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8790         (elmo-msgdb-overview-entity-set-size): New defsubst.
8791
8792 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8793
8794         * elmo-vars.el (elmo-use-killed-list): New variable
8795         (Renamed from `elmo-nntp-use-killed-list').
8796         (elmo-nntp-use-killed-list): Eliminated.
8797
8798         * elmo-msgdb.el (elmo-msgdb-expand-path):
8799         Changed expanding msgdb path for elmo-multi.
8800
8801         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8802         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8803         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8804         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8805         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8806         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8807         (toplevel): Deleted time-stamp line.
8808
8809         * elmo2.el (elmo-clear-killed ): Defined as function
8810         (Abolished defining as a backend function).
8811         All other related modules are changed.
8812
8813 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8814
8815         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8816
8817 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8818
8819         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8820
8821 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8822
8823         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8824
8825 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8826
8827         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8828         asynchronous folder check.
8829
8830         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8831
8832         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8833         `elmo-nntp-use-killed-list'.
8834         (elmo-nntp-list-folder): Use killed list.
8835         (elmo-nntp-max-of-folder): Ditto.
8836         (elmo-nntp-msgdb-create): Set killed list.
8837
8838         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8839
8840         * elmo2.el (elmo-clear-killed): New backend function.
8841         All other related modules are changed.
8842
8843 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8844
8845         * elmo-util.el (elmo-imap4-spec-folder): Use
8846         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8847         All callers changed.
8848
8849 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8850
8851         * mmelmo-2.el (initialize-instance):
8852         Use `mime-buffer-entity-buffer-internal' instead of
8853         `mime-entity-buffer'.
8854
8855         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8856         (mime-entity-body): Implemented.
8857         (mime-goto-header-start-point): Deleted.
8858         (mime-goto-body-end-point): Ditto.
8859         (mime-entity-point-min): Ditto.
8860         (mime-entity-point-max): Ditto.
8861         (mime-entity-children): Ditto.
8862         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8863         instead of `mime-entity-buffer'.
8864         (mime-entity-header-buffer): Ditto.
8865         (mime-entity-body-buffer): Ditto.
8866         (mime-write-entity-content): Ditto.
8867
8868         * pldap.el (ldap-static-if): New macro.
8869         (toplevel): Use it instead of `static-if'.
8870
8871 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8872
8873         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8874         included in `attrs' argument.
8875
8876 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8877
8878         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8879
8880         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8881         (ldap-ldif-safe-init-char-regexp): Ditto.
8882         (ldap-ldif-safe-string-regexp): Ditto.
8883         (ldap/ldif-safe-string-p): New macro.
8884         (ldap/ldif-insert-field): Ditto.
8885         (ldap-modify): Use it.
8886         (ldap-add): Ditto.
8887         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8888         (ldap-decode-attribute): Decode only when `attr' is consp.
8889         (ldap-delete): Bind `ret'.
8890         (toplevel): Require 'cl at compile time.
8891         Removed (require 'poe) and (require 'std11).
8892         (pldap-version): Eliminated.
8893         (ldap-search-basic): Removed auth and dn binding.
8894         (ldap-ldif-field-name-regexp): New constant.
8895         (ldap-ldif-field-head-regexp): Ditto.
8896         (ldap-ldif-next-field-head-regexp): Ditto.
8897         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8898         (ldap/field-end): New function.
8899         (ldap/field-body): Use it.
8900         (ldap/collect-field): Ditto.
8901         (ldap-search-basic): Use `ldap/field-body'.
8902
8903 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8904
8905         * pldap.el (ldap-default-attribute-encoder): New user option.
8906         (ldap/field-body): Decode base64 string.
8907         (ldap/collect-field): Ditto.
8908         (ldap-encode-attribute): New function.
8909         (ldap-add-entries): Use it.
8910         (ldap-modify-entries): Ditto.
8911         (ldap-search-entries): Enclosed decoding function with
8912         `with-temp-buffer' and set as unibyte.
8913         (ldap-search-basic): Set process buffer as unibyte.
8914
8915         * elmo-util.el (elmo-folder-identical-system-p):
8916         Eliminated name space checking.
8917
8918         * pldap.el: New module.
8919         toplevel: Changed condition to detect built-in ldap feature.
8920         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8921         (ldap-add): Added error handling.
8922         (ldap-modify): Ditto.
8923         (ldap-delete): Ditto.
8924
8925 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8926
8927         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8928         Initialize local variables with `let'.  Inline a temporary
8929         variable for the progress percentage.  Sort `setq' to reduce
8930         function call in the while-loop.
8931
8932         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8933         into the conditional branch.
8934
8935 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8936
8937         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8938         Move a conditional out of the while-loop.
8939
8940 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8941
8942         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8943         elmo-msgdb-overview-get-entity-by-number.
8944         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8945         throw.
8946
8947 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8948
8949         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8950         the local variable for a packed number self descriptively.
8951
8952 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8953
8954         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8955         * elmo-localdir.el (elmo-localdir-pack-number): Use
8956         `elmo-msgdb-overview-get-entity' instead of
8957         `elmo-msgdb-overview-get-entity-by-number'.
8958         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8959         (elmo-msgdb-search-overview-entity): Removed.
8960         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8961         by message-id or number.
8962         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8963         instead of `elmo-msgdb-overview-get-entity-by-number'.
8964
8965 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8966
8967         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8968         non-nil, use hash table for overview.
8969         (elmo-hash-maximum-size): New variable.
8970         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8971         (elmo-msgdb-make-overview-hashtb): New function.
8972         (elmo-msgdb-clear-overview-hashtb): New function.
8973         (elmo-clear-hash-val): New macro.
8974         All other related modules are changed.
8975
8976 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8977
8978         * elmo2.el (elmo-move-msgs): If there's other message with
8979         same message-id, don't use cache.
8980
8981 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8982
8983         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8984         number is already packed.
8985
8986 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8987
8988         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8989
8990 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8991
8992         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8993         All other related modules are changed.
8994
8995 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8996
8997         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8998         of refiling failure on Maildir.
8999
9000 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9001
9002         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9003         decoded mime-charset with cache.
9004         (elmo-msgdb-overview-entity-get-from): Ditto.
9005         (elmo-msgdb-overview-entity-get-subject): Ditto.
9006         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9007
9008 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9009
9010         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9011         (elmo-remove-passwd): Fill password with 0 before erase.
9012         * elmo-vars.el (elmo-passwd-life-time): New variable.
9013
9014 \f
9015 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9016
9017         * elmo-cache.el (elmo-buffer-cache-add):
9018         Set message cache buffer as unibyte.
9019
9020 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9021
9022         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9023         become nil.
9024
9025 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9026
9027         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9028         when display is finished.
9029         (elmo-nntp-msgdb-create): Ditto.
9030         (elmo-nntp-groups-read-response): Ditto.
9031         (elmo-nntp-retrieve-headers): Ditto.
9032         (elmo-nntp-msgdb-create-message): Ditto.
9033         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9034         (elmo-pop3-msgdb-create-message): Ditto.
9035
9036 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9037
9038         * elmo-maildir.el (elmo-maildir-msgdb-create):
9039         Use `elmo-msgdb-sort-by-date'.
9040
9041 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9042
9043         * elmo2.el (elmo-read-msg-no-cache):
9044         Eliminated arguments after `outbuf'.
9045         Don't use cache even if it exists.
9046         (elmo-read-msg): Don't pass arguments after `outbuf' to
9047         `elmo-read-msg-no-cache'.
9048
9049 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9050
9051         * elmo-archive.el (elmo-archive-list-folders):
9052         Use `file-name-directory' if base folder does not exist.
9053
9054 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9055
9056         * elmo-archive.el (elmo-archive-list-folders): Don't use
9057         `file-name-directory'.
9058
9059 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9060
9061         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9062         If `force' is non-nil, try flushing all operation queues.
9063
9064 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9065
9066         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9067         as-binary-process.
9068
9069 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9070
9071         * elmo-util.el (elmo-display-progress): Fixed.
9072
9073 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9074
9075         * elmo-util.el (elmo-display-progress): New function.
9076         All other related modules are changed.