* Version number is increased to 2.15.3.
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elmo-version.el (elmo-version): Up to 2.15.3.
4
5 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6
7         * elmo-signal.el (elmo-signal-bindings): Use cons to append
8         element into list.
9         (elmo-define-signal-handler): Add docstring.
10         (elmo-define-signal-filter): Ditto.
11
12         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
13
14 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
15
16         * elmo-util.el (elmo-flatten): Don't use recursive call.
17
18         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
19         assignment.
20         (elmo-folder-message-make-temp-files): Use `number-to-string'
21         instead of `int-to-string'.
22
23 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
24
25         * elmo-search.el (elmo-folder-delete-messages): Define.
26
27 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
28
29         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
30         customization type.
31         (elmo-mailing-list-count-spec-list): Ditto.
32
33         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
34         for `list-id'.
35
36 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
37
38         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
39         handling.
40
41 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
42
43         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
44         (elmo-mailing-list-count-spec-list): Ditto.
45
46         * elmo-util.el (elmo-map-until-success): New function.
47         (elmo-string-match-substring): Ditto.
48         (elmo-find-list-match-value): Ditto.
49
50         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
51         Removed.
52         (modb-entity-extract-ml-info-from-subject): Ditto.
53         (modb-entity-extract-ml-info-from-return-path): Ditto.
54         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
55         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
56         (modb-entity-extract-ml-info-from-mailman): Ditto.
57         (modb-entity-extract-mailing-list-info-functions): Ditto.
58         (modb-entity-extract-mailing-list-info): Rewrite with
59         `elmo-find-list-match-value'.
60
61 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
62
63         * elmo-net.el (elmo-network-session-retry-count): New user option.
64         (elmo-network-session-buffer-name): New internal function.
65         (elmo-network-session-buffer-create): Ditto.
66         (elmo-network-open-session): Retry open network session
67         `elmo-network-session-retry-count' times.
68
69 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
70
71         * elmo-util.el (elmo-list-filter): Rewritten.
72
73 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
74
75         * elmo-util.el (elmo-string-member): Allow symbol element in list.
76
77 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
78
79         * elmo-search.el (elmo-make-search-engine): Use prefix
80         `elmo-search-' for require symbol instead of `else-'.
81         (elmo-search-engine-extprog): New class.
82         (elmo-search-engine-do-search): Remove nil from argument
83         list. Added argument pattern to evaluate element as function.
84         (elmo-search-engine-local-file): Derived from
85         `elmo-search-engine-extprog'.
86         (elmo-search-engine-create-message-entity): Check existance of file.
87         (elmo-search-engine-fetch-message): Ditto.
88         (elmo-search-namazu-index): Follow the API change.
89         (elmo-search-grep-target): Ditto.
90
91 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
92
93         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
94         characters of working buffer.
95
96         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
97         Does not bind `default-mime-charset'.
98         (elmo-msgdb-create-message-entity-from-buffer): Removed
99         unnecessary local bind.
100
101         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
102         function.
103         (modb-entity-extract-mailing-list-info-functions): Added it.
104
105 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
106
107         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
108         when number and message-id are non-nil.
109
110         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
111
112         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
113         conditional steatment.
114         (elmo-pop3-auth-apop): Likewise.
115         (elmo-network-authenticate-session): Likewise.
116
117 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
118
119         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
120         symbol `fill-column'.
121         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
122         decode field value.
123
124         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
125         (elmo-decoded-field-body): Ditto.
126
127 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
128
129         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
130         `tokens' to `params'.
131
132 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
133
134         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
135         working buffer.
136
137 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
138
139         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
140         decide index.
141
142 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
143
144         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
145         Set default value as nil.
146         (toplevel): Register search engines by
147         `elmo-search-register-engine' if there are not defined.
148
149         * elmo.el (autoload): Added autoload setting for
150         `elmo-search-register-engine'.
151
152 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
153
154         * elmo.el (toplevel): `[' is redefined as the prefix of the search
155         folder instead of nmz folder.
156         (elmo-nmz-default-index-path): Added obsolete variable setting.
157         (elmo-nmz-index-alias-alist): Ditto.
158         (elmo-nmz-use-drive-letter): Ditto.
159
160         * elmo-search.el (elmo-search-register-engine): New function.
161
162         * elmo-nmz.el: Removed.
163
164         * elmo-version.el (elmo-version): Up to 2.15.2.
165
166 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
167
168         * elmo-search.el: New file.
169
170 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
171
172         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
173         condition `larger' and `smaller'.
174
175 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
176
177         * elmo-util.el (elmo-safe-filename): Rewrite to replace
178         `"' (double quote) into "_Q_".
179
180 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
181
182         * elmo-net.el (elmo-net-quote-chars): Abolish.
183         (elmo-net-format-quoted): Ditto.
184
185 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
186
187         * elmo.el (elmo-get-folder-function): New variable.
188         (elmo-get-folder): New function.
189         (elmo-folder-rename): Call `elmo-make-folder' with specified
190         mime-charset.
191
192         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
193         `elmo-make-folder'.
194         (elmo-split-subr): Ditto.
195
196         * elmo-multi.el (elmo-folder-initialize): Ditto.
197
198         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
199
200         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
201         (elmo-flag-get-folder): Ditto.
202
203         * elmo-filter.el (elmo-folder-initialize): Ditto.
204
205         * elmo-access.el (elmo-folder-initialize): Ditto.
206         (elmo-access-folder-update-children): Ditto.
207
208         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
209         (elmo-dop-queue-flush): Ditto.
210         (elmo-folder-append-buffer-dop-delayed): Ditto.
211         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
212         mime-charset.
213
214         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
215         instead of `elmo-make-folder'.
216         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
217         destination folder instead of send `elmo-folder-rename-internal'.
218
219         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
220         slot of subfolder instead of create it.
221
222 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
223
224         * elmo-util.el (elmo-collect-separators): New function.
225         (elmo-collect-separators-internal): Ditto.
226         (elmo-collect-trail-separators): Ditto.
227         (elmo-parse-separated-tokens): Ditto.
228         (elmo-parse-separated-tokens-internal): Ditto.
229         (elmo-quote-syntactical-element): Ditto.
230
231         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
232         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
233
234         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
235         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
236         (elmo-nntp-folder-list-subfolders): Quote a user name.
237
238         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
239         (elmo-net-parse-network): Abolish.
240         (elmo-net-folder-set-parameters): New function.
241         (elmo-folder-initialize): Follow the above change.
242
243         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
244         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
245         (elmo-folder-list-subfolders): Use
246         `elmo-quote-syntactical-element' instead of
247         `elmo-net-format-quoted' to quote mailbox and user name.
248
249 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
250
251         * elmo-util.el (elmo-token-valid-p): New function.
252         (elmo-parse-token): Add optional argument `requirement'.
253         (elmo-parse-prefixed-element): Likewise.
254
255         * elmo-net.el (elmo-net-quote-chars): Renamed from
256         `elmo-net-quote-chars-regexp'.
257         (elmo-net-format-quoted): Add optional argument `extra-chars'.
258
259         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
260         by info document. Check token `uidl' is started an alphabet.
261
262         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
263         by info document. Check token `user' is started an alphabet.
264
265         * elmo-imap4.el (elmo-folder-initialize): Ditto.
266         (elmo-folder-list-subfolders): Quote user.
267
268 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
269
270         * elmo-util.el (elmo-quoted-specials-list): New constant.
271         (elmo-quoted-token): New function.
272
273         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
274         (elmo-net-format-quoted): New function.
275         (elmo-net-parse-network): Ditto.
276         (elmo-folder-initialize): Use it.
277
278         * elmo-nntp.el (elmo-folder-initialize): Use
279         `elmo-net-parse-network' to parse network specification instead of
280         `elmo-folder-initialize#elmo-net'.
281
282         * elmo-pop3.el (elmo-folder-initialize): Ditto.
283
284         * elmo-imap4.el (elmo-folder-initialize): Ditto.
285         (elmo-folder-list-subfolders): Quote folder name by
286         `elmo-net-format-quoted'.
287
288 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
289
290         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
291         (elmo-folder-search): Use it.
292
293 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
294
295         * modb-standard.el (modb-standard-loaded-message-id): Use
296         `elmo-msgdb-message-entity-field'.
297
298 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
299
300         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
301         without filename.
302
303 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
304
305         * elmo-util.el (elmo-set-auto-coding): New function.
306         (elmo-object-load): Use it.
307
308 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
309
310         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
311         (elmo-time<): Define as alias of `elmo-time-less-p'.
312         (elmo-time-to-datevec): New function.
313
314         * elmo-date.el (elmo-time-to-days): New function.
315
316 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
317
318         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
319         is not cons cell.
320
321 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
322
323         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
324         parenthesis.
325
326         * elmo-util.el (elmo-map-recursive): New function.
327
328         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
329         (modb-entity-encode-string-recursive): Ditto.
330
331 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
332
333         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
334         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
335         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
336         compare sequence number when last modified time is nil.
337
338 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
339
340         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
341
342         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
343
344 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
345
346         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
347         modification time of the file.
348
349 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
350
351         * elmo-util.el (elmo-condition-optimize): Discriminated against
352         preserved fields, extra fields and the other weight.
353
354 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
355
356         * modb-entity.el (initialize-instance): Define.
357         (modb-entity-handler-mime-charset): New internal function.
358         (modb-standard-entity-set-field): Use it.
359         (elmo-msgdb-message-entity-field): Ditto.
360         (elmo-msgdb-message-entity-field): Ditto.
361
362         * modb.el (elmo-msgdb-match-condition): Rewrite with
363         `elmo-condition-match'.
364         (elmo-msgdb-match-condition-primitive): New function.
365
366         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
367         arguments `flags' and `numbers'.
368         (elmo-msgdb-match-condition-primitive): Abolished (merged to
369         `elmo-msgdb-message-match-condition').
370         (modb-buffer-entity-handler): New class.
371
372         * elmo.el (elmo-folder-search): Optimize condition to use
373         `elmo-condition-optimize'.
374         (elmo-message-buffer-match-condition): New function.
375         (elmo-message-match-condition): Use
376         `elmo-message-buffer-match-condition' instead of
377         `elmo-buffer-field-condition-match'.
378
379         * elmo-util.el (elmo-condition-match): New function.
380         (elmo-condition-optimize): Ditto.
381         (elmo-buffer-field-primitive-condition-match): Abolish.
382         (elmo-buffer-field-condition-match): Ditto.
383
384         * elmo-archive.el (elmo-archive-field-condition-match): Use
385         `elmo-message-buffer-match-condition' instead of
386         `elmo-buffer-field-condition-match'.
387
388 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
389
390         * elmo-flag.el (elmo-global-flags-initialize): Check the
391         existence of the flag directory.
392
393 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
394
395         * elmo-access.el (elmo-folder-initialize): Call
396         `elmo-multi-connect-signals'.
397
398         * elmo-pipe.el (elmo-folder-close): Define.
399
400         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
401         children folders.
402
403         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
404         with target folder.
405
406         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
407         `number'.
408
409         * elmo-multi.el (elmo-message-entity): Don't use return value of
410         `elmo-message-entity-set-number'.
411
412 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
413
414         * modb.el (modb-generic): Added slot `mime-charset'.
415
416         * modb-standard.el (modb-standard): Added slot `overview-handler'.
417         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
418         and `modb-entity-handler-dump-parameters'.
419         (modb-standard-default-entity-handler): Abolish.
420         (elmo-msgdb-message-entity-handler): Save created handler by
421         instance slot.
422
423         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
424         (modb-entity-handler-list-parameters): New method.
425         (modb-entity-handler-equal-p): New function.
426         (modb-entity-handler-dump-parameters): Ditto.
427         (modb-entity-parse-address-string): Encode return value.
428         (modb-entity-make-address-string): Decode argument value.
429         (modb-entity-decode-string-recursive): New function.
430         (modb-entity-encode-string-recursive): Ditto.
431         (modb-standard-entity-normalizer): Set to encode field value.
432         (modb-standard-entity-specializer): Follow the above change.
433         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
434         mime-charset of handler.
435         (elmo-msgdb-message-entity-field): Ditto.
436         (elmo-msgdb-copy-message-entity): Fixed reference to internal
437         structure.
438         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
439
440         * elmo.el (elmo-folder): Added slot `mime-charset'.
441         (elmo-make-folder): Added argument `mime-charset'.
442         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
443         `mime-charest'.
444
445         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
446         (elmo-make-msgdb): Likewise.
447
448         * elmo-internal.el (elmo-internal-folder-initialize): Call
449         `luna-make-entity' with :mime-charset parameter.
450
451 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
452
453         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
454         encoded words in `from' and `subject' field.
455
456 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
457
458         * modb.el (elmo-msgdb-message-field): Add argument `type'.
459         (elmo-msgdb-match-condition): Get handler from entity instead of
460         msgdb.
461
462         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
463         (modb-standard-load-entity): Treat new file format.
464         (modb-standard-save-entity-1): Save as new file format.
465         (modb-standard-save-entity): Split messages into section here.
466         (elmo-msgdb-message-field): Follow the API change.
467         (modb-standard-default-entity-handler): New internal variable.
468         (elmo-msgdb-message-entity-handler): Define.
469
470         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
471         to `elmo-vars.el'.
472         (modb-entity-field-extractor-alist): New user option.
473         (elmo-msgdb-message-entity-field): Removed argument `decode' and
474         added argument `type'.
475         (elmo-msgdb-copy-message-entity): Add optional argument
476         `make-handler'.
477         (modb-set-field-converter): New function.
478         (modb-convert-field-value): Ditto.
479         (modb-entity-string-decoder): Ditto.
480         (modb-entity-string-encoder): Ditto.
481         (modb-entity-parse-date-string): Ditto.
482         (modb-entity-make-date-string): Ditto.
483         (modb-entity-mime-decoder): Ditto.
484         (modb-entity-mime-encoder): Ditto.
485         (modb-entity-address-list-decoder): Ditto.
486         (modb-entity-address-list-encoder): Ditto.
487         (modb-entity-parse-address-string): Ditto.
488         (modb-entity-make-address-string): Ditto.
489         (modb-entity-create-field-indices): Ditto.
490         (modb-legacy-entity-field-slots): New constant.
491         (modb-legacy-entity-field-indices): Ditto.
492         (modb-legacy-entity-normalizer): New variable.
493         (modb-legacy-entity-specializer): Ditto.
494         (modb-legacy-entity-field-index): New macro.
495         (modb-legacy-entity-set-field): New function.
496         (modb-legacy-make-message-entity): Rewrite.
497         (elmo-msgdb-create-message-entity-from-buffer): Use
498         `elmo-msgdb-get-references-from-buffer'. Use
499         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
500         Use `modb-legacy-entity-set-field' instead of
501         `elmo-msgdb-message-entity-set-field'.
502         (elmo-msgdb-message-entity-field): Rewrite.
503         (elmo-msgdb-message-entity-set-field): Ditto.
504         (elmo-msgdb-copy-message-entity): Make new entity by
505         `make-handler' if it specified.
506         (elmo-msgdb-message-match-condition): Define a method of
507         `modb-entity-handler' and follow the API change.
508         (modb-standard-entity-handler): New class.
509         (modb-entity-extract-ml-info-from-x-sequence): New function.
510         (modb-entity-extract-ml-info-from-subject): Ditto.
511         (modb-entity-extract-ml-info-from-return-path): Ditto.
512         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
513         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
514         (modb-entity-extract-mailing-list-info): Ditto.
515         (modb-entity-extract-mailing-list-info-functions): New variable.
516
517         * elmo.el (elmo-message-field): Add optional argument `type'.
518
519         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
520         from `modb-entity.el'.
521
522         * elmo-util.el (elmo-object-load): Decode by coding-system from
523         `set-auto-coding-function'.
524         (elmo-object-save): Use `detect-mime-charset-region' and add
525         coding cookie if encode.
526         (elmo-msgdb-get-references-from-buffer): New function.
527         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
528
529         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
530
531         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
532         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
533         instead of `shimbun-make-header' and follow the API change.
534         (elmo-shimbun-update-overview): Follow the API change.
535         (elmo-map-folder-list-message-locations): Ditto.
536
537         * elmo-pipe.el (elmo-message-field): Ditto.
538
539         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
540         Ditto.
541
542         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
543
544         * elmo-multi.el (elmo-message-field): Ditto.
545
546         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
547         (elmo-msgdb-sort-by-date): Ditto.
548         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
549         `elmo-message-entity-field'.
550         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
551         change.
552         (elmo-msgdb-overview-entity-get-from): Ditto.
553         (elmo-msgdb-overview-entity-get-subject): Ditto.
554         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
555         (elmo-msgdb-overview-entity-get-date): Ditto.
556         (elmo-msgdb-overview-entity-get-to): Ditto.
557         (elmo-msgdb-overview-entity-get-cc): Ditto.
558
559         * elmo-mime.el (elmo-message-mime-entity): Ditto.
560         (elmo-mime-collect-message/partial-pieces): Ditto.
561
562         * elmo-filter.el (elmo-message-field): Ditto.
563
564         * elmo-date.el (elmo-datevec-to-time): New function.
565         (elmo-time-parse-date-string): Ditto.
566         (elmo-time-make-date-string): Ditto.
567         (elmo-time<): Ditto.
568
569         * elmo-version.el (elmo-version): Up to 2.15.1.
570
571 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
572
573         * elmo-flag.el (elmo-global-flags-initialize): Don't include
574         member of elmo-local-flags.
575
576 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
577
578         * elmo-version.el (elmo-version): Up to 2.15.0.
579
580 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
581
582         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
583         `ignore-msgdb' is non-nil.
584
585 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
586
587         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
588         (elmo-condition-in-msgdb-p): Ditto.
589         (elmo-file-field-primitive-condition-match): Ditto.
590         (elmo-file-field-condition-match): Ditto.
591
592         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
593
594 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
595
596         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
597         subdirectories here.
598         (elmo-global-flags-initialize): New function.
599
600         * elmo.el (toplevel): Added autoload setting for
601         `elmo-global-flags-initialize'.
602
603 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
604
605         * elmo.el (message-number-changed): Define new signal.
606         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
607         message-number-changed signal.
608         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
609         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
610         Respect `elmo-pack-number-check-strict'.
611
612 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
613
614         * elmo-signal.el (elmo-connect-signal): Document.
615         (elmo-emit-signal): Ditto.
616         (elmo-emit-signal): It should pass source argument to filter and
617         handler, not slot-source.
618
619 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
620
621         * modb.el (elmo-msgdb-update-entity): New API and define generic
622         implement.
623
624         * modb-standard.el (elmo-msgdb-update-entity): Define.
625
626         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
627         API and define generic implement.
628
629         * elmo.el (update-overview): New singnal.
630
631         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
632         `elmo-msgdb-update-entity' and emit signal `update-overview'.
633         (elmo-message-entity-parent): Define.
634
635         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
636         `update-overview'.
637
638         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
639
640         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
641
642 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
643
644         * elmo.el (elmo-folder-synchronize): Sort the return value of
645         `elmo-list-diff'.
646
647         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
648         list.
649
650 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
651
652         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
653         `default-enable-multibyte-characters'.
654         (elmo-object-load): Use `with-temp-buffer' instead of
655         `elmo-set-work-buf'.
656         (elmo-object-save): Ditto.
657         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
658         `elmo-set-work-buf'.
659         (elmo-decoded-field-body): Ditto.
660
661         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
662
663         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
664         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
665
666         * elmo-version.el (elmo-version): Up to 2.13.3.
667
668 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
669
670         * elmo-util.el (elmo-list-diff): Fix the last change.
671         Reverse order of result lists.
672
673 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
674
675         * modb-standard.el (elmo-msgdb-set-flag): Use
676         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
677         (elmo-msgdb-unset-flag): Ditto.
678
679         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
680         `elmo-list-diff'.
681
682         * elmo-util.el (elmo-list-diff): Rewrite.
683         (elmo-list-diff-nonsortable): New function.
684
685 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
686
687         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
688         `elmo-multibypte-buffer-name'.  All referers are updated.
689
690 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
691
692         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
693         (elmo-mime-entity-fragment-p): New function.
694         (mime-elmo-buffer-entity): Added slot `reassembled'.
695         (elmo-message-mime-entity): Added 4th argument `reassemble'.
696         (elmo-message-mime-entity-internal): New function (renamed from
697         `elmo-message-mime-entity').
698         (elmo-mime-inherit-field-list-from-enclosed): New constant.
699         (elmo-mime-make-reassembled-mime-entity): New function.
700         (elmo-message-reassembled-mime-entity): Ditto.
701         (elmo-mime-collect-message/partial-pieces): Ditto.
702
703 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
704
705         * elmo.el (elmo-message-fetch-string): Disable multibyte.
706
707         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
708         (elmo-with-enable-multibyte): New macro.
709
710         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
711
712 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
713
714         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
715         argument `number'.
716         (elmo-filter-connect-signals): Follow the above change.
717
718 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
719
720         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
721
722         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
723         that only the first flag is used.
724
725 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
726
727         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
728         if available.
729
730 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
731
732         * elmo-signal.el: New file.
733
734         * elmo.el (toplevel): Require elmo-signal.
735         (flag-changing, flag-changed, cache-changed): New signal.
736         (elmo-folder): Remove slog `handlers'.
737         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
738         `elmo-folder-notify-event'.
739         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
740         (elmo-folder-unset-flag): Ditto.
741         (elmo-event-handler): Abolish.
742         (elmo-event-handler-flag-changed): Ditto.
743         (elmo-event-handler-cache-changed): Ditto.
744         (elmo-folder-add-handler): Ditto.
745         (elmo-folder-remove-handler): Ditto.
746         (elmo-folder-notify-event): Ditto.
747
748         * elmo-pipe.el (toplevel): Require elmo-signal.
749         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
750         (elmo-pipe-connect-signals): New function.
751         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
752         (elmo-folder-set-flag): Ditto.
753         (elmo-folder-unset-flag): Ditto.
754         (elmo-message-set-cached): Ditto.
755
756         * elmo-multi.el (toplevel): Require elmo-signal.
757         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
758         (elmo-multi-connect-signals): New function.
759         (elmo-multi-map-numbers): Ditto.
760         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
761         (elmo-message-fetch): Ditto.
762         (elmo-folder-set-flag): Ditto.
763         (elmo-folder-unset-flag): Ditto.
764
765         * elmo-filter.el (toplevel): Require elmo-signal.
766         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
767         (elmo-filter-connect-signals): New function.
768         (elmo-filter-add-flag-count): Ditto.
769         (elmo-message-fetch): Does not call
770         `elmo-filter-folder-countup-message-flags' and
771         `elmo-folder-notify-event'.
772         (elmo-message-set-cached): Ditto.
773         (elmo-folder-set-flag): Ditto.
774         (elmo-folder-unset-flag): Ditto.
775
776         * elmo-version.el (elmo-version): Up to 2.13.2.
777
778 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
779
780         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
781         `flags'.
782
783 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
784
785         * elmo-filter.el (elmo-message-set-cached): Call
786         `elmo-folder-notify-event' with event `cache-changed'.
787
788         * elmo-multi.el (elmo-message-set-cached): Ditto.
789
790         * elmo-pipe.el (elmo-message-set-cached): Ditto.
791
792 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
793
794         * elmo.el (elmo-folder-encache): Abolish.
795
796 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
797
798         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
799         (elmo-folder-next-message-number-dop): Return appropriate negative
800         integer.
801
802 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
803
804         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
805         clearing pending operations.
806         (elmo-folder-next-message-number-dop): Return appropriate negative
807         integer.
808
809 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
810
811         * elmo.el (toplevel): Added autoload setting for `md5'.
812         (elmo-msgdb-path-encode-threshold): New user option.
813         (elmo-folder-msgdb-path): Encode msgdb path if its length is
814         longer than `elmo-msgdb-path-encode-threshold'.
815
816         * elmo-flag.el (elmo-global-mark-migrate): Use
817         `elmo-folder-expand-msgdb-path' instead of
818         `elmo-folder-msgdb-path'.
819
820 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
821
822         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
823         element of the difference is nil.
824
825 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
826
827         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
828         to the check logic of file systems which are weak in colon character.
829
830 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
831
832         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
833
834 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
835
836         * elmo-maildir.el (elmo-maildir-move-file): New function.
837         (elmo-folder-append-buffer): Use it.
838         (elmo-folder-append-messages): Ditto.
839         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
840
841         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
842         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
843
844         * elmo-maildir.el (elmo-maildir-separator): New user option.
845         (elmo-maildir-adjust-separator): New macro.
846         (elmo-maildir-list-location): Use it.
847         (elmo-maildir-update-current): Ditto.
848         (elmo-maildir-set-mark): Ditto.
849         (elmo-maildir-delete-mark): Ditto.
850         (These changes are based on Hiroya Murata's patch [wl: 13437])
851
852 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
853
854         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
855
856 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
857
858         * elmo-flag.el (elmo-flag-valid-p): Simplify.
859         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
860         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
861
862 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
863
864         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
865         Use `with-temp-buffer'.
866
867 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
868
869         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
870
871         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
872         `wl-read-search-condition').
873         (elmo-read-search-condition-internal): Likewise.
874
875         * elmo-flag.el (elmo-flag-char-regexp): New constant.
876         (elmo-flag-valid-p): New function.
877         (elmo-folder-initialize): Check flag name is valid.
878
879 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
880
881         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
882         delimiter to obtain root mailbox itself.
883
884 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
885
886         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
887         type mismatch.
888
889 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
890
891         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
892         as t.
893
894 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
895
896         * elmo-shimbun.el (toplevel): Require cl at compile.
897
898         * elmo-nntp.el (toplevel): Ditto.
899
900         * elmo-nmz.el (toplevel): Ditto.
901
902         * elmo-multi.el (toplevel): Ditto.
903
904         * elmo-file.el (toplevel): Ditto.
905
906         * elmo-dop.el (toplevel): Ditto.
907
908         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
909
910 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
911
912         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
913         as nil.
914
915         * elmo.el (elmo-message-fetch): Return t even when the output buffer
916         size of elmo-message-fetch-internal is 0 byte.
917
918 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
919
920         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
921
922 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
923
924         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
925         always plugged.
926
927 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
928
929         * elmo-maildir.el (elmo-map-message-fetch): Call
930         `elmo-map-folder-set-flag'.
931
932         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
933         (elmo-message-fetch): Merge from
934         `elmo-message-fetch-with-cache-process'.
935
936         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
937         (elmo-message-fetch): Define.
938
939         * elmo-nntp.el (elmo-message-fetch): Renamed from
940         `elmo-message-fetch-with-cache-process'.
941
942         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
943         (elmo-message-fetch): Define.
944
945         * elmo-util.el (elmo-condition-parse-primitive): Downcase
946         search-key.
947
948         * elmo-shimbun.el (shimbun-mua-search-id): Use
949         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
950         (elmo-shimbun-folder-shimbun-header): Ditto.
951         (elmo-shimbun-get-headers): Ditto.
952         (elmo-shimbun-update-overview): Ditto.
953
954         * elmo-pipe.el (elmo-folder-detach-messages): Define.
955
956         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
957         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
958
959 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
960
961         * elmo.el (elmo-message-fetch): Unset unread flag on server when
962         message is cached.
963         (elmo-message-fetch-string): Fixed argument.
964
965 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
966
967         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
968         exchange order of arguments `section' and `unread'.
969         (elmo-message-encache): Follow the API change.
970         (elmo-message-match-condition): Ditto.
971         (elmo-generic-folder-append-messages): Ditto.
972         (elmo-message-fetch-string): New function.
973
974         * elmo-split.el (elmo-split-subr): Ditto.
975
976         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
977
978         * elmo-pipe.el (elmo-message-fetch): Ditto.
979
980         * elmo-multi.el (elmo-message-fetch): Ditto.
981
982         * elmo-mime.el (elmo-message-mime-entity): Ditto.
983
984         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
985
986         * elmo-filter.el (elmo-message-fetch): Ditto.
987
988         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
989
990         * elmo-imap4.el (mime-imap-location-section-body): Use
991         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
992         follow the API change.
993
994 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
995
996         * elmo-access.el: New file.
997
998         * elmo-null.el: Ditto.
999
1000         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1001
1002 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1003
1004         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1005         (elmo-network-session): New attribute `last-accessed'.
1006         (elmo-network-get-session): Discard network cache if elapsed time
1007         since last-accessed is larger than elmo-network-session-idle-timeout.
1008
1009 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1010
1011         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1012         and added `number', `require-entireness'.
1013         (elmo-find-fetch-strategy): Rewrite.
1014         (elmo-message-fetch): Unset `unread' flag when argument unread is
1015         non-nil.
1016
1017         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1018
1019         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1020         (elmo-message-fetch): Notify event `flag-changed'.
1021
1022         * elmo-pipe.el: Likewise.
1023
1024         * elmo-mime.el (elmo-mime-entity): New class.
1025         (elmo-mime-entity-display-p): New generic function.
1026         (elmo-mime-entity-display): Ditto.
1027         (elmo-mime-entity-display-as-is): Ditto.
1028         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1029         elmo-mime-entity.
1030         (elmo-make-mime-message-location): Removed.
1031         (elmo-mime-message-display): Ditto.
1032         (elmo-mime-display-as-is): Ditto.
1033         (elmo-message-mime-entity): New function.
1034
1035         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1036
1037         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1038         change.
1039         (elmo-message-fetch): Re-count flagged message number and notify
1040         event `flag-changed'.
1041
1042         * elmo-version.el (elmo-version): Up to 2.13.1.
1043
1044 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1045
1046         * elmo-filter.el (elmo-message-field): Define.
1047         (elmo-message-set-field): Ditto.
1048
1049 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1050
1051         * elmo.el (elmo-message-set-cached): Call
1052         `elmo-folder-notify-event' with cache-changed.
1053         (elmo-event-handler-cache-changed): New generic function.
1054
1055 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1056
1057         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1058         instead of elmo-add-name-to-file.
1059         (elmo-folder-append-messages): Ditto.
1060
1061 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1062
1063         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1064
1065 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1066
1067         * elmo-version.el (elmo-version): Up to 2.13.0.
1068
1069         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1070         `auto'.
1071
1072         * modb-standard.el (modb-standard-economize-entity-size): Changed
1073         default value to `t'.
1074
1075         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1076         `standard'.
1077
1078         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1079         after parsing greeting string.
1080
1081 2004-11-23  Daishi Kato <daishi@axlight.com>
1082
1083         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1084         New user option.
1085         (elmo-spam-spamoracle-call): Use it.
1086
1087 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1088
1089         * elmo.el (elmo-message-accessible-p): Message in dop spool
1090         is accessible.
1091
1092 2004-11-23  Daishi Kato <daishi@axlight.com>
1093
1094         * elsp-spamoracle.el: New file.
1095
1096 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1097
1098         * elmo.el (elmo-message-flags-for-append): New function.
1099         (elmo-generic-folder-append-messages): Use it.
1100
1101         * elmo-split.el (elmo-split-subr): Ditto.
1102
1103         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1104         `flags' and use elmo-folder-append-buffer instead of
1105         write-region-as-binary.
1106         (elmo-dop-filter-pending-messages): New function.
1107         (elmo-folder-append-buffer-dop): Call
1108         elmo-dop-spool-folder-append-buffer with `flag'.
1109         (elmo-folder-set-flag-dop): Filter messages by
1110         elmo-dop-filter-pending-messages.
1111         (elmo-folder-unset-flag-dop): Ditto.
1112         (elmo-folder-append-buffer-dop-delayed): Use
1113         elmo-message-flags-for-append to get flags of the message and
1114         simplify.
1115
1116 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1117
1118         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1119
1120 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1121
1122         * elmo.el (elmo-folder): Added handlers slot.
1123         (elmo-event-handler): New class.
1124         (elmo-event-handler-flag-changed): New API.
1125         (elmo-folder-add-handler): New function.
1126         (elmo-folder-remove-handler): Ditto.
1127         (elmo-folder-notify-event): Ditto.
1128         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1129         `flag-changed'.
1130         (elmo-folder-unset-flag): Ditto.
1131
1132         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1133         (elmo-folder-unset-flag): Ditto.
1134
1135         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1136         (elmo-folder-unset-flag): Ditto.
1137
1138         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1139         (elmo-folder-unset-flag): Ditto.
1140
1141         * elmo-version.el (elmo-version): Up to 2.11.33.
1142
1143 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1144
1145         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1146
1147 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1148
1149         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1150
1151         * elmo-flag.el (elmo-folder-unset-flag): Define.
1152         (elmo-global-flag-detach): Do process when the flag is not target
1153         flag.
1154
1155 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1156
1157         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1158         variable.
1159         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1160
1161 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1162
1163         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1164         function.
1165         (elmo-folder-delete-messages): Detach messages before delete
1166         messages from target folder.
1167         (elmo-folder-detach-messages): Set updated number-list to slot.
1168
1169 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1170
1171         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1172
1173 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1174
1175         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1176
1177 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1178
1179         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1180         internal use only).
1181         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1182         not modified.
1183         (elmo-folder-delete-messages): Define.
1184         (elmo-folder-move-messages): Don't call
1185         `elmo-folder-detach-messages'.
1186         (elmo-folder-synchronize): Rewrite.
1187         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1188
1189         * elmo-util.el (elmo-last): New function.
1190         (elmo-set-list): Ditto.
1191         (elmo-number-set-delete-list): Ditto.
1192         (elmo-number-set-delete): Ditto.
1193
1194         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1195
1196         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1197         `elmo-folder-delete-messages' and don't delete location map.
1198         (elmo-folder-detach-messages): Define.
1199
1200         * elmo-imap4.el (elmo-folder-delete): Use
1201         `elmo-folder-delete-messages-internal' instead of
1202         `elmo-folder-delete-messages'.
1203
1204         * elmo-filter.el (elmo-folder-delete-messages): Call
1205         `elmo-folder-detach-messages'.
1206         (elmo-folder-detach-messages): Don't call
1207         `elmo-folder-detach-messages' for target folder.
1208
1209         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1210         message deletion is succeeded.
1211
1212         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1213
1214         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1215         from `elmo-folder-delete-messages'.
1216
1217         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1218
1219         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1220
1221         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1222
1223         * elmo-version.el (elmo-version): Up to 2.11.32.
1224
1225 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1226
1227         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1228         (elmo-global-flag-list): Added obsolete variable setting.
1229
1230         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1231
1232         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1233         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1234         `elmo-mime-display-header-analysis' is nil.
1235
1236         * elmo-flag.el (elmo-global-flags): Renamed from
1237         `elmo-global-flag-list' (All other related portions are changed).
1238         (elmo-local-flags): New variable.
1239         (elmo-local-flag-p): New function.
1240         (elmo-global-flag-set-internal): Cause an error when flag is not
1241         global.
1242
1243 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1244
1245         * elmo-util.el (elmo-concat-path): Treat empty path.
1246
1247 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1248
1249         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1250         field-or-fields).
1251         (elmo-split-address-match): Ditto.
1252         (elmo-split-equal): Ditto.
1253         (elmo-split-match): Ditto.
1254
1255 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1256
1257         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1258         (elmo-generic-folder-append-messages): If src message exists but
1259         has no flag, pass (read) for the FLAG argument of
1260         `elmo-folder-append-buffer'. Otherwise, pass nil.
1261
1262         * elmo-split.el (elmo-split-subr): Likewise.
1263
1264         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1265
1266         * elmo-multi.el (elmo-message-flags): Ditto.
1267
1268         * elmo-filter.el (elmo-message-flags): Ditto.
1269
1270         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1271         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1272         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1273         
1274 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1275
1276         * elmo-split.el (elmo-split-rule): Update comment.
1277         (elmo-split-address-equal): Allow 2nd argument to be a list.
1278         (elmo-split-address-match): Ditto.
1279         (elmo-split-equal): Ditto.
1280         (elmo-split-match): Ditto.
1281
1282 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1283
1284         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1285         (elmo-folder-append-msgdb): Don't treat `read'.
1286         (elmo-message-flags): Don't return `read'.
1287
1288         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1289         (elmo-folder-unset-read-delayed): Ditto.
1290
1291         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1292
1293 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1294
1295         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1296         deletion.
1297
1298 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1299
1300         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1301         header.
1302
1303 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1304
1305         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1306         here.
1307         (elmo-msgdb-save): Bind inhibit-quit.
1308         (modb-standard-message-entity): Ditto.
1309
1310 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1311
1312         * elmo-database.el: No need to require elmo-msgdb.
1313
1314 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1315
1316         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1317         instead of `elmo-list-subdirectories'.
1318
1319 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1320
1321         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1322         group entry.
1323         (elmo-folder-exists-p): "[" is empty.
1324         (elmo-folder-list-subfolders): Define.
1325         (elmo-folder-have-subfolder-p): Ditto.
1326
1327 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1328
1329         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1330
1331 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1332
1333         * elmo-filter.el (elmo-folder-local-p): Define.
1334
1335 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1336
1337         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1338         when entity is garbaged.
1339         (modb-standard-save-entity-1): Don't modify the original entity.
1340
1341 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1342
1343         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1344
1345 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1346
1347         * elmo.el (elmo-strict-folder-diff): Use
1348         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1349
1350 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1351
1352         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1353         (elmo-msgdb-message-number): Ditto.
1354         (elmo-msgdb-message-field): Ditto.
1355
1356         * modb-standard.el (modb-standard-economize-entity-size): New user
1357         option.
1358         (modb-standard-loaded-message-id): New inline function.
1359         (modb-standard-load-entity): Use it.
1360         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1361         throw message-id string away.
1362         (elmo-msgdb-flag-available-p): Define.
1363         (elmo-msgdb-message-number): Ditto.
1364         (elmo-msgdb-message-field): Ditto.
1365
1366         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1367         (suppoted -> supported).
1368         (modb-legacy-supported-flag-p): Ditto.
1369         (elmo-msgdb-set-flag): Ditto.
1370         (elmo-msgdb-unset-flag): Ditto.
1371         (elmo-msgdb-flag-available-p): Define.
1372
1373         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1374         is `t', treat it as legacy entity.
1375         
1376         * elmo.el (elmo-message-flag-available-p): New generic function.
1377         (elmo-message-number): Ditto.
1378         (elmo-message-field): Use `elmo-msgdb-message-field'.
1379
1380         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1381
1382         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1383         (elmo-message-number): Ditto.
1384
1385         * elmo-multi.el (elmo-message-number): Define.
1386         (elmo-message-flag-available-p): Ditto.
1387
1388         * elmo-filter.el (elmo-message-flag-available-p): Define.
1389         (elmo-message-number): Ditto.
1390
1391         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1392         (elmo-folder-initialize): Load `max-number'.
1393         (elmo-folder-commit): Save it.
1394         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1395         (elmo-global-flag-set-internal): Set up max-number slot.
1396
1397 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1398
1399         * elmo-version.el (elmo-version): Up to 2.11.31.
1400
1401 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1402
1403         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1404         unibyte string of the current buffer for the argument of `md5'
1405         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1406
1407 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1408
1409         * modb-legacy.el (modb-legacy-flag-list): New constant.
1410         (modb-legacy-suppoted-flag-p): New internal function.
1411         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1412         (elmo-msgdb-unset-flag): Ditto.
1413
1414 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1415
1416         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1417
1418         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1419         from msgdb.
1420
1421 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1422
1423         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1424         (follow the API change).
1425
1426         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1427
1428 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1429
1430         * modb-standard.el (modb-standard-digest-flags): Abolish.
1431         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1432
1433         * elmo-vars.el (elmo-digest-flags): New variable.
1434         (elmo-preserved-flags): Moved from elmo-flag.el.
1435
1436         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1437         (elmo-imap4-flag-to-imap-criteria): Ditto.
1438         (elmo-imap4-folder-list-flagged): Use it.
1439
1440         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1441
1442         * elmo.el (elmo-folder-count-flags): Changed return value.
1443
1444         * elmo-flag.el (elmo-preserved-flags): New variable.
1445         (elmo-get-global-flags): Use it.
1446
1447         * modb-standard.el (modb-standard-digest-flags): New variable.
1448         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1449         Changed behavior of `any'.
1450
1451         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1452         which are defined the Internet draft
1453         (draft-melnikov-imap-keywords-03.txt).
1454         (elmo-imap4-flags-to-imap): New function.
1455         (elmo-folder-append-buffer): Use it.
1456
1457         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1458         in the docstring.
1459
1460         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1461         avoid the bug of Emacs 21.3.
1462
1463 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1464
1465         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1466         function find-coding-system does not exist.
1467
1468 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1469
1470         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1471         parsing.
1472
1473 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1474
1475         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1476         response codes.
1477
1478 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1479
1480         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1481         (elmo-network-close-session): Follow the changes in
1482         `elmo-pop3-read-response'.
1483         (elmo-pop3-auth-user): Ditto.
1484         (elmo-pop3-auth-apop): Ditto.
1485         (elmo-network-initialize-session): Ditto.
1486         (elmo-network-authenticate-session): Ditto.
1487         (elmo-network-setup-session): Ditto.
1488         (elmo-folder-status): Ditto.
1489         (elmo-message-fetch-plugged): Ditto.
1490         (elmo-pop3-delete-msg): Ditto.
1491
1492 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1493
1494         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1495         on failure.
1496
1497 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1498
1499         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1500         style.
1501         (elmo-bind-directory): Ditto.
1502
1503 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1504
1505         * elmo.el (elmo-folder-append-messages): Note on return value.
1506         * elmo-archive.el (elmo-folder-append-messages): Don't return
1507         message numbers which could not be appended.
1508
1509 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1510
1511         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1512
1513 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1514
1515         * elmo-version.el (elmo-version): Up to 2.11.30.
1516
1517 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1518
1519         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1520         `mask'.
1521
1522         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1523
1524         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1525         (elmo-multi-split-numbers): Add elmo-folder object into each
1526         element of return value at first.
1527         (elmo-folder-delete-messages): Follow the above change.
1528         (elmo-folder-detach-messages): Ditto.
1529
1530         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1531         number which is synchronized in target folder.
1532
1533 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1534
1535         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1536         Change default value to symbol `all'.
1537         (elmo-map-message-fetch): Change condition to update overview
1538         follow the above.
1539
1540 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1541
1542         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1543         behavior to update overview.
1544         (elmo-shimbun-update-overview-folder-list): Note it.
1545
1546 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1547
1548         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1549         recursive call.
1550
1551 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1552
1553         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1554         buffer-disable-undo, it is unnecessary.
1555         (elmo-spam-register-good-messages): Ditto.
1556
1557         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1558         Ditto.
1559
1560         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1561
1562 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1563
1564         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1565         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1566         elmo-set-buffer-multibyte.
1567         (elmo-object-load): Ditto.
1568         (elmo-save-buffer): Ditto.
1569         (elmo-delete-char): Ditto.
1570         (elmo-file-field-primitive-condition-match): Ditto.
1571         (elmo-mime-string): Ditto.
1572
1573         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1574         (elmo-archive-field-condition-match): Ditto.
1575
1576         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1577
1578         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1579
1580         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1581         (elmo-nntp-msgdb-create-message): Ditto.
1582
1583         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1584
1585         * elmo.el (elmo-message-match-condition): Ditto.
1586         (elmo-message-match-condition): Ditto.
1587
1588         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1589         Ditto.
1590
1591         * elmo-version.el (elmo-version): Up to 2.11.29.
1592
1593         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1594         (elsp-header): New backend.
1595
1596         * elmo-util.el (elmo-decoded-field-body): New function.
1597
1598 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1599
1600         * elmo-version.el (elmo-version): Up to 2.11.28.
1601
1602 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1603
1604         * elmo-filter.el: Rewrite.
1605
1606         * elmo-version.el (elmo-version): Up to 2.11.27.
1607
1608 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1609
1610         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1611         msgdb path for the localdir folder with absolute path.
1612
1613         * utf7.el: Synch up with latest gnus/utf7.el;
1614         Modified for latest Emacs.
1615
1616 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1617
1618         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1619         shimbun backend couldn't open.
1620
1621 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1622
1623         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1624         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1625         when a destination folder is a filter folder.
1626
1627 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1628
1629         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1630         (elmo-generic-folder-append-messages): Call elmo-message-flags
1631         with argument `msgid'.
1632
1633         * elmo-split.el (elmo-split-subr): Ditto.
1634
1635         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1636
1637         * elmo-multi.el (elmo-message-flags): Ditto.
1638
1639 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1640
1641         * elmo.el (elmo-folder): Add new slot `flag-table'.
1642         (elmo-folder-flag-table): New API.
1643         (elmo-folder-close-flag-table): Ditto.
1644         (elmo-folder-preserve-flags): New function.
1645         (elmo-generic-folder-append-messages): Use
1646         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1647         Flag of a non-registered message, it sets to nil.
1648         Does not set flag to flag-table.
1649
1650         * elmo-maildir.el (elmo-folder-append-buffer): Use
1651         `elmo-folder-preserve-flags'.
1652         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1653         `elmo-folder-close-flag-table'.
1654
1655         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1656         (elmo-archive-folder-append-buffer): Use
1657         `elmo-folder-preserve-flags'.
1658
1659         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1660
1661         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1662
1663         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1664         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1665         `elmo-folder-close-flag-table'.
1666
1667         * elmo-version.el (elmo-version): Up to 2.11.26.
1668
1669 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1670
1671         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1672
1673         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1674         md5's 4th and 5th argument (non-existent in flim one).
1675
1676 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1677
1678         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1679         message, It sets to nil.
1680
1681 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1682
1683         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1684         list is non-nil.
1685
1686 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1687
1688         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1689
1690         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1691
1692         * elmo-util.el (elmo-uniq-sorted-list): New function.
1693         (elmo-make-number-list): Ditto.
1694         (elmo-number-set-to-number-list): Use elmo-make-number-list
1695         and don't use nreverse.
1696
1697 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1698
1699         * elmo-version.el (elmo-version): Up to 2.11.25.
1700
1701 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1702
1703         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1704         field not exists in message, Use md5 message digest of header.
1705
1706 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1707
1708         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1709         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1710         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1711         * elmo-split.el (elmo-split-subr): Check return value of
1712         elmo-folder-append-buffer.
1713
1714         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1715         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1716
1717         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1718         message-id.
1719
1720 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1721
1722         * elmo-split.el (elmo-split-subr): Append message with flag.
1723
1724         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1725         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1726         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1727
1728 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1729
1730         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1731         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1732         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1733
1734 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1735
1736         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1737         with a function call of `process-buffer'.  All callers are updated.
1738         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1739         Remove redundant `set-buffer' in a while loop.
1740
1741 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1742
1743         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1744         calls.
1745
1746 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1747
1748         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1749         elsp-spamfilter-register-buffer-internal with current buffer.
1750         (elmo-spam-register-spam-buffer): Ditto.
1751         (elmo-spam-register-good-buffer): Ditto.
1752
1753 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1754
1755         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1756         if it is not contained in the response(A workaround for courier-imap).
1757
1758 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1759
1760         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1761         parenthesis.
1762
1763 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1764
1765         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1766         range.
1767
1768 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1769
1770         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1771         of nconc.
1772
1773         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1774         argument handler.
1775         (elmo-msgdb-message-match-condition): Follow the change above.
1776
1777 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1778
1779         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1780         folder name.
1781
1782 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1783
1784         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1785
1786 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1787
1788         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1789
1790 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1791
1792         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1793         not found.
1794
1795 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1796
1797         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1798         value.
1799         (elmo-file-command-argument): Undo last change for cygwin.
1800         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1801         Don't return nil.
1802         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1803
1804 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1805
1806         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1807         value returned from elmo-file-find is nil.
1808
1809 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1810
1811         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1812         to elmo-vars.el.
1813
1814         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1815         instead of insert-file-contents-as-binary.
1816         (elmo-message-set-field): New generic function.
1817
1818         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1819         behavior change on `split-string'.
1820
1821         * elmo-file.el (elmo-file-find): New function.
1822         (elmo-file-command): New user option.
1823         (elmo-file-command-argument): Ditto.
1824         (elmo-file-fetch-max-size): Ditto.
1825         (elmo-file-detect-format): New function.
1826         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1827         Use elmo-file-detect-format.
1828         (elmo-map-folder-list-message-locations): Don't treat directories.
1829
1830 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1831
1832         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1833         (elmo-passwd-alist-clear): Shred password before clear.
1834         (elmo-remove-passwd): Remove all mached pair.
1835
1836 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1837
1838         * elmo.el (elmo-folder-synchronize): Fix description of the return
1839         value.
1840
1841 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1842
1843         * elmo.el (elmo-message-fetch-bodystructure): New method.
1844         (elmo-message-fetch-bodystructure): Define default.
1845
1846         * elmo-imap4.el (mime-imap-location-bodystructure): Call
1847         elmo-message-fetch-bodystructure.
1848         (elmo-message-fetch-bodystructure): Define.
1849
1850         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1851
1852 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
1853
1854         * elmo-filter.el (elmo-message-folder): Define.
1855
1856 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1857
1858         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1859         elmo-delete-cr-buffer.
1860
1861         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1862
1863         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1864
1865         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1866
1867         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1868         type seems to be a text.
1869
1870 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
1871
1872         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1873         (elmo-spam-register-good-buffer): Ditto.
1874         (elmo-spam-spamassassin-register-messages): Ditto.
1875
1876         * elmo-util.el (elmo-string-member-ignore-case): Define with
1877         static-cond.
1878
1879 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
1880
1881         * elmo.el (elmo-folder-type): Undo last change.
1882
1883         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1884
1885         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1886         warnings.
1887
1888         * elmo-file.el: New file.
1889         
1890         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1891
1892         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1893         variable.
1894         (elmo-spam-spamassassin-register-messages): New inline function.
1895         (elmo-spam-register-spam-messages): Define.
1896         (elmo-spam-register-good-messages): Ditto.
1897
1898         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1899         Fixed typo.
1900
1901         * elmo.el (toplevel): Added autoload setting for
1902         `elmo-get-global-flags'.
1903         (elmo-message-has-global-flag-p): New function.
1904         (elmo-message-set-global-flags): Ditto.
1905         (elmo-folder-type): Improvement for name: format.
1906
1907         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1908         availability of keyword flags.
1909         (elmo-imap4-folder-list-flagged): Treat keyword flags.
1910         (elmo-folder-list-flagged-plugged): Renamed from
1911         elmo-folder-list-flagged-unplugged.
1912         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1913         accept any flag as keyword flag.
1914         (elmo-folder-set-flag-plugged): Accept keyword flags.
1915         (toplevel): Added autoload setting for `elmo-get-global-flags'.
1916
1917         * elmo-flag.el (elmo-get-global-flags): New function.
1918
1919         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1920         folders.
1921
1922         * elmo-version.el (elmo-version): Up to 2.11.24.
1923
1924 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1925
1926         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1927         elmo-multiple-field-body instead of std11-field-body to check all
1928         headers.
1929
1930 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1931
1932         * elmo-util.el (elmo-cache-expire): Completion require match "age"
1933         or "size".
1934
1935 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1936
1937         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1938         unintern is unbound.
1939
1940 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1941
1942         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1943         Protect from infinite loop.
1944
1945 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1946
1947         * elsp-bogofilter.el
1948         (elmo-spam-bogofilter-max-messages-per-process): New user option.
1949         (elmo-spam-bogofilter-register-messages): New internal function.
1950         (elmo-spam-register-spam-messages): Define.
1951         (elmo-spam-register-good-messages): Ditto.
1952
1953 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1954
1955         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1956         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1957         (elmo-spam-bogofilter-call): Fixed the last change.
1958         (elmo-spam-bogofilter-arguments): Ditto.
1959
1960         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1961         Follow the options change of latest bogofilter.
1962
1963         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1964         (elmo-spam-bogofilter-good-switch): Ditto.
1965         (elmo-spam-bogofilter-arguments-alist): New user option.
1966         (elmo-spam-bogofilter-debug): Ditto.
1967         (elmo-spam-bogofilter-call): Renamed from
1968         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1969         is non-nil, insert output in buffer for debug.
1970         (elmo-spam-bogofilter-arguments): New macro.
1971         (elmo-spam-buffer-spam-p): Use it.
1972         (elsp-bogofilter-register-buffer): Ditto.
1973
1974 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1975
1976         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1977         regexp.
1978
1979 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1980
1981         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1982         value as "ruby".
1983         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1984         (elmo-spam-bsfilter-program): Set default value as full path for
1985         `bsfilter'.
1986         (elmo-spam-bsfilter-debug): New user option.
1987         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1988         non-nil, insert output in buffer for debug. Fix treating of
1989         argument.
1990
1991 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1992
1993         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1994         `elmo-maildir-flag-specs' element instead of one.
1995         (elmo-map-folder-unset-flag): Ditto.
1996         (Reported by Ken Makimura <macky@astem.or.jp>)
1997
1998         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1999         (elmo-folder-unset-flag-plugged): Ditto.
2000
2001 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2002
2003         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2004         to `reads' slot only if `in-msgdb' is nil.
2005
2006 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2007
2008         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2009         and complement argument list.
2010
2011 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2012
2013         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2014         instead of elmo-folder-list-flagged.
2015
2016 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2017
2018         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2019
2020         * elsp-bsfilter.el: New file.
2021
2022         * elmo-pipe.el (elmo-folder-list-unreads,
2023         elmo-folder-list-answereds,
2024         elmo-folder-list-importants,
2025         elmo-folder-flag-as-important,
2026         elmo-folder-unflag-important,
2027         elmo-folder-flag-as-read,
2028         elmo-folder-unflag-read,
2029         elmo-folder-flag-as-answered,
2030         elmo-folder-unflag-answered): Remove.
2031         (elmo-folder-set-flag): Define.
2032         (elmo-folder-unset-flag): Ditto.
2033
2034         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2035         (elmo-folder-set-flag): Define.
2036         (elmo-folder-unset-flag): Ditto.
2037         (elmo-folder-list-unreads): Remove.
2038         (elmo-folder-list-flagged): Define.
2039
2040         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2041         (elmo-folder-list-unreads,
2042         elmo-folder-list-importants,
2043         elmo-folder-list-answereds,
2044         elmo-folder-list-unreads-plugged,
2045         elmo-folder-list-importants-plugged,
2046         elmo-folder-list-answereds-plugged): Remove.
2047         (elmo-folder-list-flagged-plugged): New method.
2048         (elmo-folder-unflag-important,
2049         elmo-folder-flag-as-important,
2050         elmo-folder-unflag-read,
2051         elmo-folder-flag-as-read,
2052         elmo-folder-unflag-answered,
2053         elmo-folder-flag-as-answered,
2054         elmo-folder-flag-as-read-unplugged,
2055         elmo-folder-unflag-read-unplugged,
2056         elmo-folder-flag-as-important-unplugged,
2057         elmo-folder-unflag-important-unplugged,
2058         elmo-folder-flag-as-answered-unplugged,
2059         elmo-folder-unflag-answered-unplugged): Remove.
2060         (elmo-folder-set-flag): Define.
2061         (elmo-folder-unset-flag): Ditto.
2062         (elmo-folder-set-flag-unplugged): Ditto.
2063         (elmo-folder-unset-flag-unplugged): Ditto.
2064
2065         * elmo-multi.el (elmo-folder-list-unreads,
2066         elmo-folder-list-answereds,
2067         elmo-folder-list-importants,
2068         elmo-folder-flag-as-important,
2069         elmo-folder-unflag-important,
2070         elmo-folder-flag-as-read,
2071         elmo-folder-unflag-read,
2072         elmo-folder-flag-as-answered,
2073         elmo-folder-unflag-answered): Remove.
2074         (elmo-folder-set-flag): Define.
2075         (elmo-folder-unset-flag): Ditto.
2076
2077         * elmo-map.el (elmo-map-folder-unflag-important,
2078         elmo-map-folder-flag-as-important,
2079         elmo-map-folder-unflag-read,
2080         elmo-map-folder-flag-as-read,
2081         elmo-map-folder-unflag-answered,
2082         elmo-map-folder-flag-as-answered): Remove.
2083         (elmo-map-folder-set-flag): New method.
2084         (elmo-map-folder-unset-flag): Ditto.
2085         (elmo-map-folder-list-unreads,
2086         elmo-map-folder-list-importants,
2087         elmo-map-folder-list-answereds): Remove.
2088         (elmo-folder-list-flagged-internal): Define.
2089         (elmo-map-folder-list-flagged): New method.
2090
2091         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2092         (elmo-map-folder-list-unreads,
2093         elmo-map-folder-list-importants,
2094         elmo-map-folder-list-flagged): Remove.
2095         (elmo-map-folder-list-flagged): Define.
2096         (elmo-map-folder-flag-as-important,
2097         elmo-map-folder-unflag-important,
2098         elmo-map-folder-flag-as-read,
2099         elmo-map-folder-unflag-read,
2100         elmo-map-folder-flag-as-answered,
2101         elmo-map-folder-unflag-answered): Remove.
2102         (elmo-maildir-set-mark-messages): New internal function.
2103         (elmo-map-folder-set-flag): Define.
2104         (elmo-map-folder-unset-flag): Ditto.
2105
2106         * elmo.el (toplevel): Added autoload setting for
2107         `elmo-folder-list-global-flag-messages'.
2108         (elmo-folder-list-unreads,
2109         elmo-folder-list-importants,
2110         elmo-folder-list-answereds): Remove.
2111         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2112         Return a list whitch merged with messages have global flag.
2113         (elmo-folder-list-flagged-internal): New method.
2114         (elmo-folder-unflag-important,
2115         elmo-folder-flag-as-important,
2116         elmo-folder-unflag-read,
2117         elmo-folder-flag-as-read,
2118         elmo-folder-unflag-answered,
2119         elmo-folder-flag-as-answered): Remove.
2120         (elmo-folder-set-flag): New method.
2121         (elmo-folder-unset-flag): Ditto.
2122         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2123         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2124
2125         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2126         (elmo-folder-list-unreads-plugged,
2127         elmo-folder-list-importants-plugged,
2128         elmo-folder-list-answereds-plugged,
2129         elmo-folder-list-flagged-unplugged,
2130         elmo-folder-unflag-important-plugged,
2131         elmo-folder-flag-as-important-plugged,
2132         elmo-folder-unflag-read-plugged,
2133         elmo-folder-flag-as-read-plugged,
2134         elmo-folder-unflag-answered-plugged,
2135         elmo-folder-flag-as-answered-plugged): Remove.
2136         (elmo-folder-set-flag-plugged,
2137         elmo-folder-unset-flag-plugged): Define.
2138
2139         * elmo-flag.el (elmo-folder-initialize): Register to
2140         `elmo-global-flag-list' if flag is not global.
2141         (elmo-folder-append-messages): Set flag to source messages.
2142
2143         * elmo-filter.el (elmo-filter-folder-list-unreads,
2144         elmo-folder-list-unreads,
2145         elmo-filter-folder-list-importants,
2146         elmo-folder-list-importants,
2147         elmo-folder-flag-as-read,
2148         elmo-folder-unflag-read,
2149         elmo-folder-flag-as-important,
2150         elmo-folder-unflag-important,
2151         elmo-folder-flag-as-answered,
2152         elmo-folder-unflag-answered): Remove.
2153         (elmo-folder-set-flag): Define.
2154         (elmo-folder-unset-flag): Ditto.
2155
2156         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2157         elmo-folder-unflag-read-dop,
2158         elmo-folder-flag-as-important-dop,
2159         elmo-folder-unflag-important-dop,
2160         elmo-folder-flag-as-answered-dop,
2161         elmo-folder-unflag-answered-dop): Remove.
2162         (elmo-folder-set-flag-dop,
2163         elmo-folder-unset-flag-dop,
2164         elmo-folder-set-important-delayed,
2165         elmo-folder-unset-important-delayed,
2166         elmo-folder-set-read-delayed,
2167         elmo-folder-unset-read-delayed,
2168         elmo-folder-set-answered-delayed,
2169         elmo-folder-unset-answered-delayed): New function.
2170         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2171         (elmo-dop-queue-method-name-alist): Ditto.
2172
2173         * elmo-version.el (elmo-version): Up to 2.11.23.
2174
2175 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2176
2177         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2178
2179         * elsp-sa.el: New file.
2180
2181 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2182
2183         * modb-standard.el (modb-standard-message-entity): New function.
2184         (elmo-msgdb-message-entity): Use it.
2185
2186 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2187
2188         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2189         behavior when one-level is nil.
2190
2191         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2192
2193         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2194
2195 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2196
2197         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2198         get max number.
2199         (elmo-generic-folder-diff): Ditto.
2200
2201         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2202         (elmo-folder-update-number): Ditto.
2203
2204         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2205         (elmo-folder-next-message-number-dop): Ditto.
2206
2207 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2208
2209         * elmo-filter.el (elmo-folder-msgdb-create): Use
2210         `elmo-message-entity' and `elmo-message-flags' instead of
2211         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2212
2213 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2214
2215         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2216         `if-exists'.
2217
2218 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2219
2220         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2221
2222         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2223
2224         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2225
2226 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2227
2228         * elmo-version.el (elmo-version): Up to 2.11.22.
2229
2230 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2231
2232         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2233
2234 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2235
2236         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2237         if the message dose not exist.
2238
2239 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2240
2241         * elmo-version.el (elmo-version): Up to 2.11.21.
2242
2243 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2244
2245         * modb-standard.el (toplevel): Don't require mime.
2246
2247 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2248
2249         * elsp-bogofilter.el (toplevel): Don't require path-util.
2250         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2251         (elmo-spam-bogofilter-header): Abolish.
2252         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2253         (elmo-spam-bogofilter-args): New user option.
2254         (elsp-bogofilter-call-bogofilter): New internal function.
2255         (elmo-spam-buffer-spam-p): Use it.
2256         (elsp-bogofilter-register-buffer): Renamed from
2257         `elmo-spam-bogofilter-register-buffer';
2258         Use `elsp-bogofilter-call-bogofilter'.
2259         (elmo-spam-register-spam-buffer): Follow the change above.
2260         (elmo-spam-register-good-buffer): Ditto.
2261
2262 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2263
2264         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2265         message-id is nil do nothing.
2266
2267 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2268
2269         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2270         Revival.
2271         (elmo-imap4-session): Removed use-flag slot.
2272         (elmo-imap4-session-select-mailbox): Undo last change.
2273         (elmo-folder-use-flag-p): Use
2274         elmo-imap4-disuse-server-flag-mailbox-regexp.
2275
2276 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2277
2278         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2279         (elmo-imap4-session-select-mailbox): Set it up.
2280         (elmo-folder-use-flag-p): Return value of use-flag slot.
2281
2282 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2283
2284         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2285         message-id is nil.
2286         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2287
2288         * modb-entity.el (elmo-message-entity-handler): Likewise.
2289
2290 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2291
2292         * elmo.el (toplevel): Remove setting of autoloding for
2293         elmo-global-flag-initialize.
2294         (elmo-init): Don't call elmo-global-flag-initialize.
2295         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2296
2297         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2298         (elmo-global-mark-migrate): Don't call it.
2299         (elmo-global-mark-upgrade): Ditto.
2300
2301 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2302
2303         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2304         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2305
2306         * elmo-vars.el (elmo-init-hook): New user option.
2307
2308         * elmo.el (elmo-init): Run the elmo-init-hook.
2309
2310         * elmo-flag.el (elmo-global-mark-migrate): New function.
2311
2312 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2313
2314         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2315         Undo last change (move to elmo-msgdb-unset-flag).
2316         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2317         flag is unset.
2318
2319 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2320
2321         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2322         read flag is set.
2323         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2324         (elmo-msgdb-unset-flag): Ditto.
2325
2326 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2327
2328         * elmo-split.el (elmo-split): Return split message count.
2329
2330 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2331
2332         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2333         is nil.
2334
2335 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2336
2337         * elmo.el (elmo-folder-unflag-important): Call
2338         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2339         a symbol `always'.
2340
2341         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2342         before unset flag.
2343         (elmo-global-flag-detach): Delete the message from flag folder, if
2344         `delete-if-none' is a symbol `always'.
2345
2346 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2347
2348         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2349         `elmo-spam-spamfilter-decode-buffer'.
2350         (elsp-spamfilter-register-buffer-internal): New internal function.
2351         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2352         (elmo-spam-register-spam-buffer): Ditto.
2353         (elmo-spam-register-good-buffer): Ditto.
2354
2355         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2356         change.
2357         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2358         (elmo-spam-register-spam-buffer): Follow the API change.
2359         (elmo-spam-register-good-buffer): Ditto.
2360
2361         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2362         (elmo-split-spam-p): Added argument plist; Call
2363         `elmo-spam-buffer-spam-p' with new argument register.
2364
2365         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2366         `register'.
2367         (elmo-spam-message-spam-p): Ditto.
2368         (elmo-spam-register-spam-buffer): Added optional argument
2369         `restore'.
2370         (elmo-spam-register-good-buffer): Ditto.
2371         (elmo-spam-register-spam-messages): Ditto.
2372         (elmo-spam-register-good-messages): Ditto.
2373
2374 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2375
2376         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2377         register into good corpus.
2378         (elmo-spam-register-good-buffer): Fixed to register into bad
2379         corpus.
2380
2381 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2382
2383         * elmo-version.el (elmo-version): Up to 2.11.20.
2384
2385         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2386         change.
2387
2388         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2389         flag without depending on \Recent flag.
2390
2391 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2392
2393         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2394         (elmo-spam-modified-p): Defined.
2395         (elmo-spam-save-status): Set `modified' slot to nil.
2396         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2397         (elmo-spam-register-good-buffer): Ditto.
2398
2399         * elmo-spam.el (elmo-spam-modified-p): New API.
2400
2401 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2402
2403         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2404         duplicate definition.
2405
2406         * elmo-util.el (elmo-unfold-field-body): New function.
2407         (elmo-msgdb-get-message-id-from-buffer): Use it.
2408
2409         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2410         Fixed the last change; Use elmo-unfold-field-body.
2411
2412 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2413
2414         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2415         Unfold date value.
2416
2417 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2418
2419         * elmo-spam.el (elmo-spam-save-status): New API.
2420
2421         * elsp-spamfilter.el: New file.
2422
2423 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2424
2425         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2426
2427 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2428
2429         * elmo-split.el (elmo-split-spam-p): New function.
2430
2431         * elmo-spam.el: New file.
2432
2433         * elsp-bogofilter.el: Ditto.
2434
2435 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2436
2437         * elmo.el (elmo-folder-next-message-number): New API.
2438         (elmo-folder-next-message-number): Define.
2439         (elmo-message-field): Don't check folder length.
2440
2441         * elmo-net.el (elmo-folder-next-message-number): Define.
2442         (elmo-folder-next-message-number-unplugged): Define.
2443
2444         * elmo-map.el (elmo-folder-next-message-number): Define.
2445         (elmo-folder-delete-messages): Clear hash value.
2446
2447         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2448
2449         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2450         (elmo-folder-delete-messages-dop-delayed): Always return t.
2451
2452         * elmo-version.el (elmo-version): Up to 2.11.19.
2453
2454 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2455
2456         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2457         change.
2458
2459         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2460         identical cons cell into the mark-alist and the hash table.
2461
2462 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2463
2464         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2465         elmo-folder-list-messages with argument `visible-only' as t.
2466
2467         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2468         (elmo-folder-msgdb-create): Check the target folder.
2469
2470 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2471
2472         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2473         `permanentflag' instead of `flags'.
2474         (elmo-folder-open): Ditto.
2475         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2476         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2477         (elmo-folder-use-flag-p): Always return t.
2478         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2479         `permanentflags' does not exist.
2480         (elmo-folder-open): Ditto.
2481
2482 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2483
2484         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2485         is nil.
2486         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2487
2488         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2489         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2490         response.
2491         (elmo-folder-open): Ditto.
2492         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2493         slot of the session includes the flag.
2494         (elmo-imap4-session-flag-available-p): New function.
2495         (elmo-imap4-folder-list-flagged): Ditto.
2496         (elmo-folder-list-unreads-plugged): Use it.
2497         (elmo-folder-list-importants-plugged): Ditto.
2498         (elmo-folder-list-answereds-plugged): Ditto.
2499         (elmo-imap4-search-internal-primitive): Ditto.
2500         (elmo-imap4-folder-list-any-plugged,
2501         elmo-imap4-folder-list-digest-plugged): Abolish.
2502
2503         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2504         if numbers is nil.
2505
2506 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2507
2508         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2509
2510 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2511
2512         * elmo-util.el (elmo-get-hash-val): Simplify.
2513         (elmo-set-hash-val): Rewrite.
2514
2515 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2516
2517         * elmo.el (elmo-folder-list-messages): Append killed messages into
2518         result if `visible-only' is nil and `in-msgdb' is non-nil.
2519
2520         * elmo-util.el (elmo-uniq-list): Added optional argument
2521         `delete-function'.
2522
2523         * modb.el (elmo-msgdb-flag-count): New API.
2524
2525         * modb-standard.el (modb-standard): Added slot flag-count.
2526         (modb-standard-countup-flags): New function.
2527         (modb-standard-load-flag): Call it.
2528         (elmo-msgdb-append): Ditto.
2529         (elmo-msgdb-clear): Clear slot flag-count.
2530         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2531         (elmo-msgdb-unset-flag): Treat `all' flag and call
2532         modb-standard-countup-flags.
2533         (elmo-msgdb-flag-count): Define.
2534         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2535         (elmo-msgdb-delete-messages): Ditto.
2536
2537         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2538         (elmo-msgdb-flag-count): Define.
2539
2540         * elmo.el (elmo-folder-list-messages): Undo last change.
2541         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2542         (elmo-folder-kill-messages): Unset all flags to numbers.
2543
2544         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2545         elmo-folder-kill-messages.
2546
2547         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2548         (elmo-nntp-folder-delete-messages): Abolish.
2549
2550         * elmo-version.el (elmo-version): Up to 2.11.18.
2551
2552 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2553
2554         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2555         (elmo-folder-kill-messages-range): New function.
2556         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2557         instead of elmo-folder-kill-messages-before.
2558
2559 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2560
2561         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2562         elmo-imap4-current-msgdb to decide entity handler.
2563
2564 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2565
2566         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2567
2568         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2569         inline function.
2570         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2571         (elmo-msgdb-overview-entity-set-number,
2572         elmo-msgdb-overview-entity-get-references,
2573         elmo-msgdb-overview-entity-set-references,
2574         elmo-msgdb-overview-entity-get-from-no-decode,
2575         elmo-msgdb-overview-entity-get-from,
2576         elmo-msgdb-overview-entity-set-from,
2577         elmo-msgdb-overview-entity-get-subject,
2578         elmo-msgdb-overview-entity-get-subject-no-decode,
2579         elmo-msgdb-overview-entity-set-subject,
2580         elmo-msgdb-overview-entity-get-date,
2581         elmo-msgdb-overview-entity-set-date,
2582         elmo-msgdb-overview-entity-get-to,
2583         elmo-msgdb-overview-entity-get-cc,
2584         elmo-msgdb-overview-entity-get-size,
2585         elmo-msgdb-overview-entity-set-size,
2586         elmo-msgdb-overview-entity-get-extra,
2587         elmo-msgdb-overview-entity-set-extra,
2588         elmo-msgdb-overview-entity-get-extra-field,
2589         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2590         (elmo-msgdb-make-index): Use
2591         `elmo-msgdb-overview-entity-get-number-internal'.
2592         (elmo-msgdb-clear-index): Ditto.
2593         (elmo-msgdb-append-entity): Ditto;
2594         Use `elmo-msgdb-overview-entity-get-id-internal'.
2595
2596         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2597         elmo-msgdb-overview-entity-set-number,
2598         elmo-msgdb-overview-entity-get-references,
2599         elmo-msgdb-overview-entity-set-references,
2600         elmo-msgdb-overview-entity-get-from-no-decode,
2601         elmo-msgdb-overview-entity-get-from,
2602         elmo-msgdb-overview-entity-set-from,
2603         elmo-msgdb-overview-entity-get-subject,
2604         elmo-msgdb-overview-entity-get-subject-no-decode,
2605         elmo-msgdb-overview-entity-set-subject,
2606         elmo-msgdb-overview-entity-get-date,
2607         elmo-msgdb-overview-entity-set-date,
2608         elmo-msgdb-overview-entity-get-to,
2609         elmo-msgdb-overview-entity-get-cc,
2610         elmo-msgdb-overview-entity-get-size,
2611         elmo-msgdb-overview-entity-set-size,
2612         elmo-msgdb-overview-entity-get-extra,
2613         elmo-msgdb-overview-entity-set-extra,
2614         elmo-msgdb-overview-entity-get-extra-field,
2615         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2616         and rewrote for backward compatibility.
2617
2618 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2619
2620         * elmo.el (elmo-message-entity-number,
2621         elmo-message-entity-set-number,
2622         elmo-message-entity-field,
2623         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2624
2625         * elmo-msgdb.el (elmo-message-entity-number,
2626         elmo-message-entity-set-number,
2627         elmo-message-entity-field,
2628         elmo-message-entity-set-field): Moved from elmo.el.
2629
2630 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2631
2632         * elmo.el (toplevel): Changed definition orders.
2633
2634 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2635
2636         * modb.el (elmo-msgdb-search): New API .
2637         (elmo-msgdb-match-condition): Ditto.
2638
2639         * modb-standard.el (elmo-msgdb-search): Define.
2640
2641         * modb-legacy.el (elmo-msgdb-search): Ditto.
2642
2643         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2644         from elmo-msgdb-match-condition-internal.
2645
2646         * elmo.el (elmo-folder-search-fast): Abolish.
2647         (elmo-folder-search): Use elmo-msgdb-search and
2648         elmo-with-progress-display.
2649
2650         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2651         as msgdb API.
2652
2653         * elmo.el (elmo-folder): Remove slot message-modified and
2654         flag-modified.
2655         (elmo-folder-set-message-modified): Abolish.
2656         (elmo-generic-folder-commit): Follow the change above.
2657         (elmo-folder-synchronize): Ditto.
2658
2659         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2660
2661         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2662
2663         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2664
2665 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2666
2667         * modb-standard.el (modb-standard-make-message-entity,
2668         elmo-msgdb-make-message-entity,
2669         elmo-msgdb-create-message-entity-from-buffer,
2670         elmo-msgdb-message-entity-number,
2671         elmo-msgdb-message-entity-set-number,
2672         elmo-msgdb-message-entity-field,
2673         elmo-msgdb-message-entity-set-field,
2674         elmo-msgdb-copy-message-entity,
2675         elmo-msgdb-match-condition-internal): Remove.
2676
2677         * modb-entity.el: New file (again).
2678
2679         * modb.el (toplevel): Require modb-entity.
2680         (elmo-msgdb-message-entity-handler): New method.
2681
2682         * modb-standard.el (modb-standard-entity-id): Use
2683         elmo-message-entity-handler.
2684         (modb-standard-load-entity): Ditto.
2685         (elmo-msgdb-append-entity): Ditto.
2686         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2687
2688         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2689         elmo-msgdb-decoded-cache-hashtb,
2690         (modb-legacy-make-message-entity,
2691         elmo-msgdb-make-message-entity,
2692         elmo-msgdb-create-message-entity-from-buffer,
2693         elmo-msgdb-message-entity-number,
2694         elmo-msgdb-message-entity-set-number,
2695         elmo-msgdb-message-entity-field,
2696         elmo-msgdb-message-entity-set-field,
2697         elmo-msgdb-copy-message-entity,
2698         elmo-msgdb-match-condition-internal,
2699         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2700
2701         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2702         (elmo-message-entity-set-number): Ditto.
2703         (elmo-message-entity-field): Ditto.
2704         (elmo-message-entity-set-field): Ditto.
2705
2706         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2707
2708         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2709
2710         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2711
2712         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2713         (elmo-nntp-msgdb-create-message): Ditto.
2714
2715         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2716         (elmo-folder-msgdb-create): Add unread flag.
2717
2718         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2719
2720         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2721
2722         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2723
2724         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2725
2726         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2727         elmo-msgdb-messge-entity-handler.
2728         * elmo-version.el (elmo-version): Up to 2.11.17.
2729
2730 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2731
2732         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2733         change.
2734
2735 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2736
2737         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2738
2739         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2740         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2741         (elmo-msgdb-flag-table): Ditto.
2742         (elmo-msgdb-sort-by-date): Ditto.
2743
2744         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2745
2746         * modb-standard.el (toplevel): Require mime.
2747         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2748         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2749         elmo-msgdb-message-entity-number.
2750         (elmo-msgdb-append-entity): Ditto.
2751         (elmo-msgdb-create-message-entity-from-file): Remove.
2752         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2753         corresponds to the entity.
2754         (elmo-msgdb-message-entity-number): Do nothing currently.
2755         (elmo-msgdb-message-entity-field): Ditto.
2756         (elmo-msgdb-message-entity-set-field): Ditto.
2757         (elmo-msgdb-copy-message-entity): Ditto.
2758         (elmo-msgdb-match-condition-internal): Ditto.
2759
2760         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2761         elmo-util.el.
2762         (elmo-msgdb-create-message-entity-from-file): Remove.
2763
2764         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2765         modb-legacy.el.
2766         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2767
2768         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2769
2770 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2771
2772         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2773         (elmo-msgdb-message-entity-field): Ditto.
2774         (elmo-msgdb-message-entity-number): Ditto.
2775
2776 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2777
2778         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2779         Fixed how to set extra field into entity.
2780         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2781         symbol.
2782
2783         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2784         Fixed how to set extra field into entity.
2785         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2786         symbol.
2787
2788 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2789
2790         * modb.el (elmo-message-entity-db): New function.
2791         (elmo-msgdb-make-message-entity): New API.
2792         (elmo-msgdb-message-entity-number): Ditto.
2793         (elmo-msgdb-message-entity-set-number): Ditto.
2794         (elmo-msgdb-message-entity-field): Ditto.
2795         (elmo-msgdb-message-entity-set-field): Ditto.
2796         (elmo-msgdb-copy-message-entity): Ditto.
2797         (elmo-msgdb-create-message-entity-from-file): Ditto.
2798         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2799         (elmo-msgdb-match-condition-internal): Ditto.
2800
2801         * modb-standard.el (modb-legacy): Require modb-legacy.
2802         (modb-standard-make-message-entity): New inline function.
2803         (elmo-msgdb-make-message-entity): Define.
2804         (elmo-msgdb-create-message-entity-from-file): Ditto.
2805         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2806         (elmo-msgdb-message-entity-field): Ditto.
2807         (elmo-msgdb-message-entity-set-field): Ditto.
2808         (elmo-msgdb-copy-message-entity): Ditto.
2809         (elmo-msgdb-match-condition-internal): Ditto.
2810
2811         * modb-legacy.el: Don't require modb-entity.
2812         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2813         (elmo-msgdb-match-condition-primitive): Ditto.
2814         (elmo-msgdb-get-decoded-cache): Ditto.
2815         (elmo-msgdb-overview-entity-get-id): Ditto.
2816         (elmo-msgdb-overview-entity-get-number): Ditto.
2817         (elmo-msgdb-overview-entity-set-number): Ditto.
2818         (elmo-msgdb-overview-entity-get-references): Ditto.
2819         (elmo-msgdb-overview-entity-set-references): Ditto.
2820         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2821         (elmo-msgdb-overview-entity-get-from): Ditto.
2822         (elmo-msgdb-overview-entity-set-from): Ditto.
2823         (elmo-msgdb-overview-entity-get-subject): Ditto.
2824         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2825         (elmo-msgdb-overview-entity-set-subject): Ditto.
2826         (elmo-msgdb-overview-entity-get-date): Ditto.
2827         (elmo-msgdb-overview-entity-set-date): Ditto.
2828         (elmo-msgdb-overview-entity-get-to): Ditto.
2829         (elmo-msgdb-overview-entity-get-cc): Ditto.
2830         (elmo-msgdb-overview-entity-get-size): Ditto.
2831         (elmo-msgdb-overview-entity-set-size): Ditto.
2832         (elmo-msgdb-overview-entity-get-extra): Ditto.
2833         (elmo-msgdb-overview-entity-set-extra): Ditto.
2834         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2835         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2836         (elmo-msgdb-number-load): Ditto.
2837         (elmo-msgdb-overview-load): Ditto.
2838         (elmo-msgdb-mark-load): Ditto.
2839         (elmo-msgdb-number-save): Ditto.
2840         (elmo-msgdb-mark-save): Ditto.
2841         (elmo-msgdb-overview-save): Ditto.
2842         (modb-legacy-make-message-entity): New inline function.
2843         (elmo-msgdb-insert-file-header): Ditto.
2844         (elmo-msgdb-make-message-entity): Define.
2845         (elmo-msgdb-create-message-entity-from-file): Ditto.
2846         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2847         (elmo-msgdb-message-entity-number): Ditto.
2848         (elmo-msgdb-message-entity-set-number): Ditto.
2849         (elmo-msgdb-message-entity-field): Ditto.
2850         (elmo-msgdb-message-entity-set-field): Ditto.
2851         (elmo-msgdb-copy-message-entity): Ditto.
2852         (elmo-msgdb-match-condition-internal): Ditto.
2853
2854         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2855         (elmo-message-copy-entity): Rewrite.
2856         (elmo-message-entity-number): Ditto.
2857         (elmo-message-entity-set-number): Ditto.
2858         (elmo-message-entity-field): Use elmo-message-entity-db.
2859         (elmo-message-entity-set-field): Ditto.
2860         (elmo-message-field): Rewrite.
2861
2862         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2863         elmo-msgdb.el
2864         (elmo-msgdb-get-message-id-from-buffer): Ditto.
2865
2866         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2867         elmo-message-entity-field.
2868         (elmo-shimbun-folder-shimbun-header): Ditto.
2869         (elmo-shimbun-entity-to-header): Ditto.
2870         (elmo-folder-msgdb-create): Ditto.
2871         (elmo-shimbun-msgdb-create-entity): Ditto;
2872         Use elmo-msgdb-create-message-entity-from-buffer.
2873         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2874         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2875
2876         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2877         elmo-msgdb-create-message-entity-from-file and 
2878         elmo-message-entity-field.
2879
2880         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2881         elmo-message-entity-number.
2882         (elmo-pop3-msgdb-create-message): Use
2883         elmo-msgdb-create-message-entity-from-buffer,
2884         elmo-message-entity-set-field, elmo-message-entity-number and
2885         elmo-message-entity-set-number.
2886
2887         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2888         the API change in elmo-msgdb-make-message-entity.
2889         (elmo-nntp-msgdb-create-message): Use
2890         elmo-msgdb-create-message-entity-from-buffer.
2891
2892         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2893         elmo-message-entity-field and
2894         elmo-msgdb-create-message-entity-from-file.
2895
2896         * elmo-msgdb.el (toplevel): Don't require modb-entity.
2897         (elmo-msgdb-get-field): Abolish.
2898         (elmo-msgdb-get-number): Rewrite.
2899         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2900         (elmo-msgdb-flag-table): Ditto.
2901         (elmo-msgdb-get-last-message-id,
2902         elmo-msgdb-number-load, elmo-msgdb-overview-load,
2903         elmo-msgdb-mark-load, elmo-msgdb-number-save,
2904         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2905         (elmo-msgdb-create-overview-from-buffer,
2906         elmo-msgdb-overview-get-parent-entity): Abolish.
2907
2908         * elmo-mime.el (elmo-mime-display-as-is): Use
2909         elmo-message-entity-field.
2910
2911         * elmo-map.el (elmo-folder-pack-numbers): Use
2912         elmo-message-entity-set-number.
2913
2914         * elmo-maildir.el (elmo-folder-msgdb-create): 
2915         elmo-msgdb-create-message-entity-from-file instead of
2916         elmo-msgdb-create-overview-entity-from-file.
2917
2918         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2919         msgdb.
2920         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2921         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2922
2923         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2924         elmo-messge-entity-field and elmo-message-entity-number.
2925         (elmo-imap4-fetch-callback-1): Call
2926         elmo-msgdb-create-message-entity-from-buffer instead of
2927         elmo-msgdb-create-overview-from-buffer. 
2928         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2929         (elmo-find-fetch-strategy): Likewise.
2930
2931         * elmo-flag.el (elmo-folder-msgdb-create): Call 
2932         elmo-localdir-msgdb-create-entity with argument msgdb.
2933
2934         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2935         and elmo-message-entity-set-number.
2936
2937         * elmo-cache.el (elmo-folder-msgdb-create): Use
2938         elmo-message-entity-field.
2939         (elmo-folder-msgdb-create): Call
2940         elmo-msgdb-create-message-entity-from-file instead of
2941         elmo-msgdb-create-overview-entity-from-file.
2942
2943         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2944         argument msgdb; Call elmo-msgdb-create-message-from-buffer
2945         instead of elmo-msgdb-create-overview-from-buffer.
2946         (elmo-archive-msgdb-create-entity): Ditto.
2947         (elmo-archive-msgdb-create-as-numlist-subr1): Use
2948         elmo-message-entity-field.
2949         (elmo-archive-parse-mmdf): Ditto.
2950
2951         * modb-entity.el: Removed.
2952
2953         * elmo-version.el (elmo-version): Up to 2.11.16.
2954
2955 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
2956
2957         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2958         `is-local'.
2959         (elmo-folder-flag-as-answered): Ditto.
2960
2961 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2962
2963         * modb-standard.el: New file.
2964
2965         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2966         elmo-msgdb-convert-type is `sync'.
2967
2968         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2969         (elmo-msgdb-convert-type): New user option.
2970
2971         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2972         (elmo-load-msgdb): Auto detect saved type.
2973
2974         * elmo-version.el (elmo-version): Up to 2.11.15.
2975
2976 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
2977
2978         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2979
2980         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2981         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2982         with argument `delete-if-none' when dst-folder is 'null.
2983
2984         * elmo-flag.el (elmo-folder-append-messages): Defined.
2985         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2986
2987 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2988
2989         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2990
2991 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2992
2993         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2994         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2995         (elmo-folder-commit): Ditto.
2996
2997 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2998
2999         * elmo-flag.el: New file.
3000
3001         * elmo-mark.el: Removed.
3002
3003         * modb-legacy.el (modb-legacy-new-mark,
3004         modb-legacy-unread-uncached-mark,
3005         modb-legacy-unread-cached-mark,
3006         modb-legacy-read-uncached-mark,
3007         modb-legacy-answered-cached-mark,
3008         modb-legacy-answered-uncached-mark,
3009         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3010         All other related portions are changed.
3011
3012         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3013         (elmo-folder-list-messages-with-global-mark): Abolish.
3014         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3015         (elmo-folder-flag-as-important): Ditto.
3016         (elmo-folder-unflag-read): Ditto.
3017         (elmo-folder-flag-as-read): Ditto.
3018         (elmo-folder-unflag-answered): Ditto.
3019         (elmo-folder-flag-as-answered): Ditto.
3020         (elmo-message-encache): Return the cache path.
3021         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3022         (elmo-message-set-flag): Transitional implementation.
3023         (elmo-message-unset-flag): Ditto.
3024         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3025         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3026         (elmo-init): Call elmo-global-flag-initialize.
3027         (toplevel): Added autoload settings for elmo-flag.
3028
3029         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3030
3031         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3032         (elmo-file-cache-delete): Don't treat global-mark.
3033
3034         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3035
3036         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3037
3038         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3039         `elmo-global-flags-set'.
3040
3041         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3042         `flag'.
3043         (elmo-folder-unflag-read): Ditto.
3044         (elmo-folder-unflag-important): Ditto.
3045         (elmo-folder-flag-as-important): Ditto.
3046         (elmo-folder-unflag-answered): Ditto.
3047         (elmo-folder-flag-as-answered): Ditto.
3048
3049         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3050         `elmo-global-flags-set'.
3051         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3052
3053         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3054
3055         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3056         `flag'.
3057         (elmo-folder-flag-as-important): Ditto.
3058         (elmo-folder-unflag-important): Ditto.
3059         (elmo-folder-flag-as-important): Ditto.
3060         (elmo-folder-unflag-read): Ditto.
3061         (elmo-folder-flag-as-read): Ditto.
3062         (elmo-folder-unflag-answered): Ditto.
3063         (elmo-folder-flag-as-answered): Ditto.
3064
3065         * elmo-multi.el (elmo-folder-list-importants): Don't call
3066         elmo-folder-list-messages-with-global-mark.
3067         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3068         (elmo-folder-unflag-important): Ditto.
3069         (elmo-folder-flag-as-read): Ditto.
3070         (elmo-folder-unflag-read): Ditto.
3071         (elmo-folder-flag-as-answered): Ditto.
3072         (elmo-folder-unflag-answered): Ditto.
3073
3074         * elmo-msgdb.el (elmo-msgdb-new-mark,
3075         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3076         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3077         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3078         (Moved to modb-legacy.el).
3079         (elmo-flag-table-get): Treat important flag too.
3080
3081         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3082         `mark' to `flag'.
3083         (elmo-map-folder-flag-as-important): Ditto.
3084         (elmo-map-folder-unflag-read): Ditto.
3085         (elmo-map-folder-flag-as-read): Ditto.
3086         (elmo-map-folder-unflag-answered): Ditto.
3087         (elmo-map-folder-flag-as-answered): Ditto.
3088         (elmo-folder-unflag-important): Ditto.
3089         (elmo-folder-flag-as-important): Ditto.
3090         (elmo-folder-unflag-read): Ditto.
3091         (elmo-folder-flag-as-read): Ditto.
3092         (elmo-folder-unflag-answered): Ditto.
3093         (elmo-folder-flag-as-answered): Ditto.
3094
3095         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3096         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3097         `flag'.
3098         (elmo-map-folder-unflag-important): Ditto.
3099         (elmo-map-folder-flag-as-read): Ditto.
3100         (elmo-map-folder-unflag-read): Ditto.
3101         (elmo-map-folder-flag-as-answered): Ditto.
3102         (elmo-map-folder-unflag-answered): Ditto.
3103
3104         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3105         `elmo-global-flags-set'.
3106         (elmo-global-flags-set): Added autoload setting.
3107
3108         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3109         `flag'.
3110
3111         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3112         `elmo-msgdb-global-mark-set'.
3113         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3114         Call `elmo-global-flags-set'.
3115         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3116         `flag'.
3117         (elmo-folder-flag-as-important-plugged): Ditto.
3118         (elmo-folder-unflag-read-plugged): Ditto.
3119         (elmo-folder-flag-as-read-plugged): Ditto.
3120         (elmo-folder-unflag-answered-plugged): Ditto.
3121         (elmo-folder-flag-as-answered-plugged): Ditto.
3122         (elmo-global-flags-set): Added autoload setting.
3123
3124         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3125         `flag'.
3126         (elmo-folder-unflag-read): Ditto.
3127         (elmo-folder-flag-as-important): Ditto.
3128         (elmo-folder-unflag-important): Ditto.
3129         (elmo-folder-flag-as-answered): Ditto.
3130         (elmo-folder-unflag-answered): Ditto.
3131
3132         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3133         change of `mark'->`flag'.
3134         (elmo-dop-queue-method-name-alist): Ditto.
3135         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3136         (elmo-folder-unflag-read-dop): Ditto.
3137         (elmo-folder-flag-as-important-dop): Ditto.
3138         (elmo-folder-unflag-important-dop): Ditto.
3139         (elmo-folder-flag-as-answered-dop): Ditto.
3140         (elmo-folder-unflag-answered-dop): Ditto.
3141
3142         * elmo-cache.el (elmo-folder-msgdb-create): Call
3143         `elmo-global-flags-set'.
3144
3145         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3146         Call `elmo-global-flags-set'.
3147         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3148         elmo-archive-parse-mmdf with argument `folder'.
3149         (elmo-archive-parse-mmdf): Added argument `folder';
3150         Call `elmo-global-flags-set'.
3151
3152         * elmo-version.el (elmo-version): Up to 2.11.14.
3153
3154 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3155
3156         * modb.el (elmo-msgdb-length): Define.
3157
3158         * elmo.el (elmo-make-folder): Fixed.
3159         (elmo-generic-folder-append-messages): Follow the API change.
3160
3161         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3162         API change.
3163
3164 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3165
3166         * modb.el: New file.
3167
3168         * modb-entity.el: Ditto.
3169
3170         * modb-legacy.el: Ditto.
3171
3172         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3173         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3174         of `elmo-msgdb-overview-get-entity'.
3175         (elmo-msgdb-get-field): Ditto.
3176         (elmo-msgdb-merge): Moved to `elmo.el'.
3177         (elmo-msgdb-length): Removed; redefine as modb method.
3178         (elmo-msgdb-change-mark): Abolish.
3179         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3180         (elmo-msgdb-match-condition): Don't use mark.
3181         (elmo-msgdb-overview-get-entity): Abolish.
3182         Split modb part into `modb*.el'.
3183
3184         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3185
3186         * elmo-shimbun.el (shimbun-mua-search-id): Use
3187         `elmo-msgdb-message-entity' instead of
3188         `elmo-msgdb-overview-get-entity'.
3189         (elmo-shimbun-folder-shimbun-header): Ditto.
3190         (elmo-shimbun-get-headers): Ditto.
3191         (elmo-shimbun-update-overview): Ditto.
3192
3193         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3194
3195         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3196
3197         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3198         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3199
3200         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3201         `elmo-msgdb-mark-to-flags'.
3202
3203         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3204         `elmo-msgdb-set-path'.
3205
3206         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3207  
3208         * elmo-version.el (elmo-version): Up to 2.11.13.
3209
3210         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3211
3212         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3213         of mark.
3214
3215 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3216
3217         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3218         mismatch.
3219
3220 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3221
3222         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3223         instead of `elmo-msgdb-get-cached'.
3224         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3225
3226         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3227         (elmo-msgdb-set-cached): Ditto.
3228         (elmo-msgdb-set-flag): Rewrite.
3229         (elmo-msgdb-unset-flag): Ditto.
3230
3231         * elmo-msgdb.el: Rewrite with luna.
3232
3233         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3234         (elmo-folder-msgdb): Follow the change above.
3235         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3236         (elmo-folder-unmark-important): Follow the API change.
3237         (elmo-folder-mark-as-important): Ditto.
3238         (elmo-folder-unmark-read): Ditto.
3239         (elmo-folder-mark-as-read): Ditto.
3240         (elmo-folder-unmark-answered): Ditto.
3241         (elmo-folder-mark-as-answered): Ditto.
3242         (elmo-folder-clear): Likewise.
3243
3244         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3245         instead of `elmo-msgdb-load' (renamed).
3246
3247         * elmo-version.el (elmo-version): Up to 2.11.12.
3248
3249 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3250
3251         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3252         change.
3253         (elmo-message-mark): Abolish.
3254         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3255         instead of `elmo-msgdb-change-mark'.
3256
3257         * elmo-pipe.el (elmo-message-mark): Abolish.
3258
3259         * elmo-multi.el (elmo-message-mark): Ditto.
3260
3261         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3262         (elmo-msgdb-unread-uncached-mark): Ditto.
3263         (elmo-msgdb-unread-cached-mark): Ditto.
3264         (elmo-msgdb-read-uncached-mark): Ditto.
3265         (elmo-msgdb-answered-cached-mark): Ditto.
3266         (elmo-msgdb-answered-uncached-mark): Ditto.
3267         (elmo-msgdb-important-mark): Ditto.
3268         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3269         `use-cache'.
3270         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3271         `flags'.
3272         (elmo-flag-table-load): Changed flag to list of flag.
3273         (elmo-flag-table-set): If flags is nil, set read flag.
3274         (elmo-flag-table-get): Return derived flags from global mark,
3275         cache status and saved flags.
3276         (elmo-msgdb-flag-table): Follow the change above.
3277         (elmo-msgdb-out-of-date-messages): New function.
3278
3279         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3280
3281         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3282
3283         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3284
3285         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3286         (elmo-nntp-msgdb-create-message): Ditto.
3287
3288         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3289
3290         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3291         independent.
3292         (elmo-folder-msgdb-create): Follow the API change.
3293
3294         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3295         (elmo-folder-append-messages): Ditto.
3296
3297         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3298         (elmo-folder-append-buffer): Ditto.
3299
3300         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3301
3302         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3303
3304         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3305         (elmo-archive-parse-mmdf): Ditto.
3306
3307         * elmo-version.el (elmo-version): Up to 2.11.11.
3308
3309 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3310
3311         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3312         `elmo-msgdb-mark'.
3313
3314         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3315
3316         * elmo-pipe.el (elmo-message-flags): Defined.
3317
3318         * elmo-multi.el (elmo-message-flags): Ditto.
3319
3320 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3321
3322         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3323         `elmo-msgdb-delete-msgs'.
3324
3325         * elmo.el (elmo-folder-count-flags): Don't use
3326         `elmo-msgdb-get-mark-alist'.
3327         (elmo-folder-detach-messages): Follow the API change.
3328
3329         * elmo.el (elmo-folder-list-messages): Append killed messages into
3330         result if `visible-only' is nil.
3331
3332         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3333         canceled messages.
3334         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3335         (elmo-folder-update-number): Likewise.
3336
3337         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3338         (elmo-pop3-sort-msgdb-by-original-number): Use
3339         `elmo-msgdb-sort-entities'.
3340
3341         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3342         (elmo-msgdb-sort-by-date): Use it.
3343         (elmo-msgdb-overview-sort-by-date): Abolish.
3344
3345         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3346
3347         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3348         (elmo-msgdb-flags): New function.
3349         (elmo-msgdb-merge): Use elmo-msgdb-append.
3350
3351         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3352         change.
3353
3354         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3355
3356         * elmo-dop.el (elmo-folder-status-dop): Use
3357         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3358
3359 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3360
3361         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3362
3363         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3364
3365         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3366
3367         * elmo-util.el (elmo-with-progress-display): New macro.
3368
3369         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3370
3371 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3372
3373         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3374         `elmo-folder-list-message-entities' instead of
3375         `elmo-msgdb-get-overview'.
3376         (elmo-map-folder-list-message-locations): Ditto.
3377
3378         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3379         methods instead of treat directly).
3380         (elmo-msgdb-clear): Ditto.
3381         (elmo-msgdb-delete-msgs): Ditto.
3382         (elmo-msgdb-sort-by-date): Ditto.
3383
3384         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3385         local variables.
3386         (elmo-nntp-folder-msgdb-create): Follow the API change.
3387
3388         * elmo-version.el (elmo-version): Up to 2.11.10.
3389
3390 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3391
3392         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3393         (elmo-msgdb-flags-to-mark): Ditto.
3394         (elmo-msgdb-append-entity): Ditto.
3395
3396         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3397         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3398         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3399         (elmo-archive-parse-mmdf): Ditto.
3400
3401         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3402
3403         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3404
3405         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3406
3407         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3408
3409         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3410
3411         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3412
3413         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3414
3415         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3416
3417         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3418         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3419         to empty msgdb.
3420
3421         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3422         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3423         instead of directly construction.
3424         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3425         instead of construct msgdb.
3426
3427         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3428         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3429         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3430         instead of construct msgdb.
3431
3432 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3433
3434         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3435         when field is from or subject.
3436
3437 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3438
3439         * elmo-multi.el (elmo-message-entity-parent): Define.
3440         (elmo-folder-search): Rewrite.
3441
3442 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3443
3444         * elmo-multi.el (elmo-message-cached-p): Define.
3445
3446         * elmo.el (elmo-message-cached-p): New method.
3447         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3448         (elmo-message-flags): New method.
3449         (elmo-message-flagged-p): New function.
3450
3451         * elmo-version.el (elmo-version): Up to 2.11.9.
3452
3453 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3454
3455         * elmo-version.el (elmo-version): Up to 2.11.8.
3456
3457         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3458
3459         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3460
3461 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3462
3463         * elmo.el (elmo-folder-detach-messages): Undo last change.
3464
3465 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3466
3467         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3468
3469         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3470         only when src folder type is pop3.
3471
3472 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3473
3474         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3475         elmo-msgdb-overview-entity-get-number instead of
3476         elmo-message-entity-number.
3477
3478 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3479
3480         * elmo-version.el (elmo-version): Up to 2.11.7.
3481
3482 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3483
3484         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3485         function.
3486
3487         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3488         (elmo-msgdb-merge): New function.
3489         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3490         (elmo-msgdb-make-index): Rewrite.
3491
3492         * elmo-version.el (elmo-version): Up to 2.11.6.
3493
3494         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3495         use it as a the path for loading message entities.
3496
3497         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3498
3499 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3500
3501         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3502         message-modified slot of itself if it does not require target msgdb.
3503
3504         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3505         if folder length is zero.
3506         (elmo-mime-display-as-is): Ditto.
3507
3508         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3509
3510         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3511
3512 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3513
3514         * elmo.el (elmo-folder-set-message-modified): New method.
3515         (elmo-generic-folder-commit): Use it.
3516         (elmo-folder-synchronize): Ditto.
3517
3518         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3519         (elmo-folder-commit): Remove duplicate definition.
3520
3521 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3522
3523         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3524
3525 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3526
3527         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3528         (elmo-strict-folder-diff): Ditto.
3529         (elmo-folder-set-info-max-by-numdb): Simplify.
3530
3531         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3532         elmo-msgdb-list-messages.
3533
3534         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3535         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3536
3537 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3538
3539         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3540         visible-only is non-nil.
3541         (elmo-folder-confirm-appends): Changed message.
3542         (elmo-folder-synchronize): Added argument disable-killed.
3543
3544         * elmo-multi.el (elmo-folder-synchronize): Added argument
3545         disable-killed.
3546
3547         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3548
3549         * elmo-version.el (elmo-version): Up to 2.11.5.
3550
3551         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3552         elmo-list-filter.
3553
3554         * elmo-util.el (elmo-list-filter): Simplify.
3555
3556         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3557         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3558         (elmo-generic-folder-diff): Abolish argument.
3559         (elmo-msgdb-load): Don't use number-alist.
3560
3561         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3562
3563         * elmo-pipe.el (elmo-folder-diff): Ditto.
3564
3565         * elmo-nmz.el (elmo-folder-diff): Ditto.
3566
3567         * elmo-net.el (elmo-folder-diff): Ditto.
3568
3569         * elmo-maildir.el (elmo-folder-diff): Ditto.
3570
3571         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3572
3573         * elmo-multi.el (elmo-folder-diff): Ditto
3574         (elmo-multi-folder-diff): Rewrite.
3575
3576 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3577
3578         * elmo-pipe.el (elmo-folder-msgdb): Define.
3579
3580 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3581
3582         * elmo.el (elmo-message-set-cached): Define as a method.
3583
3584         * elmo-pipe.el (elmo-message-set-cached): Define.
3585         (elmo-find-fetch-strategy): Ditto.
3586
3587         * elmo-multi.el (elmo-message-set-cached): Define.
3588         (elmo-find-fetch-strategy): Rewrite.
3589
3590         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3591
3592         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3593
3594 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3595
3596         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3597         instead of number-alist.
3598
3599         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3600         mark nor message-id when msgdb of source folder is not loaded.
3601
3602         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3603
3604         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3605
3606 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3607
3608         * elmo.el (elmo-folder-length): Don't require msgdb.
3609
3610 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3611
3612         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3613         (elmo-message-field): Ditto.
3614
3615         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3616         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3617         slot.
3618         (elmo-map-folder-list-answereds): Define.
3619         (elmo-maildir-list-location): Treat 'R' info.
3620         (elmo-folder-msgdb-create): Treat flag-table.
3621         (elmo-folder-append-messages): Save flag-table.
3622
3623 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3624
3625         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3626         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3627
3628 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3629
3630         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3631
3632         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3633         'read when mark is null.
3634
3635 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3636
3637         * elmo-version.el (elmo-version): Up to 2.11.4.
3638
3639 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3640
3641         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3642         (elmo-folder-mark-as-answered): Ditto.
3643
3644 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3645
3646         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3647         (elmo-pop3-get-session): Make msgdb directory after session.
3648         (elmo-folder-exists-p): Check exactly at the first time even when the
3649         elmo-pop3-exists-exactly is nil.
3650
3651         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3652         (elmo-folder-list-messages): Define instead of
3653         elmo-folder-list-messages-internal.
3654         (elmo-folder-check): Check destination folder.
3655         (elmo-folder-synchronize): Drain the pipe.
3656
3657         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3658         when msgdb is not loaded.
3659
3660         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3661
3662         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3663         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3664         messages.
3665
3666         * elmo.el (elmo-folder-kill-messages-before): New function.
3667         (elmo-folder-kill-messages): Ditto.
3668         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3669
3670         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3671         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3672         killed not by synchronize (e.g. scoring).
3673
3674 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3675
3676         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3677         treated.
3678         (elmo-folder-search): Follow the change above.
3679
3680         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3681         into the candidates of search field.
3682
3683 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3684
3685         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3686         (elmo-msgdb-unset-flag): Ditto.
3687
3688         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3689
3690 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3691
3692         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3693         (elmo-folder-commit): Define.
3694         (elmo-folder-synchronize): Ditto.
3695         (elmo-folder-list-flagged): Ditto.
3696         (elmo-folder-commit): Ditto.
3697         (elmo-folder-length): Ditto.
3698         (elmo-folder-count-flags): Ditto.
3699         (elmo-message-mark): Ditto.
3700         (elmo-message-field): Ditto.
3701         (elmo-message-entity): Ditto.
3702         (elmo-message-folder): Ditto.
3703
3704 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3705
3706         * elmo.el (elmo-message-field): Define as a method.
3707
3708         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3709         (elmo-message-field): Define.
3710
3711         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3712         (elmo-folder-list-importants): Ditto.
3713         (elmo-folder-list-answereds): Ditto.
3714
3715         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3716         qualifier.
3717         (elmo-folder-mark-as-read): Ditto.
3718         (elmo-folder-unmark-read): Ditto.
3719         (elmo-folder-mark-as-answered): Ditto.
3720         (elmo-folder-unmark-answered): Ditto.
3721         (elmo-folder-list-flagged): Define.
3722         (elmo-folder-commit): Ditto.
3723         (elmo-folder-length): Ditto.
3724         (elmo-folder-count-flags): Ditto.
3725
3726 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3727
3728         * elmo.el (elmo-folder-detach-messages): New method.
3729         (elmo-folder-move-messages): Use it.
3730         (elmo-folder-synchronize): Ditto.
3731
3732         * elmo-multi.el (elmo-folder-detach-messages): Define.
3733
3734         * elmo.el (elmo-message-copy-entity): New function.
3735         (elmo-message-entity-set-number): Ditto.
3736         (elmo-message-mark): Define as method.
3737
3738         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3739         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3740         (elmo-message-entity): Fixed last change.
3741         (elmo-message-mark): Define.
3742         (elmo-folder-msgdb-create): Abolish.
3743         (elmo-multi-folder-append-msgdb): Ditto.
3744         (elmo-multi-folder-diff): Fixed.
3745         (elmo-multi-split-number-alist): Removed.
3746         (elmo-multi-split-mark-alist): Removed.
3747         (elmo-folder-list-messages): Define.
3748         (elmo-folder-list-messages-internal): Removed.
3749
3750         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3751         local file messages.
3752         (elmo-folder-msgdb-create): Fixed read mark.
3753
3754 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3755
3756         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3757         if mark is nil.
3758
3759 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3760
3761         * elmo.el (elmo-folder-list-message-entities): Define as inline
3762         function.
3763         (elmo-folder-messages): Abolish.
3764
3765         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3766         folder.
3767         (elmo-folder-synchronize): Define.
3768         (elmo-message-entity): Define.
3769
3770 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3771
3772         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3773         elmo-imap4-session-select-mailbox.
3774
3775         * elmo.el (elmo-folder-move-messages): Don't display any message.
3776
3777         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3778         parsing.
3779         (elmo-imap4-session-check): Don't wait CHECK response.
3780         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3781
3782 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3783
3784         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3785
3786 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3787
3788         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3789         API.
3790         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3791
3792
3793         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3794         (elmo-folder-list-message-entities): Added argument in-msgdb and
3795         numbers.
3796         (elmo-folder-synchronize): Define as a method.
3797
3798         * elmo-nntp.el (elmo-folder-initialize): Don't use
3799         elmo-nntp-default-user if zero-length username is specified
3800         explicitly.
3801
3802 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3803
3804         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3805         server name in case with username.
3806         (XXX: this is ad-hoc fix against username includes "@", it
3807         should be solved fundamentally)
3808
3809 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3810
3811         * elmo-nntp.el (elmo-nntp-debug): New function.
3812         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3813         (elmo-network-authenticate-session): Hide auth-info from the log.
3814
3815         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3816         user name if it is equal to elmo-nntp-default-user.
3817
3818 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3819
3820         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3821         instead of shimbun-server-internal;
3822         Use shimbun-current-group instead of shimbun-current-group-internal.
3823         (elmo-folder-plugged-p): Use shimbun-server instead of
3824         shimbun-server-internal.
3825         (elmo-folder-set-plugged): Ditto.
3826         (elmo-net-port-info): Ditto.
3827         (elmo-folder-check): Ditto.
3828         (elmo-folder-expand-msgdb-path): Ditto.
3829         (elmo-folder-list-subfolders): Ditto.
3830
3831 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3832
3833         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3834         Convert field-name to lower case.
3835         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3836
3837 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3838
3839         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3840         `message' and `error' take format string.
3841
3842 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3843
3844         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3845
3846 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3847
3848         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3849         recursive call (can't byte compile on emacs 20.7).
3850
3851 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
3852
3853         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3854         (elmo-folder-list-message-entities): New API.
3855         (elmo-message-entity): Ditto.
3856         (elmo-message-entity-parent): Ditto.
3857         (elmo-folder-do-each-message-entity): Ditto.
3858         (elmo-message-entity-number): Ditto.
3859         (elmo-message-entity-field): Ditto.
3860         (elmo-message-entity-set-field): Ditto.
3861         (elmo-folder-count-flags): Ditto.
3862         (elmo-folder-length): Ditto.
3863
3864         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3865         not.
3866
3867         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3868         (elmo-msgdb-count-marks): Abolish.
3869         (elmo-msgdb-make-entity): Ditto.
3870         (elmo-msgdb-do-each-entity): Ditto.
3871         (elmo-msgdb-message-entity): New inline function.
3872         (elmo-msgdb-message-entity-field): Ditto.
3873         (elmo-msgdb-message-entity-set-field): Ditto.
3874         (elmo-msgdb-make-message-entity): New function.
3875
3876 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
3877
3878         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
3879         to flag. (All other related portions are changed.)
3880         (elmo-folder-msgdb-create): Likewise.
3881         (elmo-generic-folder-append-messages): Use flag-table instead of
3882         seen-list.
3883         (elmo-folder-move-messages): Removed redundant process.
3884         (elmo-folder-synchronize): Likewise.
3885
3886         * elmo-msgdb.el (elmo-flag-table-get): New function.
3887         (elmo-flag-table-save): Fixed.
3888         (elmo-msgdb-length): New inline function.
3889         (elmo-msgdb-flag-table): New function.
3890         (elmo-msgdb-mark): Add optional argument new.
3891         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3892         (elmo-msgdb-seen-list): Ditto.
3893         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3894
3895
3896 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
3897
3898         * elmo.el (elmo-message-set-mark): Abolish.
3899         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3900         (All related portions are changed.)
3901
3902         * elmo-msgdb.el (toplevel): Added comment.
3903         (elmo-load-msgdb): Added 4th element `path'.
3904         (elmo-msgdb-append): Follow the change above.
3905         (elmo-msgdb-clear): Ditto.
3906         (elmo-msgdb-delete-msgs): Ditto.
3907         (elmo-msgdb-get-path): New inline function.
3908         (elmo-msgdb-set-path): Ditto.
3909         (elmo-flag-table-filename): New variable.
3910         (elmo-flag-table-load): New function.
3911         (elmo-flag-table-set): Ditto.
3912         (elmo-flag-table-save): Ditto.
3913         (elmo-msgdb-get-field-value): Abolish.
3914         (elmo-msgdb-overview-get-entity-by-number): Ditto.
3915
3916 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
3917
3918         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3919         the folder has been deleted successfully.
3920         * elmo-imap4.el (elmo-folder-delete): Ditto.
3921         * elmo-archive.el (elmo-folder-delete): Ditto.
3922         * elmo-localdir.el (elmo-folder-delete): Ditto.
3923         * elmo-maildir.el (elmo-folder-delete): Ditto.
3924
3925 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
3926
3927         * elmo-util.el (elmo-string-member-ignore-case): New function.
3928         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3929         (elmo-imap4-fetch-callback-1-subr): Likewise.
3930
3931 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
3932
3933         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3934         the case of the name attribute "\Noselect".
3935
3936 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3937
3938         * elmo.el (elmo-folder-rename-internal): New method to cause error.
3939
3940         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3941         flist, is not always a member of onum-alist.
3942
3943 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3944
3945         * elmo-version.el (elmo-version): Up to 2.11.3.
3946
3947 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3948
3949         * elmo-maildir.el (elmo-folder-rename-internal): New method,
3950         copied from localdir's one.
3951
3952         * elmo-pipe.el (elmo-folder-rename): New method, rename
3953         destination folder with leaving source folder as it is.
3954
3955 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
3956
3957         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3958         replace-regexp.
3959
3960 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3961
3962         * elmo-version.el (elmo-version): Up to 2.11.2.
3963
3964 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3965
3966         * elmo-shimbun.el (elmo-folder-initialize): Do not call
3967         shimbun-open in case of "@".
3968         (elmo-folder-open-internal): Cope with shimbun = nil case.
3969         (elmo-folder-plugged-p): Ditto.
3970         (elmo-folder-list-subfolders): Make list for "@/" group.
3971
3972 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3973
3974         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3975         mailbox (e.g. for %~/something).
3976
3977 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3978
3979         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3980         Replace nested conditional with guard clauses.
3981
3982 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
3983
3984         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3985         error [wl:11327].
3986
3987         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3988         print-depth.
3989
3990 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3991
3992         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3993         Replace nested conditional with guard clauses.
3994
3995 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3996
3997         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3998         (elmo-passwd-alist-save): Ditto.
3999         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4000
4001 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4002
4003         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4004         dir-name only if it is absolute path.
4005         (TODO: distinguish +/something and +something)
4006
4007 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4008
4009         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4010         path for "+~/something".
4011
4012 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4013
4014         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4015         as non-directory, cause error before rename-file.
4016         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4017         apropriately, mimic localdir's one.
4018         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4019
4020 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4021
4022         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4023
4024 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4025
4026         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4027
4028         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4029         
4030         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4031         is included in the global-mark or not.
4032
4033 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4034
4035         * utf7.el (toplevel): Avoid error when the function
4036         find-coding-system does not exist.
4037
4038 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4039
4040         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4041         cache even if the folder is plugged.
4042         (elmo-nntp-search-primitive): Do nothing when body search is
4043         invoked (although it is not used by the change above).
4044         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4045
4046 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4047
4048         * elmo-version.el (elmo-version): Up to 2.11.1.
4049
4050 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4051
4052         * elmo-archive.el: Specify charset.
4053
4054 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4055
4056         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4057         process buffer lives or not.
4058
4059         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4060         while flushing queues (It causes infinite loop).
4061
4062 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4063
4064         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4065
4066 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4067
4068         * utf7.el (toplevel): Check the ucs features dynamically.
4069         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4070
4071         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4072         folder is creatabe or not if it already exists.
4073
4074 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4075
4076         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4077
4078         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4079
4080         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4081         (elmo-imap4-read-response): Take care of garbage response.
4082
4083 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4084
4085         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4086         just return nil instead of error.
4087
4088 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4089
4090         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4091         search-key is "body".
4092
4093 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4094
4095         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4096         of elmo-string-matched-assoc to use match-data.
4097         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4098
4099 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4100
4101         * elmo-split.el (elmo-split->): New function.
4102         (elmo-split-<): Ditto.
4103
4104 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4105
4106         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4107         workaround for invalid message-id.
4108
4109 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4110
4111         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4112         return normal pop3 session or pop3 biff session.
4113
4114 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4115
4116         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4117         info part to the cur files when the new files already have it.
4118         (Adviced by Jared Rhine <jared@wordzoo.com>)
4119
4120 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4121
4122         * elmo-split.el (elmo-split-default-action): New variable.
4123         (elmo-split-subr): Use it if all other conditions are passed.
4124         Extend `fname' and rename it as `action'. (implemented
4125         Teranishi-san's idea in [wl:10800])
4126
4127 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4128
4129         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4130         * elmo-util.el: Ditto.
4131
4132 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4133
4134         * elmo.el (elmo-message-accessible-p): Renamed from
4135         elmo-message-cached-p and rewritten.
4136
4137 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4138
4139         * elmo.el (elmo-folder-list-flagged): New generic function.
4140         (elmo-folder-list-importants): New implementation.
4141         (elmo-folder-list-answereds): Ditto.
4142         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4143         Added 'digest'.
4144         (elmo-message-cached-p): New function.
4145         (elmo-message-set-flag): Ditto (no content).
4146         (elmo-message-unset-flag): Ditto.
4147         (elmo-folder-list-messages-mark-match): Abolish.
4148
4149         * elmo-util.el (elmo-regexp-opt): New function.
4150
4151         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4152         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4153         Added 'digest'.
4154         (elmo-msgdb-list-flagged): New function.
4155
4156         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4157         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4158         Added 'digest'.
4159
4160         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4161
4162 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4163
4164         * elmo-version.el (elmo-version): Up to 2.11.0.
4165
4166 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4167
4168         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4169         `elmo-file-cache-exists-p'; use proper mark that depends on
4170         `use-cache'.
4171         (elmo-msgdb-unset-flag): Ditto.
4172         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4173
4174         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4175         with 4th argument `use-cache'.
4176
4177 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4178
4179         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4180         (elmo-folder-mark-as-important): Ditto.
4181         (elmo-folder-unmark-read): Ditto.
4182         (elmo-folder-mark-as-read): Ditto.
4183         (elmo-folder-unmark-answered): Ditto.
4184         (elmo-folder-mark-as-answered): Ditto.
4185
4186         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4187         message status.
4188         (elmo-msgdb-mark): Likewise.
4189         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4190         (elmo-msgdb-unset-flag): Likewise.
4191
4192         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4193
4194 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4195
4196         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4197         `last:' filter.
4198
4199 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4200
4201         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4202         set spool-length to 0.
4203
4204 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4205
4206         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4207         (elmo-dop-queue-flush): Fixed last change.
4208
4209 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4210
4211         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4212         if require-msgdb slot is nil.
4213         (elmo-folder-list-importants): Likewise.
4214
4215 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4216
4217         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4218         mark is changed.
4219
4220         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4221         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4222         is changed.
4223
4224 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4225
4226         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4227
4228 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4229
4230         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4231
4232         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4233
4234 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4235
4236         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4237         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4238
4239 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4240
4241         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4242         the problem reported by Sean Rima [wl-en:180].
4243
4244 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4245
4246         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4247
4248         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4249
4250         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4251
4252         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4253
4254         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4255
4256         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4257
4258         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4259
4260 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4261
4262         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4263         status number.
4264
4265 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4266
4267         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4268         (elmo-folder-mark-as-read): Follow the API change.
4269         (elmo-message-set-cached): New function.
4270
4271         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4272
4273         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4274
4275         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4276         (elmo-folder-mark-as-important): Ditto.
4277         (elmo-folder-unmark-read): Ditto.
4278         (elmo-folder-mark-as-read): Ditto.
4279         (elmo-folder-unmark-answered): Ditto.
4280         (elmo-folder-mark-as-answered): Ditto.
4281
4282         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4283         (elmo-folder-unmark-important): Ditto.
4284         (elmo-folder-mark-as-read): Ditto.
4285         (elmo-folder-unmark-read): Ditto.
4286         (elmo-folder-mark-as-answered): Ditto.
4287         (elmo-folder-unmark-answered): Ditto.
4288
4289         * elmo-mark.el (toplevel): Removed some mark method definitions.
4290
4291         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4292         (elmo-map-folder-mark-as-answered): Ditto.
4293         (elmo-folder-unmark-important): Add :before qualifier.
4294         (elmo-folder-mark-as-important): Ditto.
4295         (elmo-folder-unmark-read): Ditto.
4296         (elmo-folder-mark-as-read): Ditto.
4297         (elmo-folder-unmark-answered): Define.
4298         (elmo-folder-mark-as-answered): Ditto.
4299
4300         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4301         (elmo-map-folder-unmark-answered): Ditto.
4302
4303         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4304
4305         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4306         (elmo-folder-mark-as-important): Ditto.
4307         (elmo-folder-unmark-read): Ditto.
4308         (elmo-folder-mark-as-read): Ditto.
4309         (elmo-folder-unmark-answered): Ditto.
4310         (elmo-folder-mark-as-answered): Ditto.
4311
4312         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4313         `mark'; evaluate mark condition.
4314         (elmo-msgdb-match-condition-internal): New function.
4315         (elmo-msgdb-match-condition): Call it; changed argument.
4316
4317         * elmo.el (elmo-folder-search): Follow the API change on
4318         `elmo-msgdb-match-condition'.
4319
4320 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4321
4322         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4323         original mark is non-nil.
4324
4325 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4326
4327         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4328         (elmo-map-folder-list-answereds): New method.
4329         (elmo-folder-list-unreads): Add :around qualifier.
4330         (elmo-folder-list-importants): Ditto.
4331         (elmo-folder-list-answereds): Ditto.
4332
4333 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4334
4335         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4336
4337         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4338         method if msgdb is not required.
4339         (elmo-filter-folder-list-importants): Don't treat global-mark.
4340
4341         * elmo.el (elmo-folder-list-importants): Ditto.
4342
4343         * elmo-net.el (elmo-folder-list-importants): Ditto.
4344
4345         * elmo-map.el (elmo-folder-list-importants): Ditto.
4346
4347         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4348
4349         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4350         (elmo-imap4-folder-list-any-plugged): New function.
4351         (elmo-imap4-search-internal-primitive): Use it.
4352
4353         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4354         only when require-msgdb slot is non-nil.
4355         (elmo-folder-close): Clear target folder's msgdb.
4356
4357 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4358
4359         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4360         (elmo-pop3-msgdb-create-by-header): Ditto.
4361         (elmo-pop3-msgdb-create-message): Ditto.
4362
4363         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4364
4365         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4366
4367         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4368
4369         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4370         (elmo-folder-msgdb-create): Ditto.
4371         (elmo-nntp-folder-msgdb-create): Ditto.
4372         (elmo-nntp-msgdb-create-by-header): Ditto.
4373         (elmo-nntp-msgdb-create-message): Ditto.
4374         (elmo-folder-list-unreads): Define.
4375
4376         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4377         (elmo-folder-append-messages): Ditto.
4378         (elmo-folder-list-unreads): Define.
4379         (elmo-folder-list-importants): Ditto.
4380         (elmo-folder-list-answereds): Ditto.
4381
4382         * elmo-net.el (elmo-folder-list-unreads): Define.
4383         (elmo-folder-list-importants): Ditto.
4384         (elmo-folder-list-answereds): Ditto.
4385         (elmo-folder-list-answereds-plugged): Ditto.
4386         (elmo-folder-msgdb-create): Follow the API change.
4387         (elmo-folder-msgdb-create-unplugged): Ditto.
4388         (elmo-folder-unmark-answered): Define.
4389         (elmo-folder-mark-as-answered-unplugged): Ditto.
4390         (elmo-folder-unmark-answered-unplugged): Ditto.
4391
4392         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4393         (elmo-msgdb-unread-uncached-mark): Ditto.
4394         (elmo-msgdb-unread-cached-mark): Ditto.
4395         (elmo-msgdb-read-uncached-mark): Ditto.
4396         (elmo-msgdb-answered-cached-mark): Ditto.
4397         (elmo-msgdb-answered-uncached-mark): Ditto.
4398         (elmo-msgdb-important-mark): Ditto.
4399         (elmo-msgdb-set-mark): Rewrite.
4400         (elmo-msgdb-count-marks): Rewrite.
4401         (elmo-msgdb-mark-alist-set): Abolish.
4402         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4403         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4404
4405         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4406         (elmo-folder-close): Define.
4407         (elmo-folder-msgdb-create): Follow the API change.
4408         (elmo-folder-list-unreads): Rewrite.
4409         (elmo-folder-mark-as-important): Ditto.
4410         (elmo-folder-unmark-important): Ditto.
4411         (elmo-folder-mark-as-read): Ditto.
4412         (elmo-folder-unmark-read): Ditto.
4413         (elmo-folder-mark-as-answered): Define.
4414         (elmo-folder-unmark-answered): Ditto.
4415
4416         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4417         (elmo-folder-append-messages): Ditto.
4418
4419         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4420
4421         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4422         (elmo-folder-list-importants): Ditto.
4423
4424         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4425         (elmo-folder-append-messages): Ditto.
4426
4427         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4428         change.
4429         (elmo-folder-msgdb-create-plugged): Ditto.
4430         (elmo-folder-append-messages): Ditto.
4431         (elmo-folder-list-answereds-plugged): Define.
4432         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4433         (elmo-folder-unmark-answered-plugged): Define.
4434         (elmo-folder-mark-as-answered-plugged): Ditto.
4435         (elmo-folder-search-requires-msgdb-p): Ditto.
4436
4437         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4438         (elmo-folder-initialize): Set it.
4439         (elmo-folder-msgdb): Define.
4440         (elmo-folder-check): Call elmo-folder-synchronize.
4441         (elmo-folder-close): Define.
4442         (elmo-folder-commit): Ditto.
4443         (elmo-folder-msgdb-create): Rewrite.
4444         (elmo-folder-list-unreads): Ditto.
4445         (elmo-folder-list-importants): Ditto.
4446         (elmo-folder-mark-as-read): Ditto.
4447         (elmo-folder-unmark-read): Ditto.
4448         (elmo-folder-mark-as-important): Ditto.
4449         (elmo-folder-unmark-important): Ditto.
4450         (elmo-folder-mark-as-answered): Define.
4451         (elmo-folder-unmark-answered): Ditto.
4452
4453         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4454         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4455         (elmo-dop-queue-method-name-alist): Likewise.
4456         (elmo-folder-mark-as-answered-dop): New inline function.
4457         (elmo-folder-unmark-answered-dop): Ditto.
4458         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4459
4460         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4461         (elmo-folder-msgdb-create): Ditto.
4462         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4463         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4464         (elmo-archive-parse-mmdf): Ditto.
4465
4466         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4467         (elmo-folder-list-unreads-internal): Ditto.
4468
4469         * elmo.el (elmo-folder-msgdb): Define as generic function.
4470         (elmo-folder-list-messages): Added argument `in-msgdb'.
4471         (elmo-folder-list-unreads): Define as generic function.
4472         (elmo-folder-list-importants): Ditto.
4473         (elmo-folder-list-answereds): Ditto.
4474         (elmo-folder-list-messages-with-global-mark): New function.
4475         (elmo-folder-msgdb-create): Removed mark arguments.
4476         (elmo-folder-unmark-answered): New generic function.
4477         (elmo-folder-mark-as-answered): Ditto.
4478         (elmo-folder-append-messages): Removed argunment `unread-marks'
4479         (elmo-folder-list-unreads-internal): Abolish.
4480         (elmo-folder-list-importants-internal): Ditto.
4481         (elmo-folder-search-requires-msgdb-p): New generic function.
4482         (elmo-folder-search-requires-msgdb-p-internal): New function.
4483         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4484         elmo-msgdb-load.
4485         (elmo-folder-search-fast): Added key 'mark'.
4486         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4487         instead of unread-marks argument.
4488         (elmo-folder-move-messages): Removed argunment `unread-marks'
4489         (elmo-folder-unmark-important): Define.
4490         (elmo-folder-mark-as-important): Ditto.
4491         (elmo-folder-unmark-read): Ditto.
4492         (elmo-folder-mark-as-read): Ditto.
4493         (elmo-folder-unmark-answered): Ditto.
4494         (elmo-folder-mark-as-answered): Ditto.
4495         (elmo-folder-replace-marks): Abolish.
4496         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4497         duplicates.
4498         (elmo-folder-synchronize): Removed mark arguments;
4499         return crosspost only number.
4500
4501 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4502
4503         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4504         Remove redundunt connectivity check.
4505
4506 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4507
4508         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4509         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4510
4511 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4512
4513         * pldap.el (ldap-decode-string): Return string as-is if
4514         `ldap-coding-system' is nil.
4515         (ldap-encode-string): Ditto.
4516         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4517         (ldap-default-host): Fixed docstring.
4518
4519 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4520
4521         * elmo-util.el (elmo-warning): Define as a macro which uses
4522         `display-warning' if it is defined as a function.
4523
4524         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4525         (elmo-split-equal): Use it.
4526         (elmo-split-match): Ditto.
4527         (elmo-split-message-entity): New buffer-local variable.
4528         (elmo-split-subr): Set it.
4529
4530         * elmo-version.el (elmo-version): Up to 2.9.15.
4531
4532 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4533
4534         * elmo-imap4.el (elmo-network-initialize-session):
4535         Check capability after starttls.
4536
4537 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4538
4539         * elmo-util.el (elmo-list-delete): Added optional argument
4540         DELETE-FUNCTION.
4541
4542         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4543
4544         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4545
4546         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4547
4548         * elmo-imap4.el (elmo-folder-initialize): Don't use
4549         elmo-imap4-default-mailbox.
4550
4551 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4552
4553         * elmo-split.el (toplevel): Use `product-provide'.
4554         (elmo-split): Checkdoc.
4555
4556 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4557
4558         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4559         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4560         the function `elmo-imap4-debug-1'.
4561
4562 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4563
4564         * elmo-split.el (elmo-split): Moved to run hooks and to show
4565         message from elmo-split-subr.
4566         (elmo-split-subr): Follow the change above.
4567
4568         * elmo-split.el (elmo-split-subr): New function (renamed from
4569         elmo-split-subr).
4570         (elmo-split): Changed to call elmo-split-subr by element of
4571         elmo-split-folder.
4572         (elmo-split-folder): Changed customization type to choice.
4573
4574 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4575
4576         * elmo-split.el (elmo-split-and): Fixed condition.
4577
4578 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4579
4580         * elmo-split.el: New file.
4581         (elmo-split): Fixed logic.
4582         Display "Test:" instead of "Folder:" when reharsal.
4583
4584         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4585         explicitly.
4586
4587         * elmo-version.el (elmo-version): Up to 2.9.14.
4588
4589         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4590         wl-expand-newtext).
4591
4592 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4593
4594         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4595         message with no message-id field.
4596
4597 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4598
4599         * elmo-version.el (elmo-version): Up to 2.9.13.
4600
4601         * elmo-dop.el (elmo-folder-status-dop): Fix.
4602
4603 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4604
4605         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4606
4607         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4608         changing default value of default-mime-charset.
4609         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4610
4611         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4612
4613         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4614         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4615         instead of elmo-dop-queue-method-name-alist to check merging queue.
4616         (elmo-folder-delete-messages-dop): Delete from queue if negative
4617         message number.
4618         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4619         file is already removed.
4620
4621 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4622
4623         * elmo-vars.el: Bind colon keywords for old Emacsen.
4624
4625 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4626
4627         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4628         against non-exsisting charset.
4629
4630 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4631
4632         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4633         Use eword-decode-and-unfold-unstructured-field-body.
4634
4635         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4636         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4637         exists to decode raw subject string.
4638         (toplevel): Require 'mime.
4639
4640         * elmo-version.el (elmo-version): Up to 2.9.12.
4641
4642 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4643
4644         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4645         (elmo-msgdb-set-mark): Ditto.
4646
4647         * elmo-version.el (elmo-version): Up to 2.9.11.
4648
4649 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4650
4651         * elmo-util.el (elmo-delete-match-files): New function.
4652
4653         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4654         instead of elmo-delete-directory.
4655
4656         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4657         elmo-hash-minimun-size as 63.
4658
4659         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4660         elmo-diff-unread is nil.
4661
4662         * elmo-imap4.el (elmo-folder-open): Fix.
4663
4664         * elmo.el (elmo-message-mark): Rewrite.
4665         (elmo-message-field): Ditto.
4666         (elmo-message-set-mark): Ditto.
4667         (elmo-folder-replace-marks): New function.
4668         (elmo-generic-folder-append-msgdb): Removed third argument for
4669         elmo-msgdb-append.
4670         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4671         (elmo-msgdb-load): New implementation.
4672
4673         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4674
4675         * elmo-util.el (elmo-list-insert): New implementation.
4676
4677         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4678         argument for elmo-msgdb-append.
4679         
4680
4681         * elmo-msgdb.el (elmo-load-msgdb): New function.
4682         (elmo-make-msgdb): Ditto.
4683         (elmo-msgdb-get-index): New inline function.
4684         (elmo-msgdb-set-index): Ditto.
4685         (elmo-msgdb-get-entity-hashtb): Ditto.
4686         (elmo-msgdb-get-mark-hashtb): Ditto.
4687         (elmo-msgdb-get-mark): Ditto.
4688         (elmo-msgdb-set-mark): Ditto.
4689         (elmo-msgdb-count-marks): Ditto.
4690         (elmo-msgdb-get-number): Ditto.
4691         (elmo-msgdb-get-field): Ditto.
4692         (elmo-msgdb-seen-list): Ditto.
4693         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4694         (elmo-msgdb-delete-msgs): Follow the changes above.
4695         (elmo-msgdb-overview-get-entity): Ditto.
4696         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4697         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4698         and rewritten.
4699         (elmo-msgdb-make-index): Likewise.
4700         (elmo-msgdb-append): Removed third argument.
4701         (elmo-msgdb-clear): Clear index as nil.
4702         (elmo-folder-set-info-hashtb): Removed.
4703         (elmo-folder-set-info-max-by-numdb): Ditto.
4704         (elmo-folder-info-make-hashtb): Ditto.
4705
4706         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4707
4708         * elmo-map.el (elmo-folder-pack-number): Ditto.
4709
4710 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4711
4712         * elmo-version.el (elmo-version): Up to 2.9.10.
4713
4714         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4715
4716         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4717
4718 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4719
4720         * elmo-utils.el (elmo-make-directory): Add option.
4721         Default file mode is 700.
4722
4723 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4724
4725         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4726
4727 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4728
4729         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4730         mime-charset.
4731
4732         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4733         and "smaller".
4734
4735 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4736
4737         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4738         (elmo-shimbun-folder-entity-hash): New function.
4739         (elmo-shimbun-folder-shimbun-header): Ditto.
4740         (elmo-shimbun-entity-to-header): Ditto.
4741         (elmo-shimbun-msgdb-to-headers): Removed.
4742         (elmo-shimbun-folder-setup): Ditto.
4743         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4744         for hash key.
4745         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4746         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4747         Removed useless local bind.
4748         (elmo-folder-open-internal): Don't call
4749         `elmo-shimbun-folder-setup'.
4750         (elmo-folder-close-internal): Clear entity-hash slot.
4751         (elmo-folder-clear): Ditto.
4752         (elmo-shimbun-msgdb-create-entity): Use
4753         `elmo-shimbun-folder-shimbun-header'.
4754         (elmo-map-message-fetch): Ditto.
4755         (elmo-shimbun-update-overview): Use overview entity instead of
4756         shimbun header to lookup id by references.
4757         (elmo-map-folder-list-message-locations): Use not only headers but
4758         also overviews to list locations.
4759
4760 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4761
4762         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4763         msgdb path.
4764
4765         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4766
4767 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4768
4769         * elmo-util.el (elmo-read-search-condition-internal): Give default
4770         value for date.
4771
4772 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4773
4774         * elmo-util.el (elmo-condition-parse-search-value): Accept
4775         YYYY-MM-DD format to search.
4776         * elmo-date.el (elmo-date-get-datevec): Likewise.
4777
4778 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4779
4780         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4781         debugging code.
4782
4783 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4784
4785         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4786         from t.
4787
4788         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4789
4790         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4791         case from `elmo-folder-exists-p'.
4792         (elmo-folder-exists-p): Removed.
4793         (elmo-folder-creatable-p) Ditto.
4794
4795         * elmo-net.el (elmo-folder-create): Defined.
4796         (elmo-folder-create-unplugged): New function.
4797         (elmo-folder-exists-p): Changed default value to nil from t.
4798
4799         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4800         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4801
4802         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4803         `elmo-create-folder-dop' and append queue
4804         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4805         (elmo-folder-create-dop-delayed): New function.
4806
4807         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4808
4809         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4810
4811         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4812         (elmo-folder-writable-p) : Ditto.
4813
4814         * elmo-version.el (elmo-version): Up to 2.9.9.
4815
4816 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4817
4818         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4819         `elmo-message-use-cache-p' returns nil.
4820         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4821         (ignore cache file and refer the substance in local folders)
4822
4823 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4824
4825         * elmo-version.el (elmo-version): Up to 2.9.8.
4826
4827 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4828
4829         * elmo-version.el (elmo-version): Up to 2.9.7.
4830
4831         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4832
4833 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4834
4835         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4836
4837 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4838
4839         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4840         from --early.
4841         (elmo-map-folder-list-message-locations): Reverse location list.
4842
4843 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4844
4845         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4846
4847 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
4848
4849         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4850         as a key.
4851         (elmo-nntp-folder-list-subfolders): Follow the change above.
4852
4853 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
4854
4855         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4856         name if authentication type is specified.
4857
4858 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
4859
4860         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4861         variable.
4862         (elmo-default-nntp-stream-type): Ditto.
4863         (elmo-default-pop3-stream-type): Ditto.
4864
4865 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
4866
4867         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4868
4869 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4870
4871         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4872         elmo-vars.el.
4873         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4874
4875         * elmo-vars.el (elmo-localnews-folder-path): Removed.
4876         (elmo-maildir-folder-path): Ditto.
4877         (elmo-maildir-list): Ditto (abolished).
4878
4879 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
4880
4881         * elmo-version.el (elmo-version): Up to 2.9.6.
4882
4883 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4884
4885         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4886         (elmo-maildir-folder-path): Ditto.
4887         (elmo-msgdb-directory): Ditto.
4888         (elmo-passwd-life-time): Ditto.
4889         (elmo-msgdb-extra-fields): Ditto.
4890         (elmo-enable-disconnected-operation): Ditto.
4891
4892 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4893
4894         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4895         other choices.
4896         (elmo-pop3-default-authenticate-type): Ditto.
4897
4898 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4899
4900         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4901         choices for custom.
4902         (elmo-pop3-default-authenticate-type): Ditto.
4903
4904 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4905
4906         * elmo-imap4.el (elmo-folder-rename-internal): Change current
4907         mailbox to new-folder.
4908
4909 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
4910
4911         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4912         less than new, set new as unread.
4913
4914         * elmo-util.el (elmo-string): Don't put text-property if nil.
4915
4916 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4917
4918         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4919         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4920
4921 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
4922
4923         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4924         is nil on `completing-read'.
4925
4926 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
4927
4928         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4929         for namespace part.
4930         (elmo-imap4-parse-namespace-subr): Ditto.
4931         (elmo-folder-list-subfolders): Append a delimiter when the specified
4932         folder path is a root with namespace and does not end with delimiter.
4933
4934 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4935
4936         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4937         was used.
4938
4939 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4940
4941         * elmo-util.el (elmo-save-buffer): The first argument of message
4942         is a format control string.
4943
4944 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4945
4946         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4947         `elmo-folder-diff').
4948         (elmo-diff-unread): Likewise.
4949
4950 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4951
4952         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4953         is t on `completing-read'.
4954
4955 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4956
4957         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4958         method of target folder with self mark-alist if MARK-ALIST is nil.
4959
4960 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
4961
4962         * elmo-version.el (elmo-version): Up to 2.9.5.
4963
4964 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
4965
4966         * elmo-dop.el (elmo-dop-queue-merge): Implement.
4967         (elmo-dop-merge-funcs): Remove.
4968
4969 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4970
4971         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4972         Return t if PATH is directory, too.
4973         Use `dolist' instead of while loop.
4974
4975 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4976
4977         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4978         is deleted.
4979
4980 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4981
4982         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4983         return value to t.
4984         (elmo-folder-list-messages-unplugged): Return t if
4985         elmo-enable-disconnected-operation is nil.
4986
4987         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4988         `elmo-folder-list-messages-internal'.
4989
4990 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4991
4992         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4993         Change to looking-at `[23][0-9]+'.
4994         (elmo-network-initialize-session): Use 'error-msg'
4995         * elmo-net.el (elmo-network-open-session): Set unplugged
4996         if elmo-network-initialize-session returns 'elmo-open-err.
4997
4998 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
4999
5000         * elmo-version.el (elmo-version): Up to 2.9.4.
5001
5002 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5003
5004         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5005         `elmo-folder-list-messages-internal'.
5006
5007 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5008
5009         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5010         (elmo-message-match-condition): New method.
5011         (elmo-folder-search-fast): New inline function.
5012         (elmo-msgdb-search): Removed.
5013
5014         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5015         target folder if it is unplugged.
5016         (elmo-folder-list-messages-internal): Return t if target folder is
5017         unplugged and itself is persistent; In this case, use list be
5018         searched already.
5019
5020         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5021         (elmo-msgdb-search-internal-primitive): Ditto.
5022         (elmo-msgdb-match-condition): New function.
5023         (elmo-msgdb-match-condition-primitive): Ditto.
5024
5025         * elmo-util.el (elmo-filter-condition-p): New macro.
5026
5027         * elmo-cache.el (elmo-folder-search): Removed.
5028
5029         * elmo-localdir.el (elmo-folder-search): Ditto.
5030
5031         * elmo-maildir.el (elmo-folder-search): Ditto.
5032
5033         * elmo-mark.el (elmo-folder-search): Ditto.
5034
5035         * elmo-nmz.el (elmo-folder-search): Ditto.
5036
5037         * elmo-sendlog.el (elmo-folder-search): Ditto.
5038
5039         * elmo-shimbun.el (elmo-folder-search): Ditto.
5040
5041         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5042         if folder is unplugged.
5043
5044         * elmo-nntp.el (elmo-folder-search): Likewise.
5045         (elmo-nntp-search-internal): New function.
5046
5047         * elmo-version.el (elmo-version): Up to 2.9.3.
5048
5049 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5050
5051         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5052
5053 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5054
5055         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5056
5057 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5058
5059         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5060
5061 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5062
5063         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5064         (elmo-map-folder-list-message-locations): Do drive letter conversion
5065         on Windows environment.
5066         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5067         (elmo-map-message-fetch): Ditto.
5068
5069 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5070
5071         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5072         (elmo-network-initialize-session): Ditto.
5073
5074 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5075
5076         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5077
5078         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5079
5080         * elmo-util.el (elmo-progress-clear): Ditto.
5081
5082         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5083         `DD-Mon-YYYY' type date.
5084
5085 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5086
5087         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5088         `elmo-date-make-sortable-string' instead of
5089         `timezone-make-date-sortable'.
5090
5091         * elmo-date.el (elmo-date-make-sortable-string): Use
5092         `timezone-make-time-string'.
5093
5094 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5095
5096         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5097
5098         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5099         `since'; Fix timezone.
5100
5101         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5102
5103         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5104
5105 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5106
5107         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5108
5109 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5110
5111         * elmo.el (elmo-generic-folder-append-messages): Make
5112         fetch-strategy with `use-cache' as 'maybe. Check return value of
5113         `elmo-message-fetch'.
5114         (elmo-message-fetch): Return return value of
5115         `elmo-message-fetch-with-cache-process'.
5116         (elmo-message-fetch-with-cache-process): Return non-nil if
5117         fetching was succeed. Load cache when fetching was failed and
5118         fetch-strategy-use-cache is 'maybe.
5119
5120         * elmo-util.el (elmo-file-cache-load): New function.
5121
5122         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5123         defun.
5124
5125         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5126         non-nil if fetching was succeed.
5127
5128         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5129
5130         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5131
5132         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5133         (elmo-message-fetch-with-cache-process): Likwise.
5134
5135         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5136
5137         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5138
5139         * elmo-version.el (elmo-version): Up to 2.9.2.
5140
5141 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5142
5143         * elmo.el (elmo-folder-delete): Delete msgdb path.
5144
5145         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5146
5147         * elmo-maildir.el (elmo-folder-delete): Ditto.
5148
5149         * elmo-localdir.el (elmo-folder-delete): Ditto.
5150
5151         * elmo-imap4.el (elmo-folder-delete): Ditto.
5152
5153 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5154
5155         * elmo.el (luna-define-class): Added `biff' slot.
5156
5157         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5158         (elmo-pop3-debug-inhibit-logging): Abolished.
5159         (elmo-network-close-session): Eliminated needless let.
5160         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5161         (elmo-pop3-send-command): Added `no-log' argument.
5162         (elmo-pop3-process-filter): Use `with-current-buffer'.
5163         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5164         if login failure.
5165         (elmo-pop3-auth-apop): Likewise.
5166         (elmo-network-authenticate-session): Likewise.
5167
5168         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5169         if biff folder.
5170
5171         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5172         string to determine protocol.
5173         (elmo-network-session-name-prefix): Abolished.
5174         (elmo-network-session-cache-key): Follow the change above.
5175         (elmo-network-open-session): Ditto.
5176
5177         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5178         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5179
5180         * elmo-version.el (elmo-version): Up to 2.9.1.
5181
5182         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5183         unmatch condition checking.
5184
5185         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5186         condition.
5187
5188 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5189
5190         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5191
5192 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5193
5194         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5195         test for while loop to execute at least one SEARCH command.
5196
5197 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5198
5199         * elmo-version.el (elmo-version): Up to 2.9.0.
5200
5201 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5202
5203         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5204         (elmo-archive-folder-path): Define.
5205         (elmo-folder-initialize): Setup `dir-name' slot.
5206         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5207         Use `dir-name' as prefix of each subfolders.
5208         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5209
5210 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5211
5212         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5213         (elmo-pipe-folder-list-target-messages): New internal function.
5214         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5215         `killed-list'.
5216         (elmo-pipe-folder-copied-list-load): New function.
5217         (elmo-pipe-folder-copied-list-save): Ditto.
5218         (elmo-folder-open-internal): Follow the change above.
5219         (elmo-folder-status): Fixed for copy.
5220
5221 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5222
5223         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5224
5225 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5226
5227         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5228         elmo-copy-file instead of elmo-add-name-to-file.
5229
5230         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5231
5232         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5233         "file://..." index.
5234
5235         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5236         of accept-process-output as 1.
5237         (elmo-pop3-read-contents): Ditto.
5238         (elmo-pop3-read-body): Ditto.
5239
5240 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5241
5242         * elmo-version.el (product-version-as-string): Remove define.
5243
5244 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5245
5246         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5247         (elmo-imap4-copy-messages): Chop number set using
5248         `elmo-imap4-number-set-chop-length'.
5249         (elmo-imap4-set-flag): Ditto.
5250         (elmo-imap4-search-internal-primitive): Ditto.
5251
5252 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5253
5254         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5255         `elmo-folder-make-temp-dir'
5256
5257         * elmo-vars.el (elmo-cache-directory): New variable.
5258         (elmo-cache-dir): Abolished.
5259         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5260
5261         * elmo-version.el (elmo-version): Up to 2.7.7.
5262
5263 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5264
5265         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5266         defcustom; Set default value as t.
5267
5268 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5269
5270         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5271         (ldap-search-program-arguments): Changed default value.
5272         (ldap-search-basic): Accept exit status 4.
5273         (ldap/field-body): Parse options.
5274         (ldap/collect-field): Ditto.
5275         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5276
5277         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5278         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5279         (elmo-imap4-accept-ok): Ditto.
5280         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5281         'notify-bye, only BYE error is reported.
5282         (elmo-folder-exists-p-plugged): Set no-error argument of
5283         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5284
5285         * elmo.el (elmo-imap4-bye-error): Changed message.
5286
5287         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5288         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5289         queues (It causes infinite loop).
5290
5291 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5292
5293         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5294         (RECENT UNSEEN MESSAGES) extension.
5295
5296 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5297
5298         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5299         Check number of overview fields.
5300
5301 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5302
5303         * elmo.el (elmo-folder-confirm-appends): Changed message.
5304         (elmo-folder-confirm-appends): Ditto.
5305
5306         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5307         `with-temp-buffer'.
5308         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5309
5310 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5311
5312         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5313         of elmo-folder-update-threshold is nil, which can be set by
5314         wl-summary-update-confirm-threshold.
5315
5316 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5317
5318         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5319         (elmo-nmz-index-alias-alist): Ditto.
5320         (elmo-map-folder-list-message-locations): Follow the change above.
5321
5322 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5323
5324         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5325
5326         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5327
5328         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5329
5330         * elmo-util.el (elmo-read): Ditto.
5331         (elmo-display-error): Ditto.
5332
5333         * elmo-vars.el (elmo-date-match): Ditto.
5334
5335         * pldap.el (ldap-coding-system): Ditto.
5336
5337         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5338         `elmo-inhibit-number-mapping' as nil.
5339
5340 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5341
5342         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5343         space delimiter for list response.
5344
5345 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5346
5347         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5348
5349 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5350
5351         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5352         (elmo-map-message-fetch): Fix.
5353         * elmo-map.el (elmo-folder-status): Fix for killed.
5354
5355 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5356
5357         * elmo-sendlog.el: New file.
5358         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5359
5360 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5361
5362         * acap.el (acap-logging-out): New buffer local variable.
5363         (acap-close): Set it.
5364         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5365         an error.
5366
5367 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5368
5369         * acap.el (acap-response-bye-p): New function.
5370         (acap-response-bye-message): Ditto.
5371         (acap-wait-for-response): If bye response is received, cause an error.
5372         (acap-parse-response): Make bye response when 'Bye' is received.
5373
5374 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5375
5376         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5377
5378 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5379
5380         * elmo-util.el (elmo-copy-file): Added argument
5381         `ok-if-already-exists'.
5382         (elmo-copy-file): Fixed typo.
5383
5384 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5385
5386         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5387
5388 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5389
5390         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5391
5392 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5393
5394         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5395         to killed-list.
5396
5397 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5398
5399         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5400         (elmo-folder-initialize): Fix for `copy'.
5401         (elmo-pipe-drain): Ditto.
5402         (elmo-folder-open-internal): Ditto.
5403         (elmo-folder-newsgroups): Fix.
5404
5405 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5406
5407         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5408         for each message.
5409
5410         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5411         recent value is returned from imap folder.
5412
5413         * elmo.el (elmo-folder-newsgroups): New generic function.
5414
5415         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5416         (elmo-folder-initialize): Set it.
5417         (elmo-folder-expand-msgdb-path): Use it.
5418         (elmo-folder-newsgroups): Define.
5419
5420         * elmo-filter.el (elmo-folder-newsgroups): Define.
5421
5422         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5423
5424         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5425
5426         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5427
5428 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5429
5430         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5431         user option.
5432         (elmo-shimbun-header-extra-field): New inline function.
5433         (elmo-shimbun-header-set-extra-field): Ditto.
5434         (elmo-shimbun-folder-header-hash-setup): Ditto.
5435         (elmo-shimbun-update-overview): Ditto.
5436         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5437         (elmo-shimbun-folder-setup): Use
5438         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5439         (elmo-shimbun-get-headers): Ditto.
5440         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5441         Insert `X-Shimbun-Id:' header if extra field is set.
5442         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5443         field's value instead of `shimbun-header-id'.
5444
5445         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5446         inline function.
5447         (elmo-msgdb-overview-entity-set-date): Ditto.
5448         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5449
5450 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5451
5452         * mmimap.el (mmimap-entity-section): Changed body node number from
5453         "0" to "1".
5454
5455 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5456
5457         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5458         `elmo-folder-delete-messages'.
5459
5460         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5461         (elmo-folder-initialize): Changed to expand alias into index path.
5462
5463         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5464         `elmo-mime-insert-header-from-buffer' with 6th arg
5465         `sorted-fields'.
5466
5467 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5468
5469         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5470
5471         * elmo.el (elmo-diff-new): New inline function.
5472         (elmo-diff-unread): Ditto.
5473         (elmo-diff-all): Ditto.
5474
5475         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5476         value from responseb.
5477         (elmo-imap4-folder-diff-plugged): Ditto.
5478         (elmo-imap4-server-diff-async): Added recent argument.
5479         (elmo-server-diff-async): Ditto.
5480         (elmo-imap4-folder-diff-plugged): Ditto.
5481
5482         * elmo-version.el (elmo-version): Up to 2.7.6.
5483
5484 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5485
5486         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5487         in quoted-stirng.
5488
5489 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5490
5491         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5492
5493         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5494
5495         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5496
5497         * elmo-multi.el (elmo-folder-initialize): Ditto.
5498
5499         * elmo-util.el (elmo-parse-token): New function.
5500         (elmo-parse-prefixed-element): Ditto.
5501
5502 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5503
5504         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5505         delete process.
5506         (elmo-imap4-accept-ok): Ditto.
5507
5508 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5509
5510         * mmimap.el (mime-imap-entity-header-string): Don't check first
5511         element of node-id is `0' (Follow last change).
5512
5513 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5514
5515         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5516         assigned irregular node-id to nested multipart section.
5517         (initialize-instance): Followed above change.
5518
5519 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5520
5521         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5522         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5523         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5524         `elmo-shimbun-get-headers');
5525         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5526         visible article on summary exists in headers).
5527         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5528
5529 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5530
5531         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5532         definition.
5533
5534 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5535
5536         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5537
5538 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5539
5540         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5541         header separator into loop condition.
5542
5543 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5544
5545         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5546         Return duplicate folder if it has subfolder.
5547
5548 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5549
5550         * elmo.el (elmo-make-folder): Add folder name error check.
5551
5552         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5553         (elmo-nntp-encode-group-string): New inline function.
5554         (elmo-nntp-decode-group-string): Ditto.
5555         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5556         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5557         Use `not' instead of `null';
5558         Use elmo-nntp-decode-group-string.
5559
5560         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5561
5562         * elmo-version.el (elmo-version): Up to 2.7.5.
5563
5564 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5565
5566         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5567         Hide progress gauge if `elmo-folder-move-messages' exits
5568         nonlocally.
5569
5570 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5571
5572         * elmo-imap4.el (elmo-folder-initialize): Use
5573         `elmo-imap4-encode-folder-string' for folder name.
5574
5575 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5576
5577         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5578         `done'.
5579
5580 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5581
5582         * elmo-util.el (elmo-progress-counter-alist): New internal
5583         variable.
5584         (elmo-progress-counter-value): New macro.
5585         (elmo-progress-counter-all-value): Ditto.
5586         (elmo-progress-counter-format): Ditto.
5587         (elmo-progress-counter-set-value): Ditto.
5588         (elmo-progress-set): New function.
5589         (elmo-progress-clear): Ditto.
5590         (elmo-progress-notify): Ditto.
5591
5592         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5593         counter.
5594
5595         * elmo.el (elmo-generic-folder-append-messages): Call
5596         `elmo-progress-notify'.
5597         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5598
5599         * elmo-archive.el (elmo-folder-append-messages): Call
5600         `elmo-progress-notify'.
5601
5602         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5603
5604         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5605
5606         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5607
5608 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5609
5610         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5611         'Create'.
5612         (elmo-message-encache-dop): Added argument `read'.
5613
5614         * elmo-shimbun.el (elmo-message-encache): Ditto.
5615
5616         * elmo-net.el (elmo-message-encache): Ditto.
5617
5618         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5619         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5620         elmo-imap4-seen-messages.
5621         (elmo-folder-msgdb-create-plugged): Initialize
5622         elmo-imap4-seen-messages;
5623         Set seen mark on elmo-imap4-seen-messages.
5624
5625         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5626
5627         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5628         elmo-folder-append-buffer.
5629         (elmo-folder-encache): Added optional argument `read'.
5630         (elmo-message-encache): Ditto.
5631
5632         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5633
5634         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5635
5636         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5637         if append buffer content succeds.
5638
5639 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5640
5641         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5642         elmo-display-progress.
5643
5644         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5645         Set 4th argument of mime-display-message.
5646         (elmo-mime-display-as-is): Ditto.
5647
5648 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5649
5650         * elmo-nmz.el (toplevel): Require 'mime-edit.
5651         (elmo-nmz-content-type-alist): Abolished.
5652         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5653         content is not a message.
5654         (elmo-map-message-fetch): Changed behavior exept for message content;
5655         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5656         content-type, Add From: and Subject: field.
5657
5658 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5659
5660         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5661         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5662         not a message.
5663
5664 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5665
5666         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5667         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5668
5669         * elmo-archive.el (elmo-folder-writable-p): Defined.
5670
5671         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5672
5673         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5674
5675         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5676
5677         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5678
5679         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5680
5681         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5682
5683         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5684
5685         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5686
5687 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5688
5689         * elmo-util.el (elmo-address-quote-specials): New function;
5690         Renamed from `wl-address-quote-specials'.
5691
5692 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5693
5694         * elmo-version.el (elmo-version): Up to 2.7.4.
5695
5696 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5697
5698         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5699
5700 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5701
5702         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5703         both compile-time and run-time to avoid byte-compile warning.
5704
5705 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5706
5707         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5708
5709 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5710
5711         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5712         option.
5713         (elmo-mime-display-as-is-internal): Use it.
5714
5715         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5716         if `read-passwd' is not defined.
5717
5718 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5719
5720         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5721         by original number.
5722         (elmo-folder-status): Call `elmo-folder-open-internal';
5723         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5724         (elmo-folder-close-internal): Set location-alist as nil.
5725         (elmo-folder-clear): Define.
5726         (elmo-folder-check): Don't set location-alist as nil.
5727
5728         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5729
5730 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5731
5732         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5733         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5734
5735         * mmimap.el (mime-imap-entity::requested): New slot.
5736         (mime-imap-location-fetch-entity-p): New generic function.
5737         (mime-decode-parameters): Define using `defun-maybe'.
5738         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5739         content-type structure.
5740         (mime-entity-body): Return empty body if
5741         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5742
5743         * elmo.el (elmo-message-displaying): New variable.
5744
5745         * elmo-mime.el (elmo-mime-message-display): Bind
5746         elmo-message-displaying as t.
5747
5748         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5749
5750 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5751
5752         * acap.el (acap-open): erase buffer before starting network process.
5753         (acap-store): Rewrite.
5754
5755 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5756
5757         * elmo-imap4.el (elmo-imap4-default-mailbox,
5758         elmo-imap4-default-server
5759         elmo-imap4-default-authenticate-type,
5760         elmo-imap4-default-user,
5761         elmo-imap4-default-port,
5762         elmo-imap4-default-stream-type,
5763         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5764
5765         * elmo-pop3.el (elmo-pop3-default-user,
5766         elmo-pop3-default-server,
5767         elmo-pop3-default-authenticate-type,
5768         elmo-pop3-default-port,
5769         elmo-pop3-default-stream-type,
5770         elmo-pop3-stream-type-alist): Ditto.
5771
5772         * elmo-nntp.el (elmo-nntp-default-server,
5773         elmo-nntp-default-user,
5774         elmo-nntp-default-port,
5775         elmo-nntp-default-stream-type,
5776         elmo-nntp-stream-type-alist): Ditto.
5777
5778         * elmo-vars.el: Follow changes above.
5779         (elmo-setting): New custom group; added 'elmo-setting group to
5780         above variables.
5781
5782         * elmo-version.el (elmo-version): Up to 2.7.3.
5783
5784         * acap.el (acap-parse-response): Don't delete process when BYE
5785         response (It causes hang-up on slow network environment).
5786         (toplevel): Added comment.
5787
5788 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5789
5790         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5791
5792         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5793         parsing NIL.
5794         (acap-parse-return-metadata): Ditto.
5795
5796         * slp.el: New file.
5797         (toplevel): Fixed typo.
5798
5799         * acap.el: New file.
5800         (acap-network-stream-open): Show "Connecting..." message.
5801         (acap-parse-response): Fixed problem for BYE untagged response.
5802         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5803         (toplevel): Added tiny comments.
5804
5805 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5806
5807         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5808         space delimiter for uidl response.
5809
5810 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5811
5812         * elmo-vars.el (elmo-use-semi): Eliminated.
5813
5814         * elmo-util.el (elmo-string-assoc-all): New function.
5815
5816 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5817
5818         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5819         property 'mime-preview-situation for `mime-preview-quit'.
5820
5821 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5822
5823         * elmo.el (elmo-message-fetch-with-cache-process): Call
5824         elmo-message-fetch-internal instead of causing an error when fetch
5825         strategy is 'entire but only 'section cache is available.
5826
5827 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5828
5829         * elmo-version.el (elmo-version): Up to 2.7.2.
5830
5831         * elmo.el (elmo-generic-folder-append-messages): Make
5832         fetch-strategy with `use-cache'.
5833
5834         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5835         (elmo-dop-queue-method-name): New macro.
5836
5837 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5838
5839         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5840         unbalanced parenthesis.
5841
5842 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5843
5844         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5845
5846 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
5847
5848         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5849         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5850
5851 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
5852
5853         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5854         local variables.
5855
5856 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
5857
5858         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5859         (elmo-message-use-cache-p): Define.
5860         (elmo-folder-msgdb-create): Treat cache.
5861
5862 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
5863
5864         * elmo-nntp.el (elmo-network-initialize-session): Call
5865         `elmo-nntp-send-mode-reader'.
5866         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5867
5868 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
5869
5870         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5871         alist.
5872         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5873         assoc.
5874
5875         * elmo-net.el (elmo-network-get-session): Set stream-type argument
5876         for `elmo-plugged-p'.
5877         (elmo-open-network-stream): Fixed stream-type argument.
5878
5879 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
5880
5881         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5882         unknown archive type is specified.
5883
5884 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
5885
5886         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5887
5888         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5889         while loading msgdb.
5890
5891         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5892         (elmo-folder-open-internal): Rewrite.
5893
5894 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
5895
5896         * elmo-mime.el (elmo-mime-display-as-is-internal):
5897         Adjust buffer-multibyte status.
5898
5899 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
5900
5901         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5902         of elmo-condition-find-key.
5903
5904         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5905         (elmo-condition-in-msgdb-p): Ditto.
5906         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5907         argument.
5908
5909 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5910
5911         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5912
5913 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
5914
5915         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5916         label for elmo-display-progress.
5917
5918 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
5919
5920         * elmo.el (elmo-folder-clear): New method.
5921         (elmo-folder-clear): Define.
5922         (elmo-folder-synchronize): Call `elmo-folder-clear'.
5923
5924         * elmo-shimbun.el (elmo-folder-check): Rewrite.
5925         (elmo-folder-clear): Define.
5926
5927         * elmo-map.el (elmo-folder-clear): Define.
5928
5929         * elmo-version.el (elmo-version): Up to 2.7.1.
5930
5931 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
5932
5933         * elmo.el (elmo-folder-synchronize): Return list of nil when no
5934         updates.
5935
5936 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
5937
5938         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5939         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5940
5941 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
5942
5943         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5944
5945         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5946         and re-written.
5947
5948         * elmo-imap4.el (elmo-folder-initialize): Use
5949         elmo-get-network-stream-type.
5950
5951         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5952
5953         * elmo-pop3.el (elmo-folder-initialize): Ditto.
5954
5955 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
5956
5957         * elmo.el (elmo-message-encache): Set unread argument for
5958         elmo-message-fetch.
5959
5960         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5961
5962         * elmo.el (elmo-net-port-info): New method.
5963
5964         * elmo-shimbun.el (elmo-net-port-info): Define.
5965         (elmo-message-encache): Ditto.
5966
5967         * elmo-net.el (elmo-net-port-info): Define as method.
5968
5969         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5970         unplugged status when elmo-enable-disconnected-operation is t.
5971
5972         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5973         of spool folder before checking new number.
5974
5975 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
5976
5977         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5978         (elmo-network-setup-session): Ditto.
5979         (elmo-message-fetch-plugged): Ditto.
5980         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5981         (elmo-network-initialize-session): Ditto.
5982         (elmo-pop3-read-response): Abolish 3rd argument.
5983         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5984         (elmo-pop3-read-contents): Ditto.
5985         (elmo-pop3-read-body): Ditto.
5986         (elmo-folder-status): Call elmo-folder-close.
5987         (elmo-pop3-lock): Abolish.
5988         (elmo-pop3-unlock): Ditto.
5989         (elmo-pop3-locked-p): Ditto.
5990         (elmo-folder-check): Don't call elmo-pop3-locked-p.
5991
5992 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
5993
5994         * elmo-version.el (elmo-version): Up to 2.7.0.
5995
5996         * elmo-pop3.el (elmo-pop3-debug): New variable.
5997         (elmo-pop3-debug-inhibit-logging): Ditto.
5998         (elmo-pop3-debug): New function.
5999         (elmo-pop3-send-command): Call elmo-pop3-debug.
6000         (elmo-pop3-read-response): Added keep-lock optional argument;
6001         Don't unlock if keep-lock is non-nil.
6002         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6003         (elmo-network-authenticate-session): Bind
6004         elmo-pop3-debug-inhibit-logging as t.
6005         (elmo-network-setup-session): Call elmo-pop3-read-response with
6006         keep-lock argument.
6007         (elmo-pop3-read-msg): Ditto.
6008         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6009         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6010         (elmo-network-initialize-session): Call elmo-pop3-lock.
6011         (elmo-folder-close-internal): Don't clear location-alist slot.
6012         (elmo-folder-check): Clear location-alist slot.
6013
6014 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6015
6016         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6017         (elmo-pop3-send-command): Call elmo-pop3-lock.
6018         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6019         (elmo-pop3-read-contents): Ditto.
6020         (elmo-pop3-lock): New function.
6021         (elmo-pop3-unlock): Ditto.
6022         (elmo-pop3-locked-p): Ditto.
6023         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6024         returns t.
6025
6026 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6027
6028         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6029
6030         * elmo-util.el (elmo-file-field-primitive-condition-match):
6031         New inline function (Don't fetch file content if "first" or "last").
6032         (elmo-file-field-condition-match): Use
6033         elmo-file-field-primitive-condition-match.
6034
6035         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6036         "first".
6037
6038         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6039         (elmo-message-fetch-plugged): Fixed.
6040
6041         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6042
6043 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6044
6045         * elmo.el (elmo-folder-move-messages): Bind
6046         elmo-inhibit-display-retrieval-progress as t while moving messages.
6047
6048         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6049         New variable.
6050         (elmo-inhibit-display-retrieval-progress): Ditto.
6051
6052         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6053         for retrieval progress;
6054         Don't display progress when total buffer size is smaller than
6055         elmo-display-retrieval-progress-threshold.
6056         (elmo-message-fetch-plugged): Don't display progress when
6057         elmo-inhibit-display-retrieval-progress is non-nil.
6058
6059         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6060         for retrieval progress;
6061         Don't display progress when literal size is smaller than
6062         elmo-display-retrieval-progress-threshold.
6063         (elmo-imap4-message-fetch): Don't display progress when
6064         elmo-inhibit-display-retrieval-progress is non-nil.
6065
6066 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6067
6068         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6069         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6070         (elmo-imap4-message-fetch): Likewise.
6071
6072         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6073         (elmo-shimbun-index-range-alist): Ditto.
6074         (elmo-shimbun-use-entire-index): Abolish.
6075         (shimbun-mua-use-entire-index): Ditto.
6076         (elmo-shimbun-folder): Added new slot `range'.
6077         (elmo-folder-initialize): Setup slot `range'.
6078
6079 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6080
6081         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6082         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6083         (elmo-shimbun-get-headers): Use return value of
6084         `shimbun-article-expiration-days'.
6085         (elmo-folder-close-internal): Clean up last-check slot.
6086
6087         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6088         (elmo-pop3-total-size): New variable.
6089         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6090
6091         * elmo.el (elmo-folder-reserve-status-p): New method.
6092
6093         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6094         (elmo-shimbun-use-entire-index): New user option.
6095         (shimbun-elmo-mua): New class.
6096         (shimbun-mua-search-id): Define.
6097         (shimbun-mua-use-entire-index): Ditto.
6098         (elmo-shimbun-folder:last-check): New slot.
6099         (elmo-shimbun-headers-cache-header-list): Abolish.
6100         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6101         (elmo-shimbun-headers-cache-header-hash): Ditto.
6102         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6103         (elmo-shimbun-headers-cache-last-check): Ditto.
6104         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6105         (elmo-shimbun-headers-check-p): Rewrite.
6106         (elmo-shimbun-msgdb-to-headers): New function.
6107         (elmo-shimbun-get-headers): Rewrite.
6108         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6109         (elmo-folder-open-internal): Get headers only if
6110         `elmo-shimbun-headers-check-p' is non-nil.
6111         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6112         is non-nil.
6113         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6114         (elmo-quit): Removed.
6115
6116         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6117         function.
6118         (elmo-msgdb-overview-entity-set-extra): Ditto.
6119         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6120
6121         * elmo-map.el (elmo-folder-status): Don't call
6122         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6123         is non-nil.
6124
6125 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6126
6127         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6128         of `elmo-msgdb-search-internal-primitive' when condition's car is
6129         `and' or `or'.
6130
6131 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6132
6133         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6134
6135 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6136
6137         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6138         call `elmo-pipe-drain'.
6139
6140 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6141
6142         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6143         typo. (elmo-cache-folder -> elmo-mark-folder)
6144
6145 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6146
6147         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6148         `elmo-message-fetch'.
6149
6150 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6151
6152         * elmo-net.el (elmo-message-encache): Fixed typo.
6153         (elmo-message-fetch-unplugged): Changed call
6154         `elmo-message-fetch-internal' without argument `outbuf'.
6155
6156 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6157
6158         * elmo.el (elmo-message-encache): Define as generic function.
6159         (elmo-message-fetch-field): New generic function.
6160         (elmo-message-fetch-with-cache-process): Cause an error when
6161         fetch strategy is 'entire but only 'section cache is available.
6162         (toplevel): Fixed nmz folder definition.
6163
6164         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6165         (elmo-msgdb-resume-list-filename): Ditto.
6166         (elmo-queue-filename): Ditto.
6167         (elmo-enable-disconnected-operation): Changed default value to t.
6168
6169         * elmo-util.el (elmo-cache-path-section-p): New function.
6170         (elmo-file-cache-get): Use it.
6171         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6172         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6173         (elmo-dop-queue-save): Ditto.
6174
6175         * elmo-net.el (elmo-folder-status-unplugged): Call
6176         elmo-folder-status-dop.
6177         (elmo-folder-list-messages-unplugged): Implemented.
6178         (elmo-folder-delete-messages-unplugged): Define.
6179         (elmo-folder-msgdb-create): Define.
6180         (elmo-folder-msgdb-create-unplugged): Define.
6181         (elmo-folder-mark-as-read-unplugged): Ditto.
6182         (elmo-folder-unmark-read-unplugged): Ditto.
6183         (elmo-folder-mark-as-important-unplugged): Ditto.
6184         (elmo-folder-unmark-important-unplugged): Ditto.
6185         (elmo-message-encache): Ditto.
6186
6187         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6188         (elmo-dop-queue-save): Ditto.
6189
6190         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6191         `elmo-folder-msgdb-create'.
6192         (elmo-folder-append-buffer): Implemented unplugged operation.
6193         (elmo-folder-append-messages): Call parent method in unplugged status.
6194         (elmo-message-fetch-unplugged): Removed definition.
6195         (elmo-message-fetch-field): Implemented.
6196
6197         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6198         (elmo-dop-folder): Removed variable definition.
6199         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6200         (elmo-dop-queue-flush): Implemented.
6201         (elmo-dop-queue-merge): Removed definition (TODO).
6202         (elmo-dop-spool-folder): New function.
6203         (elmo-dop-spool-folder-append-buffer): Ditto.
6204         (elmo-dop-spool-folder-list-messages): Ditto.
6205         (elmo-dop-list-deleting-messages): Ditto.
6206         (elmo-folder-append-buffer-dop): Ditto.
6207         (elmo-folder-delete-messages-dop): Ditto.
6208         (elmo-message-encache-dop): New inline function.
6209         (elmo-create-folder-dop): Ditto.
6210         (elmo-folder-mark-as-read-dop): Ditto.
6211         (elmo-folder-unmark-read-dop): Ditto.
6212         (elmo-folder-mark-as-important-dop): Ditto.
6213         (elmo-folder-unmark-important-dop): Ditto.
6214         (elmo-folder-status-dop): Fixed.
6215         (elmo-folder-append-buffer-dop-delayed): New function.
6216         (elmo-folder-delete-messages-dop-delayed): Ditto.
6217         (elmo-dop-msgdb): Ditto.
6218
6219 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6220
6221         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6222
6223 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6224
6225         * elmo.el (elmo-folder-move-messages): Fixed problem when
6226         `dst-folder' is 'null.
6227
6228 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6229
6230         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6231         instead of current mark.
6232
6233         * elmo-multi.el (elmo-folder-list-importants-internal): No
6234         operation if importants is not list.
6235
6236         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6237         Return t if importants is not list.
6238
6239         * elmo-map.el (elmo-map-folder-list-importants): Define.
6240         (elmo-folder-list-importants-internal): Check return value of
6241         `elmo-map-folder-list-importants-internal'.
6242
6243         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6244
6245         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6246
6247         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6248
6249         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6250
6251 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6252
6253         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6254         (Patch is provided by <kita@coe.nttdata.co.jp>).
6255
6256 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6257
6258         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6259         mark folder.
6260
6261 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6262
6263         * elmo.el (elmo-message-fetch): Define.
6264         (elmo-message-fetch-with-cache-process): New generic method.
6265         (elmo-message-fetch-internal): New generic method.
6266         (elmo-folder-synchronize):
6267
6268         * elmo-archive.el (elmo-message-fetch-internal): Define.
6269         (elmo-message-fetch): Eliminated.
6270
6271         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6272         (elmo-message-fetch): Eliminated.
6273
6274         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6275         argument OUTBUF.
6276         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6277
6278         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6279         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6280
6281         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6282         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6283
6284         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6285
6286         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6287
6288         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6289
6290         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6291         (elmo-message-fetch-unplugged): New generic method.
6292         (elmo-message-fetch-internal): Remove cache process (Renamed from
6293         `elmo-message-fetch').
6294
6295         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6296         (elmo-message-fetch): Eliminated.
6297         (elmo-message-fetch-unplugged): Ditto.
6298
6299         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6300
6301 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6302
6303         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6304         of `to-be-deleted' from number-alist to number-list.
6305
6306 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6307
6308         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6309         (elmo-folder-mark-as-important): Ditto.
6310
6311 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6312
6313         * elmo.el (elmo-folder): Added process-duplicates slot.
6314
6315         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6316         (elmo-folder-unmark-read): Ditto.
6317         (elmo-folder-unmark-important): Ditto.
6318         (elmo-folder-mark-as-important): Ditto.
6319
6320         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6321         duplicated message processing.
6322
6323         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6324
6325 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6326
6327         * elmo-util.el (elmo-list-subdirectories-1): New function.
6328         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6329         (elmo-mapcar-list-of-list): New function.
6330
6331         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6332         `elmo-mapcar-list-of-list' instead of `mapcar'.
6333
6334         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6335
6336         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6337         `elmo-have-link-count'. Return the fully qualified folder name.
6338
6339 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6340
6341         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6342         (elmo-shimbun-headers-cache): New internal variable.
6343         (elmo-shimbun-headers-cache-header-list): New inline function.
6344         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6345         (elmo-shimbun-headers-cache-header-hash): Ditto.
6346         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6347         (elmo-shimbun-headers-cache-last-check): Ditto.
6348         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6349         (elmo-shimbun-lapse-seconds): Ditto.
6350         (elmo-shimbun-headers-cache-check-p): Ditto.
6351         (elmo-shimbun-get-headers): New function.
6352         (elmo-folder-open-internal): Call it.
6353         (elmo-quit): Define (Clear headers-cache).
6354
6355 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6356
6357         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6358
6359         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6360         (elmo-msgdb-flist-save): Ditto.
6361
6362         * elmo-shimbun.el (elmo-folder-list-subfolders):
6363         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6364         (elmo-folder-exists-p): Ditto.
6365
6366         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6367         argument for `shimbun-header-insert'.
6368
6369 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6370
6371         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6372         at first time.
6373
6374         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6375         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6376
6377 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6378
6379         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6380         (elmo-folder-plugged-p): Define.
6381         (elmo-folder-set-plugged): Ditto.
6382         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6383         (elmo-folder-list-messages-internal): Return t if unplugged.
6384         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6385
6386         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6387         when elmo-folder-list-messages-internal method of children returns t.
6388
6389         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6390         pair is nil.
6391         (elmo-folder-open-internal): Don't update if unplugged status.
6392
6393 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6394
6395         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6396         new message.
6397
6398 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6399
6400         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6401
6402         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6403         saving.
6404
6405 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6406
6407         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6408
6409         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6410         (elmo-folder-open-internal): Set up headers slot.
6411         (elmo-folder-check): Call elmo-folder-close-internal and
6412         elmo-folder-open-internal.
6413         (elmo-folder-close-internal): Clean up headers slot.
6414
6415 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6416
6417         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6418         exactly folder list.
6419         (elmo-folder-append-messages): Fixed append archive with prefix.
6420
6421         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6422         make temp files with start-number.
6423
6424         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6425
6426 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6427
6428         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6429         argument `visible-only'.
6430         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6431         instead of `if'.
6432
6433         * elmo-pop3.el (elmo-folder-open-internal): Check
6434         `elmo-inhibit-number-mapping' is non-nil.
6435
6436         * elmo-pipe.el (elmo-folder-status): Fixed.
6437
6438 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6439
6440         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6441
6442         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6443         (elmo-folder-open-internal): Setup `header-hash' slot.
6444         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6445         information.
6446         (elmo-map-message-fetch): Ditto.
6447
6448 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6449
6450         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6451         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6452         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6453         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6454
6455         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6456
6457 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6458
6459         * sb-airs.el: Added footer.
6460
6461         * shimbun.el (shimbun-article): Define as luna-method.
6462
6463         * sb-tcup.el: New file.
6464
6465         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6466         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6467
6468 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6469
6470         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6471         (shimbun-get-headers): Ditto.
6472
6473         * elmo.el: Moved obsolete variable definitions from
6474         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6475
6476         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6477         groups.
6478
6479         * shimbun.el: New file.
6480
6481         * elmo-shimbun.el: New file.
6482
6483         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6484         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6485         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6486         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6487
6488 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6489
6490         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6491         hierarchy is t.
6492
6493 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6494
6495         * elmo.el (elmo-folder-msgdb): Define as macro.
6496         (elmo-folder-open): Added argument `load-msgdb'.
6497         (elmo-generic-folder-open): Ditto.
6498         (elmo-folder-encache): New function.
6499
6500         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6501
6502         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6503
6504         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6505         Eliminated argument FOLDER and added argument MSGDB.
6506         (elmo-dop-queue-load): Moved from elmo-dop.el.
6507         (elmo-dop-queue-save): Ditto.
6508
6509         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6510
6511         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6512
6513         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6514         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6515         (elmo-filter-folder-list-importants-internal): Ditto.
6516
6517         * elmo-map.el (elmo-folder-pack-number): Ditto.
6518
6519         * elmo-mime.el (elmo-mime-message-display): Ditto.
6520
6521         * elmo.el (elmo-generic-folder-commit): Ditto.
6522         (elmo-folder-list-unreads): Ditto.
6523         (elmo-folder-list-importants): Ditto.
6524         (elmo-generic-folder-commit): Ditto.
6525         (elmo-message-set-mark): Ditto.
6526         (elmo-generic-folder-append-msgdb): Ditto.
6527         (elmo-folder-synchronize): Ditto.
6528         (elmo-folder-messages): Ditto.
6529         (elmo-init): Call elmo-dop-queue-load.
6530         (elmo-folder-list-messages): Ditto.
6531
6532         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6533         (elmo-nntp-folder-process-crosspost): Ditto.
6534         (elmo-folder-list-unreads-internal): Ditto.
6535
6536         * elmo-dop.el: Removed old functions.
6537
6538 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6539
6540         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6541         `folder' to `msgdb'.
6542
6543 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6544
6545         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6546         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6547
6548         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6549         case-fold-search.
6550
6551 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6552
6553         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6554         defined.
6555
6556         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6557         (mmimap-parse-parameters-from-list): Define as alias for
6558         `mime-decode-parameter-plist' if it is defined as function.
6559         (mmimap-make-mime-entity): Added argument `number'.
6560         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6561         as 0.
6562         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6563
6564         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6565
6566         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6567
6568         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6569
6570 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6571
6572         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6573
6574         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6575         when elmo-imap4-default-authenticate-type is nil.
6576         (elmo-folder-list-subfolders): Ditto
6577         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6578         (elmo-imap4-fetch-callback-1-subr): Renamed from
6579         `elmo-imap4-fetch-callback-1' and define as inline function.
6580         (elmo-imap4-fetch-callback-1):
6581         Renamed from `elmo-imap4-fetch-callback'.
6582         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6583
6584         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6585         msgdb path (To keep compatibility with main trunk).
6586
6587         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6588
6589         * elmo-util.el (elmo-make-file-cache): Moved position of
6590         some macros.
6591
6592         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6593         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6594         instead of `elmo-pop3-inhibit-uidl'.
6595         (elmo-folder-exists-p): Ditto.
6596         (elmo-pop3-folder-list-messages): Ditto.
6597
6598         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6599         instead of `elmo-pop3-inhibit-uidl'.
6600         (elmo-folder-status): Ditto.
6601
6602         * elmo-dop.el (elmo-dop-folder): New variable.
6603         (elmo-dop-lock-message): Eliminated.
6604         (elmo-dop-unlock-message): Ditto.
6605         (elmo-dop-lock-list-load): Ditto.
6606         (elmo-dop-lock-list-save): Ditto.
6607         (elmo-dop-delete-folder): Ditto.
6608         (elmo-dop-rename-folder): Ditto.
6609
6610         * elmo.el: Removed incomplete commentary.
6611
6612 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6613
6614         * elmo.el (toplevel): Require 'elmo-version first;
6615         for little `recursive-load-depth' settings.
6616         Fix "ends here" comment.
6617
6618 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6619
6620         * elmo-util.el (toplevel): Require 'poem;
6621         Some functions are moved from elmo-cache.el.
6622
6623         * elmo-net.el (toplevel): Require 'elmo-cache.
6624
6625         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6626
6627         * elmo.el (toplevel): Ditto.
6628
6629         * elmo-cache.el: Rewrite with luna;
6630         Some functions are moved to elmo-util.el.
6631
6632         * elmo-internal.el (elmo-internal-folder-list): New variable.
6633         (elmo-internal-folder-initialize): Rewrite.
6634         (elmo-folder-list-subfolders): Ditto.
6635
6636         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6637         (elmo-cache-collect-sub-directories): Ditto.
6638
6639 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6640
6641         * elmo-version.el (elmo-version): Up to 2.5.8.
6642
6643         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6644
6645         * elmo-util.el (elmo-list-insert): New function.
6646
6647 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6648
6649         * elmo.el (elmo-init): New function.
6650         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6651
6652         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6653         (Renamed from `elmo-localdir-header-chop-length').
6654
6655         * elmo-pop3.el (elmo-pop3-use-cache,
6656         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6657
6658         * elmo-nntp.el (elmo-message-fetch): Define.
6659         (elmo-message-fetch-unplugged): Ditto.
6660         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6661         (elmo-nntp-use-cache): Ditto.
6662         (elmo-nntp-max-number-precedes-list-active): Ditto.
6663
6664         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6665
6666         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6667         `elmo-msgdb-insert-file-header'.
6668         Use `elmo-msgdb-file-header-chop-length'.
6669
6670         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6671         `elmo-vars.el'.
6672
6673         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6674         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6675         `elmo-msgdb-insert-file-header'.
6676
6677         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6678         Use new variable;
6679         Define obsolete variables with `elmo-define-obsolete-variable',
6680
6681         * elmo-util.el (elmo-warning-buffer-name): New constant.
6682         (elmo-warning): New function.
6683         (elmo-obsolete-variable-alist): New variable.
6684         (elmo-obsolete-variable-show-warnings): New variable.
6685         (elmo-define-obsolete-variable): New function.
6686         (elmo-resque-obsolete-variable): Ditto.
6687         (elmo-resque-obsolete-variables): Ditto.
6688
6689 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6690
6691         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6692         Eliminated.
6693
6694         * elmo-pop3.el, elmo-nntp.el: Use custom.
6695
6696 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6697
6698         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6699         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6700
6701 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6702
6703         * Luna-fy Kenichi OKADA's following changes.
6704         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6705         `nohide'.
6706         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6707
6708 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6709
6710         * elmo-util.el (elmo-display-progress): Prefer
6711         `progress-feedback-with-label' to `lprogress-display'.
6712
6713 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6714
6715         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6716
6717 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6718
6719         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6720         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6721         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6722         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6723         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6724         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6725         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6726         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6727         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6728         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6729         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6730         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6731         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6732
6733 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6734
6735         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6736         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6737
6738 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6739
6740         * elmo.el (elmo-folder-process-crosspost): New generic method.
6741         (elmo-folder-writable-p): Ditto.
6742         (elmo-folder-message-appendable-p): Eliminated.
6743         (elmo-generic-folder-append-msgdb): Rewrite.
6744         (elmo-newsgroups-hashtb): New internal variable.
6745         (elmo-crosspost-message-set): Eliminated.
6746         (elmo-crosspost-message-delete): Ditto.
6747         (elmo-setup-subscribed-newsgroups): New function.
6748         (elmo-crosspost-message-alist-modified): New internal variable.
6749         (elmo-crosspost-message-alist-load): New function (Renamed from
6750         `wl-crosspost-alist-load').
6751         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6752         `wl-crosspost-alist-save').
6753
6754         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6755
6756         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6757         `unreads'.
6758         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6759         elmo-newsgroups-hashtb).
6760         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6761         `elmo-nntp-folder-update-crosspost-message-alist'.
6762         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6763         `elmo-nntp-groups-hashtb'.
6764         (elmo-nntp-make-groups-hashtb): Eliminated.
6765         (elmo-nntp-parse-newsgroups): New function (Renamed from
6766         `wl-parse-newsgroups').
6767         (elmo-folder-creatable-p, elmo-folder-writable-p,
6768         elmo-folder-close-internal, elmo-folder-mark-as-read,
6769         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6770         Define.
6771         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6772
6773         * elmo-net.el (elmo-message-fetch): Check buffer size.
6774
6775         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6776
6777         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6778
6779         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6780         before `close' command.
6781
6782         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6783         `mark-alist' (All other related portions are changed).
6784
6785 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6786
6787         * elmo-util.el (elmo-create-hash-size): Eliminated.
6788         (elmo-make-hash) Make a hash with `one less than a power of two'
6789         length.
6790
6791         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6792         (elmo-hash-maximum-size): Changed value.
6793
6794 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6795
6796         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6797         (elmo-mime-message-display-as-is): Ditto.
6798
6799 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6800
6801         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6802         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6803
6804 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6805
6806         * elmo-mark.el: New file.
6807
6808         * elmo-internal.el: Rewrite (Almost empty).
6809
6810 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6811
6812         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6813         (mime-imap-entity-header-string): Ditto.
6814         (mmimap-entity-section): Rewrite.
6815
6816 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6817
6818         * elmo-nmz.el: New file.
6819
6820         * elmo-pipe.el: Rewrite with luna.
6821
6822 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6823
6824         * elmo-archive.el: Rewrite with luna.
6825
6826         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6827         (elmo-folder-list-importants-internal): Ditto.
6828
6829 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6830
6831         * elmo-archive.el (elmo-archive-version): Abolish.
6832         (toplevel) Removed `boso' comment.
6833
6834 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6835
6836         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6837         elmo-msgdb-add-msgs-to-seen-list-subr;
6838         Changed argument seen-marks to unread-marks.
6839
6840         * elmo-nntp.el: Rewrite with luna.
6841
6842 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6843
6844         * elmo-filter.el: Rewrite with luna.
6845
6846 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6847
6848         * elmo-pop3.el: Rewrite with luna.
6849
6850 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
6851
6852         * elmo-multi.el: Rewrite with luna.
6853
6854         * elmo-vars.el (elmo-use-killed-list): Abolish.
6855         All other related portions are changed.
6856         (elmo-filename-replace-string-alist): Renamed from
6857         elmo-msgid-replace-string-alist.
6858
6859 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
6860
6861         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6862
6863         * elmo-map.el: New file.
6864         * elmo-maildir.el: Rewrite with luna.
6865
6866 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
6867
6868         * elmo.el: Changed meaning of `elmo-folder-commit'.
6869         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6870
6871 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
6872
6873         * elmo.el (elmo-folder-append-buffer): New function.
6874         (Renamed from `elmo-append-msg')
6875
6876 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
6877
6878         * elmo-mime.el: New file.
6879
6880 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6881
6882         * elmo-cache.el: Rewrite.
6883
6884 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6885
6886         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6887
6888 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6889
6890         * elmo-vars.el (elmo): New group.
6891         (elmo-strict-diff-folder-regexp): New variable.
6892
6893         * elmo-util.el (elmo-call-func): Abolish.
6894         (elmo-folder-get-type): Ditto.
6895         (elmo-*-get-spec): Ditto.
6896         (elmo-*-spec-*): Ditto.
6897         (elmo-imap4-identical-name-space-p): Ditto.
6898         (elmo-folder-identical-system-p): Ditto.
6899         (elmo-folder-direct-copy-alist): Ditto.
6900         (elmo-folder-direct-copy-p): Ditto.
6901
6902         * elmo-pipe.el (elmo-pipe-folder): New luna class.
6903         (elmo-folder-initialize): Define.
6904         (elmo-folder-get-primitive-list): Ditto.
6905
6906         * elmo-nntp.el (elmo-nntp-folder): New luna class.
6907         (elmo-folder-initialize): Define.
6908         Renamed `elmo-network-session-host-internal' to
6909         `elmo-network-session-server-internal'.
6910
6911         * elmo-multi.el (elmo-multi-folder): New luna class.
6912         (elmo-folder-initialize): Define.
6913         (elmo-folder-get-primitive-list): Ditto.
6914         (elmo-folder-contains-type): Ditto.
6915         (elmo-message-use-cache-p): Ditto.
6916
6917         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6918         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6919
6920         * elmo-maildir.el (elmo-maildir-folder): New luna class.
6921         (elmo-folder-initialize): Define.
6922
6923         * elmo-filter.el (elmo-filter-folder): New luna class.
6924         (elmo-folder-initialize): Define.
6925         (elmo-folder-get-primitive-list): Ditto.
6926         (elmo-folder-contains-type): Ditto.
6927
6928 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6929
6930         * elmo-imap4.el: Rewrite with luna.
6931
6932         * mmimap.el: New file.
6933
6934         * mmelmo.el, mmelmo-imap4.el: Removed.
6935
6936         * elmo-net.el: Ditto.
6937
6938         * elmo-pop3.el (elmo-pop3-folder): New luna class.
6939         (elmo-folder-initialize): Define.
6940
6941         * elmo-archive.el (elmo-archive-folder): New luna class.
6942         (elmo-folder-initialize): Define.
6943
6944         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6945         `elmo-folder-msgdb-path'.
6946         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6947         `elmo-make-folder'.
6948
6949 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
6950
6951         * elmo.el: New file.
6952
6953         * elmo2.el: Renamed to elmo.el.
6954
6955 \f
6956 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
6957
6958         * elmo-cache.el (elmo-cache-expire-by-size): Count
6959         a disk usage for a cache file entry in KB even when
6960         its kind is a directory.
6961
6962 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
6963
6964         * elmo-version.el (elmo-version): Up to 2.5.7.
6965
6966 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6967
6968         * elmo-version.el (elmo-version): Up to 2.5.6.
6969
6970 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6971
6972         * elmo-version.el (elmo-version): Up to 2.5.5.
6973
6974 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
6975
6976         * elmo-imap4.el (elmo-network-authenticate-session):
6977         Fixed a logic for response checking.
6978
6979 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
6980
6981         * elmo-net.el: Add autoload settings for `starttls-negotiate',
6982         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6983         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6984         `sasl-mechanisms'.
6985
6986         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6987         for `starttls-open-stream' and `starttls-negotiate'.
6988
6989         * elmo-nntp.el: Remove autoload settings for
6990         `starttls-open-stream' and `starttls-negotiate'.
6991
6992         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6993         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6994         `luna-define-class' with `eval-and-compile'.
6995
6996 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
6997
6998         * elmo-util.el (elmo-read-search-condition-internal):
6999         Require an element of table for searching field.
7000
7001 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7002
7003         * elmo-version.el (elmo-version): Up to 2.5.4.
7004
7005 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7006
7007         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7008
7009 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7010
7011         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7012
7013 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7014
7015         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7016         before greeting.
7017
7018 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7019
7020         * elmo-imap4.el (elmo-imap4-delete-folder):
7021         Send "close" before "delete" (Use commented out line).
7022         (elmo-imap4-rename-folder): Ditto.
7023
7024         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7025         folder string itself.
7026         (elmo-dop-list-deleted): New function.
7027         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7028         killed.
7029
7030         * elmo-util.el (elmo-string-rassoc-all): New function.
7031
7032 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7033
7034         * elmo-version.el (elmo-version): Up to 2.5.3.
7035
7036         * elmo-net.el (elmo-network-get-session): Changed logic for
7037         checking process status.
7038
7039         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7040         process is nil;
7041         Changed logic for checking process status.
7042
7043 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7044
7045         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7046         before greeting.
7047         (elmo-network-setup-session): Set UIDL hash size according to
7048         the length of list response.
7049         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7050         according to the length of list response;
7051         Return the length of list response.
7052         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7053
7054 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7055
7056         * elmo-imap4.el (toplevel): Require 'ssl.
7057         Add autoload 'starttls.
7058         * elmo-pop3.el (toplevel): Ditto.
7059         * elmo-nntp.el (toplevel): Ditto.
7060
7061 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7062
7063         * elmo-imap4.el (toplevel): defun at compile time.
7064         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7065         sasl-next-step, sasl-step-data, sasl-step-set-data.
7066         * elmo-pop3.el (toplevel): Ditto.
7067
7068 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7069
7070         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7071
7072 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7073
7074         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7075         if error.
7076         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7077         and `elmo-pop-auth-apop'.
7078
7079 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7080
7081         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7082
7083 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7084
7085         * elmo-pop3.el (elmo-network-authenticate-session): Split
7086         encoded response value.
7087
7088 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7089
7090         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7091         `elmo-pop3-force-login'.
7092         Redefine `sasl-mechanisms'.
7093         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7094
7095 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7096
7097         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7098         Delete `elmo-imap4-authenticator-alist'.
7099         (elmo-imap4-auth-cram-md5): Delete.
7100         (elmo-imap4-auth-digest-md5): Delete.
7101
7102 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7103
7104         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7105         (elmo-pop3-auth-scram-md5): Ditto.
7106         (elmo-pop3-auth-cram-md5): Ditto.
7107
7108 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7109
7110         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7111         Delete `elmo-pop3-authenticator-alist'.
7112
7113 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7114
7115         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7116         new SASL API.
7117         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7118
7119 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7120
7121         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7122
7123 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7124
7125         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7126         Fixed problem when `elmo-pop3-use-uidl' is nil.
7127         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7128
7129 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7130
7131         * elmo-version.el (elmo-version): Up to 2.5.2.
7132
7133 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7134
7135         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7136         New function.
7137         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7138         (elmo-pop3-msgdb-create-as-numlist): Use it.
7139
7140         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7141         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7142
7143         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7144         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7145
7146 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7147
7148         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7149         when elmo-mark-as-read is called with second argument nil.
7150
7151 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7152
7153         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7154         Moved to elmo-util.el.
7155
7156         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7157         Moved from elmo-pipe.el
7158
7159         * elmo-archive.el (elmo-archive-call-process): Enclose with
7160         static-if.
7161
7162         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7163         "RFC822" (because RFC822.PEEK is obsolete).
7164         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7165
7166 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7167
7168         * elmo-archive.el (elmo-archive-call-process): Don't check for
7169         the exit status when Nemacs is running.
7170
7171 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7172
7173         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7174         'plain.
7175
7176         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7177         (elmo-pop3-get-spec): Set default of auth to 'user.
7178
7179         * elmo-imap4.el (elmo-imap4-session-check):
7180         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7181         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7182         (elmo-imap4-auth-login): New function; Revival.
7183         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7184         `elmo-imap4-auth-login'.
7185
7186 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7187
7188         * elmo2.el (toplevel): Move `product-provide' declare.
7189         * mmelmo.el (toplevel): Ditto.
7190
7191 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7192
7193         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7194
7195 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7196
7197         * elmo-util.el (elmo-folder-get-store-type): New function.
7198         (elmo-folder-direct-copy-p): Use it.
7199
7200 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7201
7202         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7203         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7204         and result of `elmo-imap4-use-flag-p'.
7205         (elmo-imap4-fetch-callback-1): Set mark according to
7206         the result of `elmo-imap4-use-flag-p'.
7207
7208 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7209
7210         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7211         (elmo-generic-list-folder-unread): Ditto.
7212         (elmo-folder-get-info): Ditto.
7213         (elmo-folder-set-info-max-by-numdb): Ditto.
7214         (elmo-folder-get-info-max): Ditto.
7215         (elmo-folder-get-info-length): Ditto.
7216         (elmo-folder-get-info-unread): Ditto.
7217         (elmo-folder-info-make-hashtb): Ditto.
7218
7219         * elmo2.el: Removed above functions.
7220
7221 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7222
7223         * elmo-imap4.el (toplevel): Require 'ssl.
7224         Add autoload 'starttls.
7225         * elmo-pop3.el (toplevel): Ditto.
7226         * elmo-nntp.el (toplevel): Ditto.
7227
7228 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7229
7230         * elmo-imap4.el (toplevel): defun at compile time.
7231         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7232         sasl-next-step, sasl-step-data, sasl-step-set-data.
7233         * elmo-pop3.el (toplevel): Ditto.
7234
7235 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7236
7237         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7238
7239 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7240
7241         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7242         if error.
7243         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7244         and `elmo-pop-auth-apop'.
7245
7246 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7247
7248         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7249
7250 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7251
7252         * elmo-pop3.el (elmo-network-authenticate-session): Split
7253         encoded response value.
7254
7255 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7256
7257         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7258         `elmo-pop3-force-login'.
7259         Redefine `sasl-mechanisms'.
7260         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7261
7262 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7263
7264         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7265         Delete `elmo-imap4-authenticator-alist'.
7266         (elmo-imap4-auth-cram-md5): Delete.
7267         (elmo-imap4-auth-digest-md5): Delete.
7268
7269 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7270
7271         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7272         (elmo-pop3-auth-scram-md5): Ditto.
7273         (elmo-pop3-auth-cram-md5): Ditto.
7274
7275 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7276
7277         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7278         Delete `elmo-pop3-authenticator-alist'.
7279
7280 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7281
7282         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7283         new SASL API.
7284         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7285
7286 \f
7287 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7288
7289         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7290
7291 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7292
7293         * elmo-nntp.el (elmo-nntp-get-folders-info):
7294         Fixed problem when '\' character is contained in user-id.
7295         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7296
7297 \f
7298 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7299
7300         * elmo-imap4.el (elmo-imap4-delete-folder):
7301         Send "close" before "delete" (Use commented out line).
7302         (elmo-imap4-rename-folder): Ditto.
7303
7304         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7305         folder string itself.
7306         (elmo-dop-list-deleted): New function.
7307         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7308         killed.
7309
7310         * elmo-util.el (elmo-string-rassoc-all): New function.
7311
7312         * elmo-version.el (elmo-version): Up to 2.5.1.
7313
7314 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7315
7316         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7317
7318         * elmo-internal.el (elmo-internal-search): Fix last change.
7319
7320 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7321
7322         * elmo-internal.el (elmo-internal-search): Rewrite.
7323         (Fixed problem which is pointed out by Akihiro MOTOKI
7324         <motoki@da.jp.nec.com>)
7325
7326         * elmo-version.el (elmo-version): Up to 2.5.0.
7327
7328 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7329
7330         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7331
7332 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7333
7334         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7335         non-nil, make hierarchy.
7336
7337 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7338
7339         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7340         `elmo-pop3-use-uidl' must be bound to nil.
7341         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7342
7343 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7344
7345         * elmo-util.el (elmo-copy-file): Don't cause an error after
7346         `add-name-to-file' failed.
7347
7348         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7349         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7350
7351 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7352
7353         * elmo-version.el (elmo-version): Up to 2.3.93.
7354
7355 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7356
7357         * elmo-util.el (elmo-flatten): New function.
7358
7359 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7360
7361         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7362         sync Author header.
7363         * elmo-cache.el (toplevel): Ditto.
7364         * elmo-database.el (toplevel): Ditto.
7365         * elmo-date.el (toplevel): Ditto.
7366         * elmo-dop.el (toplevel): Ditto.
7367         * elmo-filter.el (toplevel): Ditto.
7368         * elmo-imap4.el (toplevel): Ditto.
7369         * elmo-internal.el (toplevel): Ditto.
7370         * elmo-localdir.el (toplevel): Ditto.
7371         * elmo-localnews.el (toplevel): Ditto.
7372         * elmo-maildir.el (toplevel): Ditto.
7373         * elmo-msgdb.el (toplevel): Ditto.
7374         * elmo-multi.el (toplevel): Ditto.
7375         * elmo-net.el (toplevel): Ditto.
7376         * elmo-nntp.el (toplevel): Ditto.
7377         * elmo-pipe.el (toplevel): Ditto.
7378         * elmo-pop3.el (toplevel): Ditto.
7379         * elmo-util.el (toplevel): Ditto.
7380         * elmo-vars.el (toplevel): Ditto.
7381         * elmo2.el (toplevel): Ditto.
7382         * mmelmo-imap4.el (toplevel): Ditto.
7383         * mmelmo.el (toplevel): Ditto.
7384
7385         * elmo-version.el (elmo-version): Move to top.
7386
7387         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7388         * elmo-imap4.el (toplevel): Ditto.
7389         * elmo-localdir.el (toplevel): Ditto.
7390         * elmo-msgdb.el (toplevel): Ditto.
7391         * elmo-nntp.el (toplevel): Ditto.
7392         * elmo-pop3.el (toplevel): Ditto.
7393         * elmo-version.el (toplevel): Ditto.
7394
7395         * elmo-localnews.el (toplevel): Added Keyword header.
7396
7397 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7398
7399         * elmo-version.el (product-version-as-string): Defined using
7400         `defun-maybe'.
7401         (toplevel): Use it.
7402
7403         * elmo-localdir.el (toplevel): Updated copyright notice.
7404         * elmo-version.el (toplevel): Ditto.
7405         * elmo-msgdb.el (toplevel): Ditto.
7406         * elmo-imap4.el (toplevel): Ditto.
7407         * elmo-nntp.el (toplevel): Ditto.
7408         * elmo-pop3.el (toplevel): Ditto.
7409
7410 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7411
7412         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7413         messages.
7414
7415         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7416         parameter value (It sometimes contains raw kanji).
7417
7418 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7419
7420         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7421         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7422
7423 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7424
7425         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7426
7427 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7428
7429         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7430         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7431
7432 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7433
7434         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7435         value if selecting folder succceeded.
7436         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7437
7438 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7439
7440         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7441         representation.
7442
7443         * elmo-util.el (elmo-string-matched-member): New function.
7444
7445 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7446
7447         * elmo-util.el (elmo-unintern): New macro.
7448         (elmo-number-set-member): Fixed docstring.
7449
7450         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7451         tag token.
7452
7453 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7454
7455         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7456         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7457
7458 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7459
7460         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7461         `no-error'.
7462         Added docstring.
7463         Return non-nil if selecting folder succeeded.
7464         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7465
7466 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7467
7468         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7469         `file-name-completion' returns t.
7470         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7471         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7472         directory if it does not exist.
7473         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7474         for iteration.
7475
7476 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7477
7478         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7479         enclosure (It's harmful in unplugged status).
7480
7481         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7482
7483         * mmelmo-1.el: Removed.
7484
7485         * mmelmo-2.el: Ditto.
7486
7487         * mmelmo-imap4-1.el: Ditto.
7488
7489         * mmelmo-imap4-2.el: Ditto.
7490
7491         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7492
7493         * mmelmo.el: Merged mmelmo-2.el.
7494
7495         * elmo-version.el (elmo-version): Up to 2.3.92.
7496
7497 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7498
7499         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7500         elmo-update-number): Remove last period in "...done." message.
7501         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7502         Ditto.
7503         * elmo-cache.el (elmo-cache-expire-by-size,
7504         elmo-cache-get-sorted-cache-file-list,
7505         elmo-cache-msgdb-create-as-numlist): Ditto.
7506         * elmo-dop.el (elmo-dop-save-pending-messages,
7507         (elmo-dop-flush-pending-append-operations): Ditto.
7508         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7509         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7510         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7511         (elmo-localdir-pack-number): Ditto.
7512         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7513         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7514         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7515         mime-write-entity-content): Ditto.
7516         * pldap.el (ldap-search-basic): Ditto.
7517
7518 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7519
7520         * elmo-version.el (elmo-version): Up to 2.3.91.
7521
7522         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7523         Only when filter is 'last'.
7524
7525         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7526         (elmo-condition-parse-search-value): Use it.
7527         (elmo-read-search-condition-internal): Quote value only when
7528         it is not an atom.
7529
7530 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7531
7532         * elmo2.el (elmo-generic-folder-diff): Fix.
7533
7534 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7535
7536         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7537         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7538         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7539         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7540         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7541         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7542
7543 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7544
7545         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7546         extra-fields.
7547
7548 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7549
7550         * elmo-version.el (elmo-version): Up to 2.3.90.
7551
7552         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7553         (elmo-imap4-list-folder-important): Ditto.
7554
7555 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7556
7557         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7558
7559 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7560
7561         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7562
7563 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7564
7565         * elmo-nntp.el (elmo-network-initialize-session):
7566         Add starttls negotiation.
7567
7568 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7569
7570         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7571         response.
7572         (elmo-network-setup-session): Define.
7573         Call `elmo-nntp-send-mode-reader' when session opened.
7574
7575 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7576
7577         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7578
7579 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7580
7581         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7582         an invalid SPACE character ahead of `SEARCH' command.  Move
7583         a valid SPACE character following `SEARCH' from conditional
7584         `format' arguments to control-strings.
7585
7586 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7587
7588         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7589         was succeeded.
7590
7591         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7592
7593 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7594
7595         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7596         `w32-get-true-file-link-count' as t.
7597
7598         * elmo-imap4.el (elmo-imap4-read): Abolished.
7599         (Renamed to `elmo-read' and moved to elmo-util.el)
7600         All other related portions are changed.
7601
7602         * elmo-util.el (elmo-read): New function.
7603         (elmo-condition-parse-search-value): Use it.
7604
7605 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7606
7607         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7608
7609         * elmo-nntp.el (elmo-nntp-session): Define.
7610         (elmo-nntp-setting): Abolished.
7611         All other related portions are changed.
7612         (elmo-nntp-get-server-command): Changed argument.
7613         (elmo-nntp-set-server-command): Ditto.
7614         (elmo-nntp-xover-p): Ditto.
7615         (elmo-nntp-set-xover): Ditto.
7616         (elmo-nntp-listgroup-p): Ditto.
7617         (elmo-nntp-set-listgroup): Ditto.
7618         (elmo-nntp-list-active-p): Ditto.
7619         (elmo-nntp-set-list-active): Ditto.
7620         (elmo-nntp-xhdr-p): Ditto.
7621         (elmo-nntp-set-xhdr): Ditto.
7622         (elmo-nntp-flush-connection): Abolished.
7623         (elmo-nntp-get-connection): Abolished.
7624         (elmo-nntp-get-session): New function.
7625         (elmo-network-initialize-session): Defined.
7626         (elmo-network-authenticate-session): Ditto.
7627         (elmo-nntp-send-mode-reader): Changed argument.
7628         (elmo-nntp-send-command): Changed argument.
7629         All other related portions are changed.
7630         (elmo-nntp-read-response): Ditto.
7631         (elmo-nntp-read-raw-response): Ditto.
7632         (elmo-nntp-read-contents): Ditto.
7633         (elmo-nntp-read-body): Ditto.
7634         (elmo-nntp-goto-folder): Abolished.
7635         (elmo-nntp-select-group): New function.
7636         All other related portions are changed.
7637         (This function substitutes `elmo-nntp-goto-folder')
7638         (elmo-nntp-msgdb-create-by-header): Rewrite.
7639         (elmo-nntp-get-overview): Eliminated.
7640         (elmo-nntp-get-message): Ditto.
7641         (elmo-nntp-open-connection) Abolished.
7642         (elmo-nntp-read-msg): Rewrite.
7643         (elmo-nntp-post): Ditto.
7644         (elmo-nntp-send-data): Abolished.
7645         (elmo-nntp-send-buffer): New function.
7646         (elmo-nntp-send-data-line): Define as inline function.
7647         (elmo-nntp-get-folders-info-prepare): Use session as key.
7648         (elmo-nntp-groups-read-response): Changed argument.
7649         (elmo-nntp-retrieve-headers): Ditto.
7650         (elmo-nntp-msgdb-create-message): Ditto.
7651
7652         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7653         when searching by 'since' or 'before'.
7654
7655 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7656
7657         * elmo-version.el (toplevel): Use product-version-as-string for set
7658         verstion-string, if defined.
7659
7660 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7661
7662         * elmo-util.el: Doc fixes.
7663
7664 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7665
7666         * elmo-archive.el (toplevel): Use product-provide.
7667         * elmo-cache.el (toplevel): Ditto.
7668         * elmo-database.el (toplevel): Ditto.
7669         * elmo-date.el (toplevel): Ditto.
7670         * elmo-dop.el (toplevel): Ditto.
7671         * elmo-filter.el (toplevel): Ditto.
7672         * elmo-imap4.el (toplevel): Ditto.
7673         * elmo-internal.el (toplevel): Ditto.
7674         * elmo-localdir.el (toplevel): Ditto.
7675         * elmo-localnews.el (toplevel): Ditto.
7676         * elmo-maildir.el (toplevel): Ditto.
7677         * elmo-msgdb.el (toplevel): Ditto.
7678         * elmo-multi.el (toplevel): Ditto.
7679         * elmo-net.el (toplevel): Ditto.
7680         * elmo-nntp.el (toplevel): Ditto.
7681         * elmo-pipe.el (toplevel): Ditto.
7682         * elmo-pop3.el (toplevel): Ditto.
7683         * elmo-util.el (toplevel): Ditto.
7684         * elmo-vars.el (toplevel): Ditto.
7685         * elmo2.el (toplevel): Ditto.
7686         * mmelmo-1.el (toplevel): Ditto.
7687         * mmelmo-2.el (toplevel): Ditto.
7688         * mmelmo-imap4-1.el (toplevel): Ditto.
7689         * mmelmo-imap4-2.el (toplevel): Ditto.
7690         * mmelmo-imap4.el (toplevel): Ditto.
7691         * mmelmo.el (toplevel): Ditto.
7692
7693 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7694
7695         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7696         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7697
7698 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7699
7700         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7701         before splitting.
7702         (elmo-multi-split-number-alist): Ditto.
7703
7704 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7705
7706         * elmo-version.el: New file.  Use product.el.
7707         * elmo2.el: Add (require 'elmo-version).
7708         * elmo-vars.el (elmo-appname, elmo-version): Move to
7709         elmo-version.el
7710
7711 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7712
7713         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7714         `elmo-msgdb-expand-path'.
7715         (elmo-msgdb-load): Ditto.
7716         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7717         (elmo-generic-list-folder-unread): Rewrite.
7718         (elmo-generic-list-folder-important): Changed argument.
7719         (elmo-list-folder-unread): Ditto.
7720         (elmo-list-folder-important): Ditto.
7721         (elmo-folder-diff): Rewrite.
7722         (elmo-generic-folder-diff): New function.
7723         (elmo-multi-get-number-alist-list): Abolished
7724         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7725         (elmo-multi-folder-diff): Moved to elmo-multi.el
7726         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7727
7728         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7729         `elmo-msgdb-expand-path'.
7730         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7731         (elmo-pop3-read-msg): Ditto.
7732         (elmo-pop3-delete-msgs): Ditto.
7733         (elmo-pop3-folder-diff): New alias.
7734
7735         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7736         `elmo-msgdb-expand-path'.
7737         (elmo-pipe-list-folder-unread): Changed arguments.
7738         (elmo-pipe-list-folder-important): Ditto.
7739         (elmo-pipe-folder-diff): New alias.
7740
7741         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7742         `elmo-msgdb-expand-path'.
7743         (elmo-nntp-max-of-folder): Ditto.
7744         (elmo-nntp-msgdb-create): Ditto.
7745         (elmo-nntp-delete-msgs): Ditto.
7746         (elmo-nntp-folder-diff): New alias.
7747
7748         * elmo-multi.el (elmo-multi-folder-diff): New function.
7749         (elmo-multi-split-mark-alist): Ditto.
7750         (elmo-multi-split-number-alist): Ditto.
7751         (elmo-multi-mark-alist-list): Abolished (Renamed to
7752         elmo-multi-split-mark-alist).
7753         (elmo-multi-list-folder-unread): Rewrite.
7754         (elmo-multi-list-folder-important): Ditto.
7755         (elmo-multi-list-folder): Set `spec' as 1st argument for
7756         `elmo-msgdb-expand-path'.
7757         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7758         instead of `elmo-multi-get-number-alist-list'.
7759
7760         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7761         If 1st argument is not string, treat as spec.
7762         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7763         `elmo-msgdb-expand-path'.
7764         (elmo-msgdb-flist-load): Ditto.
7765         (elmo-msgdb-flist-save): Ditto.
7766         (elmo-msgdb-delete-path): Ditto.
7767         (elmo-msgdb-rename-path): Ditto.
7768
7769         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7770         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7771         (elmo-maildir-delete-mark-msgs): Ditto.
7772         (elmo-maildir-msgdb-create): Ditto.
7773         (elmo-maildir-read-msg): Ditto.
7774         (elmo-maildir-delete-msgs): Ditto.
7775         (elmo-maildir-list-folder-subr): Ditto.
7776         (elmo-maildir-search): Ditto.
7777         (elmo-maildir-get-msg-filename): Ditto.
7778         (elmo-maildir-pack-number): Ditto.
7779         (elmo-maildir-folder-diff): New alias.
7780
7781         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7782
7783         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7784         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7785         (elmo-localdir-folder-diff): New alias.
7786
7787         * elmo-internal.el (elmo-internal-list-folder-subr):
7788         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7789         (elmo-internal-list-folder-by-location): Ditto.
7790         (elmo-internal-msgdb-create): Ditto.
7791         (elmo-internal-delete-msgs): Ditto.
7792         (elmo-internal-read-msg): Ditto.
7793         (elmo-internal-folder-diff): New alias.
7794
7795         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7796         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7797         `elmo-msgdb-expand-path'.
7798         (elmo-imap4-list-folder-unread): Changed arguments.
7799         (elmo-imap4-list-folder-important): Ditto.
7800
7801         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7802         (elmo-filter-list-folder-important): Ditto.
7803         (elmo-filter-folder-diff): New function.
7804
7805         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7806
7807         * elmo-cache.el (elmo-cache-list-folder):
7808         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7809         (elmo-cache-copy-msgs): Ditto.
7810         (elmo-cache-folder-diff): New alias.
7811
7812         * elmo-archive.el (elmo-archive-list-folder-subr):
7813         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7814         (elmo-archive-get-archive-name): Ditto.
7815         (elmo-archive-create-file): Ditto.
7816         (elmo-archive-append-msg): Ditto.
7817         (elmo-archive-copy-msgs): Ditto.
7818         (elmo-archive-copy-msgs-froms): Ditto.
7819         (elmo-archive-get-msg-filename): Ditto.
7820         (elmo-archive-folder-diff): New alias.
7821
7822 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7823
7824         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7825         (elmo-pop3-stream-type-alist): New variable.
7826         (elmo-nntp-stream-type-alist): New variable.
7827
7828         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7829         (elmo-kill-buffer): Ditto.
7830         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7831         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7832         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7833         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7834         (elmo-imap4-get-spec): Take into account
7835         `elmo-imap4-stream-type-alist'.
7836
7837 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7838
7839         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7840         (elmo-nntp-list-folders-get-cache): Ditto.
7841
7842 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7843
7844         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7845         character before 'uid'.
7846
7847 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
7848
7849         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7850
7851         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7852
7853         * elmo-util.el (elmo-number-set-member): New function.
7854         (elmo-number-set-append-list): Ditto.
7855         (elmo-number-set-append): Ditto.
7856
7857         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7858         Use `elmo-number-set-member'.
7859         (elmo-living-messages): Ditto.
7860         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7861         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7862
7863         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7864         (elmo-imap4-add-to-cont-list): Abolished.
7865         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7866         instead of elmo-imap4-add-to-cont-list.
7867
7868         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7869         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7870
7871         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7872
7873 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
7874
7875         * elmo-util.el (elmo-condition-parse-search-value):
7876         Fixed date parsing.
7877
7878 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
7879
7880         * elmo-util.el (elmo-condition-find-key-internal): New function.
7881         (elmo-condition-find-key): Ditto.
7882
7883         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7884         (elmo-msgdb-search-internal): Ditto.
7885         (elmo-msgdb-search): Ditto.
7886
7887 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
7888
7889         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7890         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7891
7892         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7893         (elmo-nntp-search-primitive): Fixed problem when condition is
7894         'unmatch'.
7895
7896         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7897
7898         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7899         (elmo-nntp-xhdr-p): New macro.
7900         (elmo-nntp-set-xhdr): Ditto.
7901         (elmo-nntp-parse-xhdr-response): New function.
7902         (elmo-nntp-retrieve-field): Ditto.
7903         (elmo-nntp-search-primitive): Ditto.
7904         (elmo-nntp-search): Implemented.
7905
7906         * elmo-date.el (elmo-date-make-sortable-string): New macro.
7907
7908         * elmo-archive.el (elmo-archive-search): Set all number list to
7909         `elmo-archive-field-condition-match'
7910
7911         * elmo-localdir.el (elmo-localdir-search): Likewise.
7912
7913         * elmo-maildir.el (elmo-maildir-search): Likewise.
7914
7915 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
7916
7917         * elmo-msgdb.el (elmo-living-messages): New function.
7918         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7919         * elmo-cache.el (elmo-cache-list-folder): Ditto.
7920         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7921         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7922         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7923         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7924         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7925         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7926         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7927         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7928         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7929
7930 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
7931
7932         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7933
7934         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7935
7936         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7937
7938         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7939         arguments for `SEARCH' command.
7940         (elmo-imap4-parse-string): Set `POS' argument for char-after.
7941         All other related portions are changed.
7942
7943         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7944
7945         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7946         (elmo-list-folder-unread): Rewrite.
7947         (elmo-list-folder-important): Ditto.
7948
7949         * elmo-util.el (elmo-filter-get-spec): Rewrite.
7950         (elmo-condition-parse-error): New inline function.
7951         (elmo-read-search-condition): New function.
7952         (elmo-read-search-condition-internal): Ditto.
7953         (elmo-parse-search-condition): Rewrite.
7954         (elmo-condition-parse): New function.
7955         (elmo-condition-parse-or-expr): Ditto.
7956         (elmo-condition-parse-and-expr): Ditto.
7957         (elmo-condition-parse-primitive): Ditto.
7958         (elmo-condition-parse-search-value): Ditto.
7959         (elmo-buffer-field-primitive-condition-match): Ditto.
7960         (elmo-buffer-field-condition-match): Rewrite.
7961         (elmo-file-field-condition-match): Ditto.
7962
7963         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7964         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7965
7966         * elmo-internal.el (elmo-internal-search): Set `number' and
7967         `number-list' argument of `elmo-file-field-condition-match'.
7968
7969         * elmo-maildir.el (elmo-maildir-search): Ditto.
7970
7971         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7972         `msgdb' as argument instead of `mark-alist'.
7973         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7974         `overview'.
7975
7976         * elmo-multi.el: Likewise.
7977
7978         * elmo-pipe.el: Likewise.
7979
7980         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7981         (elmo-imap4-search-internal): Rewrite.
7982         (elmo-imap4-search): Ditto.
7983
7984         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7985         (elmo-filter-list-folder-unread): Ditto.
7986         (elmo-filter-list-folder-important): Ditto.
7987         (elmo-filter-search): Rewrite.
7988
7989         * elmo-cache.el (elmo-cache-search-all): Set `number' and
7990         `number-list' argument of `elmo-file-field-condition-match'.
7991         (elmo-cache-search): Ditto.
7992
7993         * elmo-localdir.el: Likewise.
7994
7995         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7996         number-list and pass it to `elmo-buffer-field-condition-match'.
7997         (elmo-archive-field-condition-match): Pass `number-list' to
7998         `elmo-archive-field-condition-match'
7999
8000 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8001
8002         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8003         `listgroup'.
8004
8005         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8006         (elmo-folder-diff-async-callback-data): Ditto.
8007         (elmo-folder-diff-async): New function.
8008
8009         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8010         (elmo-network-session-cache-key): Use it as a prefix of the session
8011         name.
8012         (elmo-network-open-session): Ditto.
8013
8014         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8015         (elmo-imap4-status-callback-data): Ditto.
8016         (elmo-imap4-server-diff-async-callback): New variable.
8017         (elmo-imap4-server-diff-async-callback-data): Ditto.
8018         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8019         `elmo-imap4-status-callback-data'.
8020         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8021         `elmo-imap4-status-callback-data' as nil.
8022         (elmo-imap4-server-diff): Ditto.
8023         (elmo-imap4-server-diff-async-callback-1): New function.
8024         (elmo-imap4-server-diff-async): Ditto.
8025         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8026
8027 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8028
8029         * elmo-util.el (elmo-list-delete): Doc fix.
8030         (elmo-delete-lists): Abolish.
8031         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8032         instead of `elmo-delete-lists'.
8033
8034 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8035
8036         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8037         before `sort'.
8038
8039 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8040
8041         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8042         `elmo-imap4-literal-subr'.
8043         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8044         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8045
8046 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8047
8048         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8049         (elmo-archive-list-folder): Fix.
8050         (elmo-archive-max-of-folder): Fix.
8051
8052 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8053
8054         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8055          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8056         (elmo-localdir-append-msg): Ditto.
8057         (elmo-localdir-list-folder): Fix for `nonsort'.
8058         (elmo-localdir-list-folder-subr): Fix for `killed'.
8059         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8060         (elmo-maildir-list-folder-subr): Ditto.
8061         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8062         (elmo-archive-list-folder-subr): Ditto.
8063         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8064         (elmo-internal-list-folder-subr): Ditto.
8065
8066 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8067
8068         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8069
8070 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8071
8072         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8073
8074 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8075
8076         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8077         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8078
8079         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8080         before greeting.
8081         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8082         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8083
8084 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8085
8086         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8087
8088         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8089         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8090         before STORE command.
8091
8092 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8093
8094         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8095
8096         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8097         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8098         of `response'.
8099         (elmo-imap4-list-folders): Removed unused local variable.
8100         (elmo-network-initialize-session): Ditto.
8101         (elmo-imap4-delete-msg-by-id): Ditto.
8102         (elmo-imap4-parse-fetch): Ditto.
8103         (elmo-imap4-copy-msgs): Ditto.
8104         Use `dst-spec' instead of `dst-folder'.
8105         (elmo-network-authenticate-session): Check authenticate type `plain'.
8106
8107 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8108
8109         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8110         garbage checking.
8111         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8112         `elmo-imap4-response-value'.
8113         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8114
8115 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8116
8117         * elmo-imap4.el (elmo-imap4-send-command):
8118         Cause elmo-imap4-bye-error when current response is BYE.
8119         (elmo-imap4-arrival-filter): Changed greeting response value.
8120
8121         * elmo2.el (elmo-imap4-bye-error): Define.
8122
8123         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8124         (elmo-imap4-server-diff): Ditto.
8125         (elmo-imap4-response-bye-p): New macro.
8126         (elmo-imap4-response-error-text): Get text from BYE response.
8127         (elmo-imap4-read-response): Return if BYE response.
8128         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8129         (elmo-imap4-folder-exists-p): Ditto.
8130         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8131         (elmo-imap4-parse-bye): New function.
8132         (elmo-imap4-parse-response): Remove needless let.
8133         Call `elmo-imap4-parse-bye'.
8134
8135 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8136
8137         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8138         the mailbox does not exist.
8139         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8140
8141 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8142
8143         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8144
8145 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8146
8147         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8148
8149         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8150         (elmo-network-initialize-session-buffer): Defined.
8151
8152         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8153         Abolished.
8154         (mmelmo-imap4-get-mime-entity): Rewrite.
8155
8156         * elmo2.el (elmo-error): Capitalize error message.
8157
8158         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8159         (elmo-network-session-buffer): New macro.
8160         (elmo-network-open-session): Use it.
8161
8162         * elmo-imap4.el: Rewrite.
8163
8164 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8165
8166         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8167
8168 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8169
8170         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8171         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8172         (elmo-imap4-create-msgdb-from-overview-string): Use
8173         `elmo-msgdb-create-overview-from-buffer'.
8174
8175 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8176
8177         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8178         (elmo-imap4-default-hierarchy-delimiter): New variable.
8179         (elmo-imap4-list-folders): Use it.
8180
8181 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8182
8183         * elmo-net.el (elmo-network-open-session): Add user and
8184         stream-type for process-buffer name.
8185
8186         * elmo-pop3.el (elmo-network-initialize-session): Call
8187         buffer-disable-undo.
8188
8189         * elmo-imap4.el (elmo-network-initialize-session):
8190         Set current-buffer as an argument for `buffer-disable-undo'.
8191
8192         * elmo-pop3.el (elmo-network-close-session): Don't use
8193         `process-live-p'.
8194
8195         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8196         Set default as 'user.
8197
8198         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8199
8200         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8201         and `elmo-imap4-flush-connection'.
8202
8203         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8204         (elmo-pop3-get-spec): Assume auth as symbol.
8205         (elmo-open-network-stream): Moved to `elmo-net'.
8206
8207         * elmo-pop3.el (toplevel): Require 'elmo-net.
8208         Define `sasl-cram-md5' to silence byte compilier.
8209         (elmo-pop3-connection-cache) Abolished.
8210         (elmo-pop3-authenticator-alist) New variable.
8211         (elmo-pop3-session): Define.
8212         (elmo-pop3-connection-get-process): Abolished.
8213         (elmo-pop3-connection-get-buffer): Ditto.
8214         (elmo-pop3-close-connection): Ditto.
8215         (elmo-pop3-flush-connection): Ditto.
8216         (elmo-pop3-get-connection): Ditto.
8217         (elmo-pop3-get-session): New function.
8218         (Replacement for `elmo-pop3-get-connection').
8219         All other related modules are changed.
8220         (elmo-network-close-session): Define.
8221         (elmo-pop3-send-command): Abolished argument `buffer'.
8222         All other related modules are changed.
8223         (elmo-pop3-read-response): Likewise.
8224         (elmo-pop3-open-connection): Abolished.
8225         (elmo-pop3-auth-user): New function.
8226         (elmo-pop3-auth-apop): Ditto.
8227         (elmo-pop3-auth-cram-md5): Ditto.
8228         (elmo-pop3-auth-scram-md5): Ditto.
8229         (elmo-pop3-auth-digest-md5): Ditto.
8230         (elmo-network-initialize-session): Define.
8231         (elmo-network-authenticate-session): Ditto.
8232         (elmo-network-setup-session): Ditto.
8233
8234         * elmo-imap4.el (toplevel): Require 'elmo-net.
8235         (elmo-imap4-session): Define.
8236         (elmo-imap4-connection-cache): Abolished.
8237         (elmo-imap4-password-key): Ditto.
8238         (elmo-imap4-flush-connection): Ditto.
8239         (elmo-imap4-get-connection): Ditto.
8240         All other related modules are changed.
8241         (elmo-imap4-get-session): New function
8242         (Replacement for `elmo-imap4-get-connection').
8243         (elmo-imap4-read-response): Abolished argument `buffer'.
8244         All other related modules are changed.
8245         (elmo-imap4-send-command): Likewise.
8246         (elmo-imap4-select-folder): Abolished.
8247         All other related modules are changed.
8248         (elmo-imap4-select-mailbox): New function.
8249         (Replacement for `elmo-imap4-select-folder').
8250         (elmo-imap4-auth-login): Simplify.
8251         (Assume current buffer as process buffer)
8252         (elmo-imap4-auth-cram-md5): Ditto.
8253         (elmo-imap4-auth-digest-md5): Ditto.
8254         (elmo-imap4-login): Ditto.
8255         (elmo-imap4-open-connection): Abolished.
8256         (elmo-imap4-open-connection-1): Abolished.
8257         (elmo-network-initialize-sessoin): Define.
8258         (elmo-network-authenticate-session): Ditto.
8259         (elmo-network-setup-session): Ditto.
8260
8261         * elmo-net.el: New module.
8262
8263 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8264
8265         * elmo-util.el (elmo-define-error): New function.
8266
8267         * elmo2.el (elmo-error): Define.
8268         (elmo-open-error): Define.
8269         (elmo-authenticate-error): Define.
8270
8271         * elmo-imap4.el (elmo-imap4-error): Abolish.
8272         (elmo-imap4-error-type): Abolish.
8273         (elmo-imap4-error-process): Abolish.
8274         (elmo-imap4-error-message): Abolish
8275         (elmo-imap4-list-folders): Don't quote lambda.
8276         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8277         (elmo-imap4-parse-namespace): Ditto.
8278         (elmo-imap4-open-connection): Rewrite.
8279         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8280         (elmo-imap4-get-connection): Abolish local variable `result'.
8281
8282 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8283
8284         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8285         wrong-type-argument error when auth is nil.
8286
8287 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8288
8289         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8290         (elmo-default-nntp-stream-type): Ditto.
8291         (elmo-default-pop3-stream-type): Ditto.
8292         (elmo-network-stream-type-alist): Ditto.
8293         (elmo-default-imap4-ssl): Abolished.
8294         (elmo-default-nntp-ssl): Ditto.
8295         (elmo-default-pop3-ssl): Ditto.
8296
8297         * elmo-util.el: (toplevel): Removed needless requires.
8298         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8299         (elmo-open-network-stream): Open network stream according to
8300         the value of `elmo-network-stream-type-alist'.
8301         (elmo-get-network-stream-type): New function.
8302         (elmo-network-stream-type-spec-string): New macro.
8303         (elmo-network-stream-type-symbol): Ditto.
8304         (elmo-network-stream-type-function): Ditto.
8305
8306         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8307         network-stream-type. All other related portions are changed.
8308         (elmo-pop3-open-connection): Ditto.
8309
8310         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8311         network-stream-type. All other related portions are changed.
8312
8313         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8314         network-stream-type.All other related portions are changed.
8315         (elmo-imap4-error): New macro.
8316         (elmo-imap4-error-type): Ditto.
8317         (elmo-imap4-error-process): Ditto.
8318         (elmo-imap4-error-message): Ditto.
8319         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8320         (elmo-imap4-auth-cram-md5): Ditto.
8321         (elmo-imap4-auth-digest-md5): Ditto.
8322         (elmo-imap4-login): Ditto.
8323         (elmo-imap4-open-connection): Remove password entry if authentication
8324         was in vain.
8325         (elmo-imap4-user-at-host): Abolished.
8326         (elmo-imap4-password-key): New buffer local variable.
8327         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8328         using protocol, port, auth and stream-type.
8329
8330         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8331
8332 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8333
8334         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8335
8336         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8337
8338         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8339         (elmo-imap4-authenticator-alist): New variable.
8340         (elmo-imap4-open-connection-1): Rename from
8341         elmo-imap4-open-connection.
8342         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8343         only wraps elmo-imap4-open-connection-1.
8344         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8345         user-at-host.
8346         (elmo-imap4-auth-login): New function.
8347         (elmo-imap4-auth-cram-md5): New function.
8348         (elmo-imap4-auth-digest-md5): New function.
8349         (elmo-imap4-login): New function.
8350
8351 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8352
8353         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8354         function `error'.
8355
8356 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8357
8358         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8359
8360 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8361
8362         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8363
8364 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8365
8366         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8367         for server responses, quote `*' regardless of where it appears.
8368
8369 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8370
8371         * elmo-maildir.el (elmo-maildir-commit): New alias.
8372
8373 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8374
8375         * elmo-util.el (elmo-display-progress):
8376                 Use `progress-feedback-with-label'.
8377
8378 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8379
8380         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8381         (elmo-imap4-non-atom-char-regex): Ditto.
8382         (elmo-imap4-non-text-char-regex): Ditto.
8383         (elmo-imap4-literal-threshold): Ditto.
8384         (elmo-imap4-atom-p): New function.
8385         (elmo-imap4-quotable-p): Ditto.
8386         (elmo-imap4-nil): Ditto.
8387         (elmo-imap4-atom): Ditto.
8388         (elmo-imap4-quoted): Ditto.
8389         (elmo-imap4-literal-subr): Ditto.
8390         (elmo-imap4-literal): Ditto.
8391         (elmo-imap4-buffer-literal): Ditto.
8392         (elmo-imap4-string-subr): Ditto.
8393         (elmo-imap4-string): Ditto.
8394         (elmo-imap4-buffer-string): Ditto.
8395         (elmo-imap4-astring-subr): Ditto.
8396         (elmo-imap4-astring): Ditto.
8397         (elmo-imap4-buffer-astring): Ditto.
8398         (elmo-imap4-nstring): Ditto.
8399         (elmo-imap4-buffer-nstring): Ditto.
8400         (elmo-imap4-mailbox): New alias.
8401         (elmo-imap4-field-body): Ditto.
8402         (elmo-imap4-userid): Ditto.
8403         (elmo-imap4-password): Ditto.
8404         (elmo-imap4-format-quoted): New function.
8405         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8406         arguments and handle "atom", "quoted" and "literal" string here.
8407         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8408         `elmo-imap4-send-command'.
8409         (elmo-imap4-folder-exists-p): Likewise.
8410         (elmo-imap4-create-folder): Likewise.
8411         (elmo-imap4-delete-folder): Likewise.
8412         (elmo-imap4-rename-folder): Likewise.
8413         (elmo-imap4-max-of-folder): Likewise.
8414         (elmo-imap4-check-validity): Likewise.
8415         (elmo-imap4-sync-validity): Likewise.
8416         (elmo-imap4-server-diff): Likewise.
8417         (elmo-imap4-select-folder): Likewise.
8418         (elmo-imap4-copy-msgs): Likewise.
8419         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8420         (elmo-imap4-mark-set-on-msgs): Likewise.
8421         (elmo-imap4-read-part): Likewise.
8422         (elmo-imap4-read-msg): Likewise.
8423         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8424         `elmo-imap4-password' for `elmo-imap4-send-command'.
8425         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8426         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8427         `elmo-imap4-buffer-literal'.
8428         (elmo-imap4-append-msg): Likewise.
8429
8430         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8431         `delete' for removing dead connection from the connection cache.
8432         Move deletion of the process buffer after that.
8433         (elmo-imap4-list): Change `defsubst' to `defun'.
8434         (elmo-imap4-commit): Make error message verbose.
8435         (elmo-imap4-search): Ditto.
8436         (elmo-imap4-list): Ditto.
8437         (elmo-imap4-select-folder): Ditto.
8438         (elmo-imap4-copy-msgs): Ditto.
8439         (elmo-imap4-delete-msg-by-id): Ditto.
8440         (elmo-imap4-append-msg-by-id): Ditto.
8441         (elmo-imap4-append-msg): Ditto.
8442
8443 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8444
8445         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8446         when dired is used on XEmacs.
8447
8448 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8449
8450         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8451         instead of `append'.
8452         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8453         `elmo-plugged-p' directly.
8454         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8455         of `elmo-plugged-p' directly.
8456
8457         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8458         Eliminate unused variable.  Use `memq' for checking a process status.
8459         Use `cons' instead of `append' for updating the connection cache.
8460         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8461         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8462
8463 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8464
8465         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8466         `elmo-imap4-read-point' exactly.
8467
8468         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8469         the local variable `folder' to `mailbox'.
8470         Rename the argument `fld' to `folder'.
8471
8472 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8473
8474         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8475         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8476
8477 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8478
8479         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8480         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8481         (elmo-pop3-uidl-number-hash): Ditto.
8482         (elmo-pop3-size-hash): Ditto.
8483         (elmo-pop3-uidl-done): Ditto.
8484         (elmo-pop3-list-done): Ditto.
8485         (elmo-pop3-connection-get-process): New defmacro.
8486         (elmo-pop3-connection-get-buffer): Ditto.
8487         (elmo-pop3-close-connection): Delete buffer and process.
8488         (elmo-pop3-flush-connection): Don't delete buffer and process.
8489         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8490         Setup UIDL and size hash.
8491         (elmo-pop3-send-command-no-erase): Deleted
8492         (elmo-pop3-send-command): Added optional argument `no-erase'.
8493         (elmo-pop3-parse-uidl-response): New function.
8494         (elmo-pop3-parse-list-response): Set size hash.
8495         (elmo-pop3-list-location): New function.
8496         (elmo-pop3-list-by-uidl-subr): Ditto.
8497         (elmo-pop3-list-by-list): Ditto.
8498         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8499         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8500         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8501         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8502         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8503         Use uidl.
8504         (elmo-pop3-uidl-to-number): New function.
8505         (elmo-pop3-number-to-uidl): Ditto.
8506         (elmo-pop3-number-to-size): Ditto.
8507         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8508         Set number by use of uidl.
8509         (elmo-pop3-msgdb-create-message): Likewise.
8510         Set size, loc-alist in msgdb.
8511         (elmo-pop3-read-msg): Set number by use of uidl.
8512         Added optional argument `msgdb'.
8513         (elmo-pop3-delete-msg): Ditto.
8514         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8515         (elmo-pop3-commit): Close connection.
8516
8517         * elmo-pipe.el (elmo-pipe-max-of-folder):
8518         Bind `elmo-pop3-use-uidl' as nil.
8519         (elmo-pipe-drain): Ditto.
8520         Call `elmo-commit'.
8521
8522         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8523         (elmo-msgdb-overview-entity-set-size): New defsubst.
8524
8525 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8526
8527         * elmo-vars.el (elmo-use-killed-list): New variable
8528         (Renamed from `elmo-nntp-use-killed-list').
8529         (elmo-nntp-use-killed-list): Eliminated.
8530
8531         * elmo-msgdb.el (elmo-msgdb-expand-path):
8532         Changed expanding msgdb path for elmo-multi.
8533
8534         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8535         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8536         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8537         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8538         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8539         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8540         (toplevel): Deleted time-stamp line.
8541
8542         * elmo2.el (elmo-clear-killed ): Defined as function
8543         (Abolished defining as a backend function).
8544         All other related modules are changed.
8545
8546 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8547
8548         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8549
8550 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8551
8552         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8553
8554 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8555
8556         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8557
8558 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8559
8560         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8561         asynchronous folder check.
8562
8563         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8564
8565         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8566         `elmo-nntp-use-killed-list'.
8567         (elmo-nntp-list-folder): Use killed list.
8568         (elmo-nntp-max-of-folder): Ditto.
8569         (elmo-nntp-msgdb-create): Set killed list.
8570
8571         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8572
8573         * elmo2.el (elmo-clear-killed): New backend function.
8574         All other related modules are changed.
8575
8576 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8577
8578         * elmo-util.el (elmo-imap4-spec-folder): Use
8579         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8580         All callers changed.
8581
8582 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8583
8584         * mmelmo-2.el (initialize-instance):
8585         Use `mime-buffer-entity-buffer-internal' instead of
8586         `mime-entity-buffer'.
8587
8588         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8589         (mime-entity-body): Implemented.
8590         (mime-goto-header-start-point): Deleted.
8591         (mime-goto-body-end-point): Ditto.
8592         (mime-entity-point-min): Ditto.
8593         (mime-entity-point-max): Ditto.
8594         (mime-entity-children): Ditto.
8595         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8596         instead of `mime-entity-buffer'.
8597         (mime-entity-header-buffer): Ditto.
8598         (mime-entity-body-buffer): Ditto.
8599         (mime-write-entity-content): Ditto.
8600
8601         * pldap.el (ldap-static-if): New macro.
8602         (toplevel): Use it instead of `static-if'.
8603
8604 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8605
8606         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8607         included in `attrs' argument.
8608
8609 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8610
8611         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8612
8613         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8614         (ldap-ldif-safe-init-char-regexp): Ditto.
8615         (ldap-ldif-safe-string-regexp): Ditto.
8616         (ldap/ldif-safe-string-p): New macro.
8617         (ldap/ldif-insert-field): Ditto.
8618         (ldap-modify): Use it.
8619         (ldap-add): Ditto.
8620         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8621         (ldap-decode-attribute): Decode only when `attr' is consp.
8622         (ldap-delete): Bind `ret'.
8623         (toplevel): Require 'cl at compile time.
8624         Removed (require 'poe) and (require 'std11).
8625         (pldap-version): Eliminated.
8626         (ldap-search-basic): Removed auth and dn binding.
8627         (ldap-ldif-field-name-regexp): New constant.
8628         (ldap-ldif-field-head-regexp): Ditto.
8629         (ldap-ldif-next-field-head-regexp): Ditto.
8630         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8631         (ldap/field-end): New function.
8632         (ldap/field-body): Use it.
8633         (ldap/collect-field): Ditto.
8634         (ldap-search-basic): Use `ldap/field-body'.
8635
8636 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8637
8638         * pldap.el (ldap-default-attribute-encoder): New user option.
8639         (ldap/field-body): Decode base64 string.
8640         (ldap/collect-field): Ditto.
8641         (ldap-encode-attribute): New function.
8642         (ldap-add-entries): Use it.
8643         (ldap-modify-entries): Ditto.
8644         (ldap-search-entries): Enclosed decoding function with
8645         `with-temp-buffer' and set as unibyte.
8646         (ldap-search-basic): Set process buffer as unibyte.
8647
8648         * elmo-util.el (elmo-folder-identical-system-p):
8649         Eliminated name space checking.
8650
8651         * pldap.el: New module.
8652         toplevel: Changed condition to detect built-in ldap feature.
8653         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8654         (ldap-add): Added error handling.
8655         (ldap-modify): Ditto.
8656         (ldap-delete): Ditto.
8657
8658 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8659
8660         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8661         Initialize local variables with `let'.  Inline a temporary
8662         variable for the progress percentage.  Sort `setq' to reduce
8663         function call in the while-loop.
8664
8665         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8666         into the conditional branch.
8667
8668 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8669
8670         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8671         Move a conditional out of the while-loop.
8672
8673 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8674
8675         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8676         elmo-msgdb-overview-get-entity-by-number.
8677         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8678         throw.
8679
8680 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8681
8682         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8683         the local variable for a packed number self descriptively.
8684
8685 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8686
8687         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8688         * elmo-localdir.el (elmo-localdir-pack-number): Use
8689         `elmo-msgdb-overview-get-entity' instead of
8690         `elmo-msgdb-overview-get-entity-by-number'.
8691         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8692         (elmo-msgdb-search-overview-entity): Removed.
8693         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8694         by message-id or number.
8695         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8696         instead of `elmo-msgdb-overview-get-entity-by-number'.
8697
8698 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8699
8700         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8701         non-nil, use hash table for overview.
8702         (elmo-hash-maximum-size): New variable.
8703         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8704         (elmo-msgdb-make-overview-hashtb): New function.
8705         (elmo-msgdb-clear-overview-hashtb): New function.
8706         (elmo-clear-hash-val): New macro.
8707         All other related modules are changed.
8708
8709 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8710
8711         * elmo2.el (elmo-move-msgs): If there's other message with
8712         same message-id, don't use cache.
8713
8714 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8715
8716         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8717         number is already packed.
8718
8719 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8720
8721         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8722
8723 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8724
8725         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8726         All other related modules are changed.
8727
8728 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8729
8730         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8731         of refiling failure on Maildir.
8732
8733 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8734
8735         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8736         decoded mime-charset with cache.
8737         (elmo-msgdb-overview-entity-get-from): Ditto.
8738         (elmo-msgdb-overview-entity-get-subject): Ditto.
8739         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8740
8741 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8742
8743         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8744         (elmo-remove-passwd): Fill password with 0 before erase.
8745         * elmo-vars.el (elmo-passwd-life-time): New variable.
8746
8747 \f
8748 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8749
8750         * elmo-cache.el (elmo-buffer-cache-add):
8751         Set message cache buffer as unibyte.
8752
8753 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8754
8755         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8756         become nil.
8757
8758 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8759
8760         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8761         when display is finished.
8762         (elmo-nntp-msgdb-create): Ditto.
8763         (elmo-nntp-groups-read-response): Ditto.
8764         (elmo-nntp-retrieve-headers): Ditto.
8765         (elmo-nntp-msgdb-create-message): Ditto.
8766         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8767         (elmo-pop3-msgdb-create-message): Ditto.
8768
8769 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8770
8771         * elmo-maildir.el (elmo-maildir-msgdb-create):
8772         Use `elmo-msgdb-sort-by-date'.
8773
8774 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8775
8776         * elmo2.el (elmo-read-msg-no-cache):
8777         Eliminated arguments after `outbuf'.
8778         Don't use cache even if it exists.
8779         (elmo-read-msg): Don't pass arguments after `outbuf' to
8780         `elmo-read-msg-no-cache'.
8781
8782 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8783
8784         * elmo-archive.el (elmo-archive-list-folders):
8785         Use `file-name-directory' if base folder does not exist.
8786
8787 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8788
8789         * elmo-archive.el (elmo-archive-list-folders): Don't use
8790         `file-name-directory'.
8791
8792 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8793
8794         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8795         If `force' is non-nil, try flushing all operation queues.
8796
8797 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8798
8799         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8800         as-binary-process.
8801
8802 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8803
8804         * elmo-util.el (elmo-display-progress): Fixed.
8805
8806 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8807
8808         * elmo-util.el (elmo-display-progress): New function.
8809         All other related modules are changed.