(elmo-folder-rename): Set meta data for global flags
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elmo.el (elmo-folder-rename): Set meta data for global flags
4         follow the rename.
5
6 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7
8         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
9         as 'not-loaded.
10         (elmo-folder-close): Ditto.
11         (elmo-filter-folder-number-list-loaded-p): New function.
12         (elmo-filter-folder-number-list): Check whether loaded or not.
13         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
14         of `elmo-filter-folder-number-list-internal'.
15         (elmo-folder-delete-messages): Ditto.
16         (elmo-folder-length): Check whether number-list is loaded or not.
17
18 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
19
20         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
21         field `real field' into each element of list.
22         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
23         (elmo-msgdb-message-entity-field): Ditto.
24         (modb-entity-ml-info-real-fields): New function.
25
26         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
27
28         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
29         `elmo-msgdb-extra-fields'.
30
31 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
32
33         * elmo-util.el (elmo-passwd-alist-load): Move point to min
34         position before read.
35
36 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
37
38         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
39         (elmo-global-flags-initialize): Ditto.
40
41 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
42
43         * elmo-archive.el (toplevel): Don't require emu, std11
44         and elmo-localdir.
45
46         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
47         definition.
48
49 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
50
51         * elmo.el (elmo-folder-confirm-appends): Display folder name.
52
53 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
54
55         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
56         literals.
57
58 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
59
60         * elmo-maildir.el (elmo-maildir-list-location): Reduce
61         `elmo-get-last-modification-time' call.
62
63 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
64
65         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
66         expression.
67         (elmo-maildir-set-mark): Ditto.
68         (elmo-maildir-delete-mark): Ditto.
69
70 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
71
72         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
73         optional argument `separators'.
74
75 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
76
77         * elmo.el (cache-changed): Abolish.
78         (status-changed): New signal.
79         (elmo-message-killed-p): New generic function and define for
80         elmo-folder.
81         (elmo-folder-recover-messages): Ditto.
82         (elmo-message-set-cached): Emit signal `status-changed' instead of
83         `cache-changed'.
84         (elmo-message-status): New macro.
85         (elmo-message-status-folder): Ditto.
86         (elmo-message-status-number): Ditto.
87         (elmo-message-status-set-flags): Ditto.
88         (elmo-message-status-set-killed): Ditto.
89         (elmo-message-status-flags): New function.
90         (elmo-message-status-cached-p): Ditto.
91         (elmo-message-status-killed-p): Ditto.
92
93         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
94         `status-changed' instead of `cache-changed'.
95         (elmo-folder-recover-messages): Define.
96         (elmo-message-killed-p): Ditto.
97
98         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
99         `status-changed' instead of `cache-changed'.
100
101         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
102         (elmo-message-killed-p): Define.
103         (elmo-folder-recover-messages): Ditto.
104
105         * elmo-version.el (elmo-version): Up to 2.15.3.
106
107 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
108
109         * elmo-signal.el (elmo-signal-bindings): Use cons to append
110         element into list.
111         (elmo-define-signal-handler): Add docstring.
112         (elmo-define-signal-filter): Ditto.
113
114         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
115
116 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
117
118         * elmo-util.el (elmo-flatten): Don't use recursive call.
119
120         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
121         assignment.
122         (elmo-folder-message-make-temp-files): Use `number-to-string'
123         instead of `int-to-string'.
124
125 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
126
127         * elmo-search.el (elmo-folder-delete-messages): Define.
128
129 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
130
131         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
132         customization type.
133         (elmo-mailing-list-count-spec-list): Ditto.
134
135         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
136         for `list-id'.
137
138 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
139
140         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
141         handling.
142
143 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
144
145         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
146         (elmo-mailing-list-count-spec-list): Ditto.
147
148         * elmo-util.el (elmo-map-until-success): New function.
149         (elmo-string-match-substring): Ditto.
150         (elmo-find-list-match-value): Ditto.
151
152         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
153         Removed.
154         (modb-entity-extract-ml-info-from-subject): Ditto.
155         (modb-entity-extract-ml-info-from-return-path): Ditto.
156         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
157         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
158         (modb-entity-extract-ml-info-from-mailman): Ditto.
159         (modb-entity-extract-mailing-list-info-functions): Ditto.
160         (modb-entity-extract-mailing-list-info): Rewrite with
161         `elmo-find-list-match-value'.
162
163 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
164
165         * elmo-net.el (elmo-network-session-retry-count): New user option.
166         (elmo-network-session-buffer-name): New internal function.
167         (elmo-network-session-buffer-create): Ditto.
168         (elmo-network-open-session): Retry open network session
169         `elmo-network-session-retry-count' times.
170
171 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
172
173         * elmo-util.el (elmo-list-filter): Rewritten.
174
175 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
176
177         * elmo-util.el (elmo-string-member): Allow symbol element in list.
178
179 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
180
181         * elmo-search.el (elmo-make-search-engine): Use prefix
182         `elmo-search-' for require symbol instead of `else-'.
183         (elmo-search-engine-extprog): New class.
184         (elmo-search-engine-do-search): Remove nil from argument
185         list. Added argument pattern to evaluate element as function.
186         (elmo-search-engine-local-file): Derived from
187         `elmo-search-engine-extprog'.
188         (elmo-search-engine-create-message-entity): Check existance of file.
189         (elmo-search-engine-fetch-message): Ditto.
190         (elmo-search-namazu-index): Follow the API change.
191         (elmo-search-grep-target): Ditto.
192
193 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
194
195         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
196         characters of working buffer.
197
198         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
199         Does not bind `default-mime-charset'.
200         (elmo-msgdb-create-message-entity-from-buffer): Removed
201         unnecessary local bind.
202
203         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
204         function.
205         (modb-entity-extract-mailing-list-info-functions): Added it.
206
207 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
208
209         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
210         when number and message-id are non-nil.
211
212         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
213
214         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
215         conditional steatment.
216         (elmo-pop3-auth-apop): Likewise.
217         (elmo-network-authenticate-session): Likewise.
218
219 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
220
221         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
222         symbol `fill-column'.
223         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
224         decode field value.
225
226         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
227         (elmo-decoded-field-body): Ditto.
228
229 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
230
231         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
232         `tokens' to `params'.
233
234 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
235
236         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
237         working buffer.
238
239 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
240
241         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
242         decide index.
243
244 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
245
246         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
247         Set default value as nil.
248         (toplevel): Register search engines by
249         `elmo-search-register-engine' if there are not defined.
250
251         * elmo.el (autoload): Added autoload setting for
252         `elmo-search-register-engine'.
253
254 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
255
256         * elmo.el (toplevel): `[' is redefined as the prefix of the search
257         folder instead of nmz folder.
258         (elmo-nmz-default-index-path): Added obsolete variable setting.
259         (elmo-nmz-index-alias-alist): Ditto.
260         (elmo-nmz-use-drive-letter): Ditto.
261
262         * elmo-search.el (elmo-search-register-engine): New function.
263
264         * elmo-nmz.el: Removed.
265
266         * elmo-version.el (elmo-version): Up to 2.15.2.
267
268 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
269
270         * elmo-search.el: New file.
271
272 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
273
274         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
275         condition `larger' and `smaller'.
276
277 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
278
279         * elmo-util.el (elmo-safe-filename): Rewrite to replace
280         `"' (double quote) into "_Q_".
281
282 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
283
284         * elmo-net.el (elmo-net-quote-chars): Abolish.
285         (elmo-net-format-quoted): Ditto.
286
287 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
288
289         * elmo.el (elmo-get-folder-function): New variable.
290         (elmo-get-folder): New function.
291         (elmo-folder-rename): Call `elmo-make-folder' with specified
292         mime-charset.
293
294         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
295         `elmo-make-folder'.
296         (elmo-split-subr): Ditto.
297
298         * elmo-multi.el (elmo-folder-initialize): Ditto.
299
300         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
301
302         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
303         (elmo-flag-get-folder): Ditto.
304
305         * elmo-filter.el (elmo-folder-initialize): Ditto.
306
307         * elmo-access.el (elmo-folder-initialize): Ditto.
308         (elmo-access-folder-update-children): Ditto.
309
310         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
311         (elmo-dop-queue-flush): Ditto.
312         (elmo-folder-append-buffer-dop-delayed): Ditto.
313         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
314         mime-charset.
315
316         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
317         instead of `elmo-make-folder'.
318         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
319         destination folder instead of send `elmo-folder-rename-internal'.
320
321         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
322         slot of subfolder instead of create it.
323
324 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
325
326         * elmo-util.el (elmo-collect-separators): New function.
327         (elmo-collect-separators-internal): Ditto.
328         (elmo-collect-trail-separators): Ditto.
329         (elmo-parse-separated-tokens): Ditto.
330         (elmo-parse-separated-tokens-internal): Ditto.
331         (elmo-quote-syntactical-element): Ditto.
332
333         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
334         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
335
336         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
337         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
338         (elmo-nntp-folder-list-subfolders): Quote a user name.
339
340         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
341         (elmo-net-parse-network): Abolish.
342         (elmo-net-folder-set-parameters): New function.
343         (elmo-folder-initialize): Follow the above change.
344
345         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
346         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
347         (elmo-folder-list-subfolders): Use
348         `elmo-quote-syntactical-element' instead of
349         `elmo-net-format-quoted' to quote mailbox and user name.
350
351 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
352
353         * elmo-util.el (elmo-token-valid-p): New function.
354         (elmo-parse-token): Add optional argument `requirement'.
355         (elmo-parse-prefixed-element): Likewise.
356
357         * elmo-net.el (elmo-net-quote-chars): Renamed from
358         `elmo-net-quote-chars-regexp'.
359         (elmo-net-format-quoted): Add optional argument `extra-chars'.
360
361         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
362         by info document. Check token `uidl' is started an alphabet.
363
364         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
365         by info document. Check token `user' is started an alphabet.
366
367         * elmo-imap4.el (elmo-folder-initialize): Ditto.
368         (elmo-folder-list-subfolders): Quote user.
369
370 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
371
372         * elmo-util.el (elmo-quoted-specials-list): New constant.
373         (elmo-quoted-token): New function.
374
375         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
376         (elmo-net-format-quoted): New function.
377         (elmo-net-parse-network): Ditto.
378         (elmo-folder-initialize): Use it.
379
380         * elmo-nntp.el (elmo-folder-initialize): Use
381         `elmo-net-parse-network' to parse network specification instead of
382         `elmo-folder-initialize#elmo-net'.
383
384         * elmo-pop3.el (elmo-folder-initialize): Ditto.
385
386         * elmo-imap4.el (elmo-folder-initialize): Ditto.
387         (elmo-folder-list-subfolders): Quote folder name by
388         `elmo-net-format-quoted'.
389
390 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
391
392         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
393         (elmo-folder-search): Use it.
394
395 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
396
397         * modb-standard.el (modb-standard-loaded-message-id): Use
398         `elmo-msgdb-message-entity-field'.
399
400 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
401
402         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
403         without filename.
404
405 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
406
407         * elmo-util.el (elmo-set-auto-coding): New function.
408         (elmo-object-load): Use it.
409
410 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
411
412         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
413         (elmo-time<): Define as alias of `elmo-time-less-p'.
414         (elmo-time-to-datevec): New function.
415
416         * elmo-date.el (elmo-time-to-days): New function.
417
418 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
419
420         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
421         is not cons cell.
422
423 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
424
425         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
426         parenthesis.
427
428         * elmo-util.el (elmo-map-recursive): New function.
429
430         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
431         (modb-entity-encode-string-recursive): Ditto.
432
433 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
434
435         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
436         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
437         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
438         compare sequence number when last modified time is nil.
439
440 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
441
442         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
443
444         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
445
446 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
447
448         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
449         modification time of the file.
450
451 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
452
453         * elmo-util.el (elmo-condition-optimize): Discriminated against
454         preserved fields, extra fields and the other weight.
455
456 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
457
458         * modb-entity.el (initialize-instance): Define.
459         (modb-entity-handler-mime-charset): New internal function.
460         (modb-standard-entity-set-field): Use it.
461         (elmo-msgdb-message-entity-field): Ditto.
462         (elmo-msgdb-message-entity-field): Ditto.
463
464         * modb.el (elmo-msgdb-match-condition): Rewrite with
465         `elmo-condition-match'.
466         (elmo-msgdb-match-condition-primitive): New function.
467
468         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
469         arguments `flags' and `numbers'.
470         (elmo-msgdb-match-condition-primitive): Abolished (merged to
471         `elmo-msgdb-message-match-condition').
472         (modb-buffer-entity-handler): New class.
473
474         * elmo.el (elmo-folder-search): Optimize condition to use
475         `elmo-condition-optimize'.
476         (elmo-message-buffer-match-condition): New function.
477         (elmo-message-match-condition): Use
478         `elmo-message-buffer-match-condition' instead of
479         `elmo-buffer-field-condition-match'.
480
481         * elmo-util.el (elmo-condition-match): New function.
482         (elmo-condition-optimize): Ditto.
483         (elmo-buffer-field-primitive-condition-match): Abolish.
484         (elmo-buffer-field-condition-match): Ditto.
485
486         * elmo-archive.el (elmo-archive-field-condition-match): Use
487         `elmo-message-buffer-match-condition' instead of
488         `elmo-buffer-field-condition-match'.
489
490 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
491
492         * elmo-flag.el (elmo-global-flags-initialize): Check the
493         existence of the flag directory.
494
495 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
496
497         * elmo-access.el (elmo-folder-initialize): Call
498         `elmo-multi-connect-signals'.
499
500         * elmo-pipe.el (elmo-folder-close): Define.
501
502         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
503         children folders.
504
505         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
506         with target folder.
507
508         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
509         `number'.
510
511         * elmo-multi.el (elmo-message-entity): Don't use return value of
512         `elmo-message-entity-set-number'.
513
514 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
515
516         * modb.el (modb-generic): Added slot `mime-charset'.
517
518         * modb-standard.el (modb-standard): Added slot `overview-handler'.
519         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
520         and `modb-entity-handler-dump-parameters'.
521         (modb-standard-default-entity-handler): Abolish.
522         (elmo-msgdb-message-entity-handler): Save created handler by
523         instance slot.
524
525         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
526         (modb-entity-handler-list-parameters): New method.
527         (modb-entity-handler-equal-p): New function.
528         (modb-entity-handler-dump-parameters): Ditto.
529         (modb-entity-parse-address-string): Encode return value.
530         (modb-entity-make-address-string): Decode argument value.
531         (modb-entity-decode-string-recursive): New function.
532         (modb-entity-encode-string-recursive): Ditto.
533         (modb-standard-entity-normalizer): Set to encode field value.
534         (modb-standard-entity-specializer): Follow the above change.
535         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
536         mime-charset of handler.
537         (elmo-msgdb-message-entity-field): Ditto.
538         (elmo-msgdb-copy-message-entity): Fixed reference to internal
539         structure.
540         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
541
542         * elmo.el (elmo-folder): Added slot `mime-charset'.
543         (elmo-make-folder): Added argument `mime-charset'.
544         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
545         `mime-charest'.
546
547         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
548         (elmo-make-msgdb): Likewise.
549
550         * elmo-internal.el (elmo-internal-folder-initialize): Call
551         `luna-make-entity' with :mime-charset parameter.
552
553 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
554
555         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
556         encoded words in `from' and `subject' field.
557
558 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
559
560         * modb.el (elmo-msgdb-message-field): Add argument `type'.
561         (elmo-msgdb-match-condition): Get handler from entity instead of
562         msgdb.
563
564         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
565         (modb-standard-load-entity): Treat new file format.
566         (modb-standard-save-entity-1): Save as new file format.
567         (modb-standard-save-entity): Split messages into section here.
568         (elmo-msgdb-message-field): Follow the API change.
569         (modb-standard-default-entity-handler): New internal variable.
570         (elmo-msgdb-message-entity-handler): Define.
571
572         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
573         to `elmo-vars.el'.
574         (modb-entity-field-extractor-alist): New user option.
575         (elmo-msgdb-message-entity-field): Removed argument `decode' and
576         added argument `type'.
577         (elmo-msgdb-copy-message-entity): Add optional argument
578         `make-handler'.
579         (modb-set-field-converter): New function.
580         (modb-convert-field-value): Ditto.
581         (modb-entity-string-decoder): Ditto.
582         (modb-entity-string-encoder): Ditto.
583         (modb-entity-parse-date-string): Ditto.
584         (modb-entity-make-date-string): Ditto.
585         (modb-entity-mime-decoder): Ditto.
586         (modb-entity-mime-encoder): Ditto.
587         (modb-entity-address-list-decoder): Ditto.
588         (modb-entity-address-list-encoder): Ditto.
589         (modb-entity-parse-address-string): Ditto.
590         (modb-entity-make-address-string): Ditto.
591         (modb-entity-create-field-indices): Ditto.
592         (modb-legacy-entity-field-slots): New constant.
593         (modb-legacy-entity-field-indices): Ditto.
594         (modb-legacy-entity-normalizer): New variable.
595         (modb-legacy-entity-specializer): Ditto.
596         (modb-legacy-entity-field-index): New macro.
597         (modb-legacy-entity-set-field): New function.
598         (modb-legacy-make-message-entity): Rewrite.
599         (elmo-msgdb-create-message-entity-from-buffer): Use
600         `elmo-msgdb-get-references-from-buffer'. Use
601         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
602         Use `modb-legacy-entity-set-field' instead of
603         `elmo-msgdb-message-entity-set-field'.
604         (elmo-msgdb-message-entity-field): Rewrite.
605         (elmo-msgdb-message-entity-set-field): Ditto.
606         (elmo-msgdb-copy-message-entity): Make new entity by
607         `make-handler' if it specified.
608         (elmo-msgdb-message-match-condition): Define a method of
609         `modb-entity-handler' and follow the API change.
610         (modb-standard-entity-handler): New class.
611         (modb-entity-extract-ml-info-from-x-sequence): New function.
612         (modb-entity-extract-ml-info-from-subject): Ditto.
613         (modb-entity-extract-ml-info-from-return-path): Ditto.
614         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
615         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
616         (modb-entity-extract-mailing-list-info): Ditto.
617         (modb-entity-extract-mailing-list-info-functions): New variable.
618
619         * elmo.el (elmo-message-field): Add optional argument `type'.
620
621         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
622         from `modb-entity.el'.
623
624         * elmo-util.el (elmo-object-load): Decode by coding-system from
625         `set-auto-coding-function'.
626         (elmo-object-save): Use `detect-mime-charset-region' and add
627         coding cookie if encode.
628         (elmo-msgdb-get-references-from-buffer): New function.
629         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
630
631         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
632
633         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
634         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
635         instead of `shimbun-make-header' and follow the API change.
636         (elmo-shimbun-update-overview): Follow the API change.
637         (elmo-map-folder-list-message-locations): Ditto.
638
639         * elmo-pipe.el (elmo-message-field): Ditto.
640
641         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
642         Ditto.
643
644         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
645
646         * elmo-multi.el (elmo-message-field): Ditto.
647
648         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
649         (elmo-msgdb-sort-by-date): Ditto.
650         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
651         `elmo-message-entity-field'.
652         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
653         change.
654         (elmo-msgdb-overview-entity-get-from): Ditto.
655         (elmo-msgdb-overview-entity-get-subject): Ditto.
656         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
657         (elmo-msgdb-overview-entity-get-date): Ditto.
658         (elmo-msgdb-overview-entity-get-to): Ditto.
659         (elmo-msgdb-overview-entity-get-cc): Ditto.
660
661         * elmo-mime.el (elmo-message-mime-entity): Ditto.
662         (elmo-mime-collect-message/partial-pieces): Ditto.
663
664         * elmo-filter.el (elmo-message-field): Ditto.
665
666         * elmo-date.el (elmo-datevec-to-time): New function.
667         (elmo-time-parse-date-string): Ditto.
668         (elmo-time-make-date-string): Ditto.
669         (elmo-time<): Ditto.
670
671         * elmo-version.el (elmo-version): Up to 2.15.1.
672
673 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
674
675         * elmo-flag.el (elmo-global-flags-initialize): Don't include
676         member of elmo-local-flags.
677
678 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
679
680         * elmo-version.el (elmo-version): Up to 2.15.0.
681
682 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
683
684         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
685         `ignore-msgdb' is non-nil.
686
687 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
688
689         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
690         (elmo-condition-in-msgdb-p): Ditto.
691         (elmo-file-field-primitive-condition-match): Ditto.
692         (elmo-file-field-condition-match): Ditto.
693
694         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
695
696 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
697
698         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
699         subdirectories here.
700         (elmo-global-flags-initialize): New function.
701
702         * elmo.el (toplevel): Added autoload setting for
703         `elmo-global-flags-initialize'.
704
705 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
706
707         * elmo.el (message-number-changed): Define new signal.
708         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
709         message-number-changed signal.
710         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
711         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
712         Respect `elmo-pack-number-check-strict'.
713
714 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
715
716         * elmo-signal.el (elmo-connect-signal): Document.
717         (elmo-emit-signal): Ditto.
718         (elmo-emit-signal): It should pass source argument to filter and
719         handler, not slot-source.
720
721 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
722
723         * modb.el (elmo-msgdb-update-entity): New API and define generic
724         implement.
725
726         * modb-standard.el (elmo-msgdb-update-entity): Define.
727
728         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
729         API and define generic implement.
730
731         * elmo.el (update-overview): New singnal.
732
733         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
734         `elmo-msgdb-update-entity' and emit signal `update-overview'.
735         (elmo-message-entity-parent): Define.
736
737         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
738         `update-overview'.
739
740         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
741
742         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
743
744 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
745
746         * elmo.el (elmo-folder-synchronize): Sort the return value of
747         `elmo-list-diff'.
748
749         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
750         list.
751
752 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
753
754         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
755         `default-enable-multibyte-characters'.
756         (elmo-object-load): Use `with-temp-buffer' instead of
757         `elmo-set-work-buf'.
758         (elmo-object-save): Ditto.
759         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
760         `elmo-set-work-buf'.
761         (elmo-decoded-field-body): Ditto.
762
763         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
764
765         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
766         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
767
768         * elmo-version.el (elmo-version): Up to 2.13.3.
769
770 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
771
772         * elmo-util.el (elmo-list-diff): Fix the last change.
773         Reverse order of result lists.
774
775 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
776
777         * modb-standard.el (elmo-msgdb-set-flag): Use
778         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
779         (elmo-msgdb-unset-flag): Ditto.
780
781         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
782         `elmo-list-diff'.
783
784         * elmo-util.el (elmo-list-diff): Rewrite.
785         (elmo-list-diff-nonsortable): New function.
786
787 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
788
789         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
790         `elmo-multibypte-buffer-name'.  All referers are updated.
791
792 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
793
794         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
795         (elmo-mime-entity-fragment-p): New function.
796         (mime-elmo-buffer-entity): Added slot `reassembled'.
797         (elmo-message-mime-entity): Added 4th argument `reassemble'.
798         (elmo-message-mime-entity-internal): New function (renamed from
799         `elmo-message-mime-entity').
800         (elmo-mime-inherit-field-list-from-enclosed): New constant.
801         (elmo-mime-make-reassembled-mime-entity): New function.
802         (elmo-message-reassembled-mime-entity): Ditto.
803         (elmo-mime-collect-message/partial-pieces): Ditto.
804
805 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
806
807         * elmo.el (elmo-message-fetch-string): Disable multibyte.
808
809         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
810         (elmo-with-enable-multibyte): New macro.
811
812         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
813
814 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
815
816         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
817         argument `number'.
818         (elmo-filter-connect-signals): Follow the above change.
819
820 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
821
822         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
823
824         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
825         that only the first flag is used.
826
827 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
828
829         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
830         if available.
831
832 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
833
834         * elmo-signal.el: New file.
835
836         * elmo.el (toplevel): Require elmo-signal.
837         (flag-changing, flag-changed, cache-changed): New signal.
838         (elmo-folder): Remove slog `handlers'.
839         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
840         `elmo-folder-notify-event'.
841         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
842         (elmo-folder-unset-flag): Ditto.
843         (elmo-event-handler): Abolish.
844         (elmo-event-handler-flag-changed): Ditto.
845         (elmo-event-handler-cache-changed): Ditto.
846         (elmo-folder-add-handler): Ditto.
847         (elmo-folder-remove-handler): Ditto.
848         (elmo-folder-notify-event): Ditto.
849
850         * elmo-pipe.el (toplevel): Require elmo-signal.
851         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
852         (elmo-pipe-connect-signals): New function.
853         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
854         (elmo-folder-set-flag): Ditto.
855         (elmo-folder-unset-flag): Ditto.
856         (elmo-message-set-cached): Ditto.
857
858         * elmo-multi.el (toplevel): Require elmo-signal.
859         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
860         (elmo-multi-connect-signals): New function.
861         (elmo-multi-map-numbers): Ditto.
862         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
863         (elmo-message-fetch): Ditto.
864         (elmo-folder-set-flag): Ditto.
865         (elmo-folder-unset-flag): Ditto.
866
867         * elmo-filter.el (toplevel): Require elmo-signal.
868         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
869         (elmo-filter-connect-signals): New function.
870         (elmo-filter-add-flag-count): Ditto.
871         (elmo-message-fetch): Does not call
872         `elmo-filter-folder-countup-message-flags' and
873         `elmo-folder-notify-event'.
874         (elmo-message-set-cached): Ditto.
875         (elmo-folder-set-flag): Ditto.
876         (elmo-folder-unset-flag): Ditto.
877
878         * elmo-version.el (elmo-version): Up to 2.13.2.
879
880 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
881
882         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
883         `flags'.
884
885 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
886
887         * elmo-filter.el (elmo-message-set-cached): Call
888         `elmo-folder-notify-event' with event `cache-changed'.
889
890         * elmo-multi.el (elmo-message-set-cached): Ditto.
891
892         * elmo-pipe.el (elmo-message-set-cached): Ditto.
893
894 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
895
896         * elmo.el (elmo-folder-encache): Abolish.
897
898 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
899
900         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
901         (elmo-folder-next-message-number-dop): Return appropriate negative
902         integer.
903
904 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
905
906         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
907         clearing pending operations.
908         (elmo-folder-next-message-number-dop): Return appropriate negative
909         integer.
910
911 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
912
913         * elmo.el (toplevel): Added autoload setting for `md5'.
914         (elmo-msgdb-path-encode-threshold): New user option.
915         (elmo-folder-msgdb-path): Encode msgdb path if its length is
916         longer than `elmo-msgdb-path-encode-threshold'.
917
918         * elmo-flag.el (elmo-global-mark-migrate): Use
919         `elmo-folder-expand-msgdb-path' instead of
920         `elmo-folder-msgdb-path'.
921
922 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
923
924         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
925         element of the difference is nil.
926
927 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
928
929         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
930         to the check logic of file systems which are weak in colon character.
931
932 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
933
934         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
935
936 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
937
938         * elmo-maildir.el (elmo-maildir-move-file): New function.
939         (elmo-folder-append-buffer): Use it.
940         (elmo-folder-append-messages): Ditto.
941         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
942
943         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
944         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
945
946         * elmo-maildir.el (elmo-maildir-separator): New user option.
947         (elmo-maildir-adjust-separator): New macro.
948         (elmo-maildir-list-location): Use it.
949         (elmo-maildir-update-current): Ditto.
950         (elmo-maildir-set-mark): Ditto.
951         (elmo-maildir-delete-mark): Ditto.
952         (These changes are based on Hiroya Murata's patch [wl: 13437])
953
954 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
955
956         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
957
958 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
959
960         * elmo-flag.el (elmo-flag-valid-p): Simplify.
961         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
962         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
963
964 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
965
966         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
967         Use `with-temp-buffer'.
968
969 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
970
971         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
972
973         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
974         `wl-read-search-condition').
975         (elmo-read-search-condition-internal): Likewise.
976
977         * elmo-flag.el (elmo-flag-char-regexp): New constant.
978         (elmo-flag-valid-p): New function.
979         (elmo-folder-initialize): Check flag name is valid.
980
981 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
982
983         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
984         delimiter to obtain root mailbox itself.
985
986 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
987
988         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
989         type mismatch.
990
991 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
992
993         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
994         as t.
995
996 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
997
998         * elmo-shimbun.el (toplevel): Require cl at compile.
999
1000         * elmo-nntp.el (toplevel): Ditto.
1001
1002         * elmo-nmz.el (toplevel): Ditto.
1003
1004         * elmo-multi.el (toplevel): Ditto.
1005
1006         * elmo-file.el (toplevel): Ditto.
1007
1008         * elmo-dop.el (toplevel): Ditto.
1009
1010         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1011
1012 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1013
1014         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1015         as nil.
1016
1017         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1018         size of elmo-message-fetch-internal is 0 byte.
1019
1020 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1021
1022         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1023
1024 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1025
1026         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1027         always plugged.
1028
1029 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1030
1031         * elmo-maildir.el (elmo-map-message-fetch): Call
1032         `elmo-map-folder-set-flag'.
1033
1034         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1035         (elmo-message-fetch): Merge from
1036         `elmo-message-fetch-with-cache-process'.
1037
1038         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1039         (elmo-message-fetch): Define.
1040
1041         * elmo-nntp.el (elmo-message-fetch): Renamed from
1042         `elmo-message-fetch-with-cache-process'.
1043
1044         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1045         (elmo-message-fetch): Define.
1046
1047         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1048         search-key.
1049
1050         * elmo-shimbun.el (shimbun-mua-search-id): Use
1051         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1052         (elmo-shimbun-folder-shimbun-header): Ditto.
1053         (elmo-shimbun-get-headers): Ditto.
1054         (elmo-shimbun-update-overview): Ditto.
1055
1056         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1057
1058         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1059         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1060
1061 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1062
1063         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1064         message is cached.
1065         (elmo-message-fetch-string): Fixed argument.
1066
1067 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1068
1069         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1070         exchange order of arguments `section' and `unread'.
1071         (elmo-message-encache): Follow the API change.
1072         (elmo-message-match-condition): Ditto.
1073         (elmo-generic-folder-append-messages): Ditto.
1074         (elmo-message-fetch-string): New function.
1075
1076         * elmo-split.el (elmo-split-subr): Ditto.
1077
1078         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1079
1080         * elmo-pipe.el (elmo-message-fetch): Ditto.
1081
1082         * elmo-multi.el (elmo-message-fetch): Ditto.
1083
1084         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1085
1086         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1087
1088         * elmo-filter.el (elmo-message-fetch): Ditto.
1089
1090         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1091
1092         * elmo-imap4.el (mime-imap-location-section-body): Use
1093         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1094         follow the API change.
1095
1096 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1097
1098         * elmo-access.el: New file.
1099
1100         * elmo-null.el: Ditto.
1101
1102         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1103
1104 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1105
1106         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1107         (elmo-network-session): New attribute `last-accessed'.
1108         (elmo-network-get-session): Discard network cache if elapsed time
1109         since last-accessed is larger than elmo-network-session-idle-timeout.
1110
1111 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1112
1113         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1114         and added `number', `require-entireness'.
1115         (elmo-find-fetch-strategy): Rewrite.
1116         (elmo-message-fetch): Unset `unread' flag when argument unread is
1117         non-nil.
1118
1119         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1120
1121         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1122         (elmo-message-fetch): Notify event `flag-changed'.
1123
1124         * elmo-pipe.el: Likewise.
1125
1126         * elmo-mime.el (elmo-mime-entity): New class.
1127         (elmo-mime-entity-display-p): New generic function.
1128         (elmo-mime-entity-display): Ditto.
1129         (elmo-mime-entity-display-as-is): Ditto.
1130         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1131         elmo-mime-entity.
1132         (elmo-make-mime-message-location): Removed.
1133         (elmo-mime-message-display): Ditto.
1134         (elmo-mime-display-as-is): Ditto.
1135         (elmo-message-mime-entity): New function.
1136
1137         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1138
1139         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1140         change.
1141         (elmo-message-fetch): Re-count flagged message number and notify
1142         event `flag-changed'.
1143
1144         * elmo-version.el (elmo-version): Up to 2.13.1.
1145
1146 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1147
1148         * elmo-filter.el (elmo-message-field): Define.
1149         (elmo-message-set-field): Ditto.
1150
1151 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1152
1153         * elmo.el (elmo-message-set-cached): Call
1154         `elmo-folder-notify-event' with cache-changed.
1155         (elmo-event-handler-cache-changed): New generic function.
1156
1157 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1158
1159         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1160         instead of elmo-add-name-to-file.
1161         (elmo-folder-append-messages): Ditto.
1162
1163 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1164
1165         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1166
1167 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1168
1169         * elmo-version.el (elmo-version): Up to 2.13.0.
1170
1171         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1172         `auto'.
1173
1174         * modb-standard.el (modb-standard-economize-entity-size): Changed
1175         default value to `t'.
1176
1177         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1178         `standard'.
1179
1180         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1181         after parsing greeting string.
1182
1183 2004-11-23  Daishi Kato <daishi@axlight.com>
1184
1185         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1186         New user option.
1187         (elmo-spam-spamoracle-call): Use it.
1188
1189 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1190
1191         * elmo.el (elmo-message-accessible-p): Message in dop spool
1192         is accessible.
1193
1194 2004-11-23  Daishi Kato <daishi@axlight.com>
1195
1196         * elsp-spamoracle.el: New file.
1197
1198 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1199
1200         * elmo.el (elmo-message-flags-for-append): New function.
1201         (elmo-generic-folder-append-messages): Use it.
1202
1203         * elmo-split.el (elmo-split-subr): Ditto.
1204
1205         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1206         `flags' and use elmo-folder-append-buffer instead of
1207         write-region-as-binary.
1208         (elmo-dop-filter-pending-messages): New function.
1209         (elmo-folder-append-buffer-dop): Call
1210         elmo-dop-spool-folder-append-buffer with `flag'.
1211         (elmo-folder-set-flag-dop): Filter messages by
1212         elmo-dop-filter-pending-messages.
1213         (elmo-folder-unset-flag-dop): Ditto.
1214         (elmo-folder-append-buffer-dop-delayed): Use
1215         elmo-message-flags-for-append to get flags of the message and
1216         simplify.
1217
1218 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1219
1220         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1221
1222 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1223
1224         * elmo.el (elmo-folder): Added handlers slot.
1225         (elmo-event-handler): New class.
1226         (elmo-event-handler-flag-changed): New API.
1227         (elmo-folder-add-handler): New function.
1228         (elmo-folder-remove-handler): Ditto.
1229         (elmo-folder-notify-event): Ditto.
1230         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1231         `flag-changed'.
1232         (elmo-folder-unset-flag): Ditto.
1233
1234         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1235         (elmo-folder-unset-flag): Ditto.
1236
1237         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1238         (elmo-folder-unset-flag): Ditto.
1239
1240         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1241         (elmo-folder-unset-flag): Ditto.
1242
1243         * elmo-version.el (elmo-version): Up to 2.11.33.
1244
1245 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1246
1247         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1248
1249 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1250
1251         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1252
1253         * elmo-flag.el (elmo-folder-unset-flag): Define.
1254         (elmo-global-flag-detach): Do process when the flag is not target
1255         flag.
1256
1257 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1258
1259         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1260         variable.
1261         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1262
1263 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1264
1265         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1266         function.
1267         (elmo-folder-delete-messages): Detach messages before delete
1268         messages from target folder.
1269         (elmo-folder-detach-messages): Set updated number-list to slot.
1270
1271 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1272
1273         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1274
1275 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1276
1277         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1278
1279 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1280
1281         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1282         internal use only).
1283         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1284         not modified.
1285         (elmo-folder-delete-messages): Define.
1286         (elmo-folder-move-messages): Don't call
1287         `elmo-folder-detach-messages'.
1288         (elmo-folder-synchronize): Rewrite.
1289         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1290
1291         * elmo-util.el (elmo-last): New function.
1292         (elmo-set-list): Ditto.
1293         (elmo-number-set-delete-list): Ditto.
1294         (elmo-number-set-delete): Ditto.
1295
1296         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1297
1298         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1299         `elmo-folder-delete-messages' and don't delete location map.
1300         (elmo-folder-detach-messages): Define.
1301
1302         * elmo-imap4.el (elmo-folder-delete): Use
1303         `elmo-folder-delete-messages-internal' instead of
1304         `elmo-folder-delete-messages'.
1305
1306         * elmo-filter.el (elmo-folder-delete-messages): Call
1307         `elmo-folder-detach-messages'.
1308         (elmo-folder-detach-messages): Don't call
1309         `elmo-folder-detach-messages' for target folder.
1310
1311         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1312         message deletion is succeeded.
1313
1314         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1315
1316         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1317         from `elmo-folder-delete-messages'.
1318
1319         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1320
1321         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1322
1323         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1324
1325         * elmo-version.el (elmo-version): Up to 2.11.32.
1326
1327 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1328
1329         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1330         (elmo-global-flag-list): Added obsolete variable setting.
1331
1332         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1333
1334         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1335         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1336         `elmo-mime-display-header-analysis' is nil.
1337
1338         * elmo-flag.el (elmo-global-flags): Renamed from
1339         `elmo-global-flag-list' (All other related portions are changed).
1340         (elmo-local-flags): New variable.
1341         (elmo-local-flag-p): New function.
1342         (elmo-global-flag-set-internal): Cause an error when flag is not
1343         global.
1344
1345 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1346
1347         * elmo-util.el (elmo-concat-path): Treat empty path.
1348
1349 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1350
1351         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1352         field-or-fields).
1353         (elmo-split-address-match): Ditto.
1354         (elmo-split-equal): Ditto.
1355         (elmo-split-match): Ditto.
1356
1357 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1358
1359         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1360         (elmo-generic-folder-append-messages): If src message exists but
1361         has no flag, pass (read) for the FLAG argument of
1362         `elmo-folder-append-buffer'. Otherwise, pass nil.
1363
1364         * elmo-split.el (elmo-split-subr): Likewise.
1365
1366         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1367
1368         * elmo-multi.el (elmo-message-flags): Ditto.
1369
1370         * elmo-filter.el (elmo-message-flags): Ditto.
1371
1372         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1373         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1374         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1375         
1376 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1377
1378         * elmo-split.el (elmo-split-rule): Update comment.
1379         (elmo-split-address-equal): Allow 2nd argument to be a list.
1380         (elmo-split-address-match): Ditto.
1381         (elmo-split-equal): Ditto.
1382         (elmo-split-match): Ditto.
1383
1384 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1385
1386         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1387         (elmo-folder-append-msgdb): Don't treat `read'.
1388         (elmo-message-flags): Don't return `read'.
1389
1390         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1391         (elmo-folder-unset-read-delayed): Ditto.
1392
1393         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1394
1395 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1396
1397         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1398         deletion.
1399
1400 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1401
1402         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1403         header.
1404
1405 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1406
1407         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1408         here.
1409         (elmo-msgdb-save): Bind inhibit-quit.
1410         (modb-standard-message-entity): Ditto.
1411
1412 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1413
1414         * elmo-database.el: No need to require elmo-msgdb.
1415
1416 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1417
1418         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1419         instead of `elmo-list-subdirectories'.
1420
1421 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1422
1423         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1424         group entry.
1425         (elmo-folder-exists-p): "[" is empty.
1426         (elmo-folder-list-subfolders): Define.
1427         (elmo-folder-have-subfolder-p): Ditto.
1428
1429 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1430
1431         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1432
1433 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1434
1435         * elmo-filter.el (elmo-folder-local-p): Define.
1436
1437 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1438
1439         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1440         when entity is garbaged.
1441         (modb-standard-save-entity-1): Don't modify the original entity.
1442
1443 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1444
1445         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1446
1447 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1448
1449         * elmo.el (elmo-strict-folder-diff): Use
1450         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1451
1452 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1453
1454         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1455         (elmo-msgdb-message-number): Ditto.
1456         (elmo-msgdb-message-field): Ditto.
1457
1458         * modb-standard.el (modb-standard-economize-entity-size): New user
1459         option.
1460         (modb-standard-loaded-message-id): New inline function.
1461         (modb-standard-load-entity): Use it.
1462         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1463         throw message-id string away.
1464         (elmo-msgdb-flag-available-p): Define.
1465         (elmo-msgdb-message-number): Ditto.
1466         (elmo-msgdb-message-field): Ditto.
1467
1468         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1469         (suppoted -> supported).
1470         (modb-legacy-supported-flag-p): Ditto.
1471         (elmo-msgdb-set-flag): Ditto.
1472         (elmo-msgdb-unset-flag): Ditto.
1473         (elmo-msgdb-flag-available-p): Define.
1474
1475         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1476         is `t', treat it as legacy entity.
1477         
1478         * elmo.el (elmo-message-flag-available-p): New generic function.
1479         (elmo-message-number): Ditto.
1480         (elmo-message-field): Use `elmo-msgdb-message-field'.
1481
1482         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1483
1484         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1485         (elmo-message-number): Ditto.
1486
1487         * elmo-multi.el (elmo-message-number): Define.
1488         (elmo-message-flag-available-p): Ditto.
1489
1490         * elmo-filter.el (elmo-message-flag-available-p): Define.
1491         (elmo-message-number): Ditto.
1492
1493         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1494         (elmo-folder-initialize): Load `max-number'.
1495         (elmo-folder-commit): Save it.
1496         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1497         (elmo-global-flag-set-internal): Set up max-number slot.
1498
1499 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1500
1501         * elmo-version.el (elmo-version): Up to 2.11.31.
1502
1503 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1504
1505         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1506         unibyte string of the current buffer for the argument of `md5'
1507         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1508
1509 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1510
1511         * modb-legacy.el (modb-legacy-flag-list): New constant.
1512         (modb-legacy-suppoted-flag-p): New internal function.
1513         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1514         (elmo-msgdb-unset-flag): Ditto.
1515
1516 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1517
1518         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1519
1520         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1521         from msgdb.
1522
1523 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1524
1525         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1526         (follow the API change).
1527
1528         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1529
1530 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1531
1532         * modb-standard.el (modb-standard-digest-flags): Abolish.
1533         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1534
1535         * elmo-vars.el (elmo-digest-flags): New variable.
1536         (elmo-preserved-flags): Moved from elmo-flag.el.
1537
1538         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1539         (elmo-imap4-flag-to-imap-criteria): Ditto.
1540         (elmo-imap4-folder-list-flagged): Use it.
1541
1542         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1543
1544         * elmo.el (elmo-folder-count-flags): Changed return value.
1545
1546         * elmo-flag.el (elmo-preserved-flags): New variable.
1547         (elmo-get-global-flags): Use it.
1548
1549         * modb-standard.el (modb-standard-digest-flags): New variable.
1550         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1551         Changed behavior of `any'.
1552
1553         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1554         which are defined the Internet draft
1555         (draft-melnikov-imap-keywords-03.txt).
1556         (elmo-imap4-flags-to-imap): New function.
1557         (elmo-folder-append-buffer): Use it.
1558
1559         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1560         in the docstring.
1561
1562         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1563         avoid the bug of Emacs 21.3.
1564
1565 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1566
1567         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1568         function find-coding-system does not exist.
1569
1570 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1571
1572         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1573         parsing.
1574
1575 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1576
1577         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1578         response codes.
1579
1580 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1581
1582         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1583         (elmo-network-close-session): Follow the changes in
1584         `elmo-pop3-read-response'.
1585         (elmo-pop3-auth-user): Ditto.
1586         (elmo-pop3-auth-apop): Ditto.
1587         (elmo-network-initialize-session): Ditto.
1588         (elmo-network-authenticate-session): Ditto.
1589         (elmo-network-setup-session): Ditto.
1590         (elmo-folder-status): Ditto.
1591         (elmo-message-fetch-plugged): Ditto.
1592         (elmo-pop3-delete-msg): Ditto.
1593
1594 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1595
1596         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1597         on failure.
1598
1599 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1600
1601         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1602         style.
1603         (elmo-bind-directory): Ditto.
1604
1605 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1606
1607         * elmo.el (elmo-folder-append-messages): Note on return value.
1608         * elmo-archive.el (elmo-folder-append-messages): Don't return
1609         message numbers which could not be appended.
1610
1611 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1612
1613         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1614
1615 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1616
1617         * elmo-version.el (elmo-version): Up to 2.11.30.
1618
1619 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1620
1621         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1622         `mask'.
1623
1624         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1625
1626         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1627         (elmo-multi-split-numbers): Add elmo-folder object into each
1628         element of return value at first.
1629         (elmo-folder-delete-messages): Follow the above change.
1630         (elmo-folder-detach-messages): Ditto.
1631
1632         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1633         number which is synchronized in target folder.
1634
1635 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1636
1637         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1638         Change default value to symbol `all'.
1639         (elmo-map-message-fetch): Change condition to update overview
1640         follow the above.
1641
1642 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1643
1644         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1645         behavior to update overview.
1646         (elmo-shimbun-update-overview-folder-list): Note it.
1647
1648 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1649
1650         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1651         recursive call.
1652
1653 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1654
1655         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1656         buffer-disable-undo, it is unnecessary.
1657         (elmo-spam-register-good-messages): Ditto.
1658
1659         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1660         Ditto.
1661
1662         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1663
1664 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1665
1666         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1667         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1668         elmo-set-buffer-multibyte.
1669         (elmo-object-load): Ditto.
1670         (elmo-save-buffer): Ditto.
1671         (elmo-delete-char): Ditto.
1672         (elmo-file-field-primitive-condition-match): Ditto.
1673         (elmo-mime-string): Ditto.
1674
1675         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1676         (elmo-archive-field-condition-match): Ditto.
1677
1678         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1679
1680         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1681
1682         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1683         (elmo-nntp-msgdb-create-message): Ditto.
1684
1685         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1686
1687         * elmo.el (elmo-message-match-condition): Ditto.
1688         (elmo-message-match-condition): Ditto.
1689
1690         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1691         Ditto.
1692
1693         * elmo-version.el (elmo-version): Up to 2.11.29.
1694
1695         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1696         (elsp-header): New backend.
1697
1698         * elmo-util.el (elmo-decoded-field-body): New function.
1699
1700 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1701
1702         * elmo-version.el (elmo-version): Up to 2.11.28.
1703
1704 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1705
1706         * elmo-filter.el: Rewrite.
1707
1708         * elmo-version.el (elmo-version): Up to 2.11.27.
1709
1710 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1711
1712         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1713         msgdb path for the localdir folder with absolute path.
1714
1715         * utf7.el: Synch up with latest gnus/utf7.el;
1716         Modified for latest Emacs.
1717
1718 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1719
1720         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1721         shimbun backend couldn't open.
1722
1723 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
1724
1725         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1726         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1727         when a destination folder is a filter folder.
1728
1729 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1730
1731         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1732         (elmo-generic-folder-append-messages): Call elmo-message-flags
1733         with argument `msgid'.
1734
1735         * elmo-split.el (elmo-split-subr): Ditto.
1736
1737         * elmo-pipe.el (elmo-message-flags): Follow the API change.
1738
1739         * elmo-multi.el (elmo-message-flags): Ditto.
1740
1741 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1742
1743         * elmo.el (elmo-folder): Add new slot `flag-table'.
1744         (elmo-folder-flag-table): New API.
1745         (elmo-folder-close-flag-table): Ditto.
1746         (elmo-folder-preserve-flags): New function.
1747         (elmo-generic-folder-append-messages): Use
1748         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1749         Flag of a non-registered message, it sets to nil.
1750         Does not set flag to flag-table.
1751
1752         * elmo-maildir.el (elmo-folder-append-buffer): Use
1753         `elmo-folder-preserve-flags'.
1754         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1755         `elmo-folder-close-flag-table'.
1756
1757         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1758         (elmo-archive-folder-append-buffer): Use
1759         `elmo-folder-preserve-flags'.
1760
1761         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1762
1763         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1764
1765         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1766         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1767         `elmo-folder-close-flag-table'.
1768
1769         * elmo-version.el (elmo-version): Up to 2.11.26.
1770
1771 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1772
1773         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1774
1775         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1776         md5's 4th and 5th argument (non-existent in flim one).
1777
1778 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1779
1780         * elmo-split.el (elmo-split-subr): Flag of a non-registered
1781         message, It sets to nil.
1782
1783 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1784
1785         * elmo.el (elmo-folder-list-messages): Merge lists only if both
1786         list is non-nil.
1787
1788 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
1789
1790         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1791
1792         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1793
1794         * elmo-util.el (elmo-uniq-sorted-list): New function.
1795         (elmo-make-number-list): Ditto.
1796         (elmo-number-set-to-number-list): Use elmo-make-number-list
1797         and don't use nreverse.
1798
1799 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1800
1801         * elmo-version.el (elmo-version): Up to 2.11.25.
1802
1803 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1804
1805         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1806         field not exists in message, Use md5 message digest of header.
1807
1808 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1809
1810         * elmo.el (elmo-folder-append-buffer): Add note on return value.
1811         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1812         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1813         * elmo-split.el (elmo-split-subr): Check return value of
1814         elmo-folder-append-buffer.
1815
1816         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1817         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1818
1819         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1820         message-id.
1821
1822 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
1823
1824         * elmo-split.el (elmo-split-subr): Append message with flag.
1825
1826         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1827         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1828         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1829
1830 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
1831
1832         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1833         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1834         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1835
1836 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
1837
1838         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1839         with a function call of `process-buffer'.  All callers are updated.
1840         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
1841         Remove redundant `set-buffer' in a while loop.
1842
1843 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
1844
1845         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1846         calls.
1847
1848 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1849
1850         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1851         elsp-spamfilter-register-buffer-internal with current buffer.
1852         (elmo-spam-register-spam-buffer): Ditto.
1853         (elmo-spam-register-good-buffer): Ditto.
1854
1855 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1856
1857         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1858         if it is not contained in the response(A workaround for courier-imap).
1859
1860 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1861
1862         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1863         parenthesis.
1864
1865 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
1866
1867         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1868         range.
1869
1870 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1871
1872         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1873         of nconc.
1874
1875         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1876         argument handler.
1877         (elmo-msgdb-message-match-condition): Follow the change above.
1878
1879 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1880
1881         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1882         folder name.
1883
1884 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1885
1886         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1887
1888 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1889
1890         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1891
1892 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1893
1894         * elmo-file.el (elmo-file-find): Fixed the problem when file is
1895         not found.
1896
1897 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
1898
1899         * elmo-file.el (elmo-file-find): Use expand-file-name for return
1900         value.
1901         (elmo-file-command-argument): Undo last change for cygwin.
1902         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1903         Don't return nil.
1904         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1905
1906 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1907
1908         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1909         value returned from elmo-file-find is nil.
1910
1911 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
1912
1913         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1914         to elmo-vars.el.
1915
1916         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1917         instead of insert-file-contents-as-binary.
1918         (elmo-message-set-field): New generic function.
1919
1920         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1921         behavior change on `split-string'.
1922
1923         * elmo-file.el (elmo-file-find): New function.
1924         (elmo-file-command): New user option.
1925         (elmo-file-command-argument): Ditto.
1926         (elmo-file-fetch-max-size): Ditto.
1927         (elmo-file-detect-format): New function.
1928         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1929         Use elmo-file-detect-format.
1930         (elmo-map-folder-list-message-locations): Don't treat directories.
1931
1932 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1933
1934         * elmo-util.el (elmo-string-partial-p): Removed unused function.
1935         (elmo-passwd-alist-clear): Shred password before clear.
1936         (elmo-remove-passwd): Remove all mached pair.
1937
1938 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1939
1940         * elmo.el (elmo-folder-synchronize): Fix description of the return
1941         value.
1942
1943 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1944
1945         * elmo.el (elmo-message-fetch-bodystructure): New method.
1946         (elmo-message-fetch-bodystructure): Define default.
1947
1948         * elmo-imap4.el (mime-imap-location-bodystructure): Call
1949         elmo-message-fetch-bodystructure.
1950         (elmo-message-fetch-bodystructure): Define.
1951
1952         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1953
1954 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
1955
1956         * elmo-filter.el (elmo-message-folder): Define.
1957
1958 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
1959
1960         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1961         elmo-delete-cr-buffer.
1962
1963         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1964
1965         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1966
1967         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1968
1969         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1970         type seems to be a text.
1971
1972 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
1973
1974         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1975         (elmo-spam-register-good-buffer): Ditto.
1976         (elmo-spam-spamassassin-register-messages): Ditto.
1977
1978         * elmo-util.el (elmo-string-member-ignore-case): Define with
1979         static-cond.
1980
1981 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
1982
1983         * elmo.el (elmo-folder-type): Undo last change.
1984
1985         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1986
1987         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1988         warnings.
1989
1990         * elmo-file.el: New file.
1991         
1992         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1993
1994         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1995         variable.
1996         (elmo-spam-spamassassin-register-messages): New inline function.
1997         (elmo-spam-register-spam-messages): Define.
1998         (elmo-spam-register-good-messages): Ditto.
1999
2000         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2001         Fixed typo.
2002
2003         * elmo.el (toplevel): Added autoload setting for
2004         `elmo-get-global-flags'.
2005         (elmo-message-has-global-flag-p): New function.
2006         (elmo-message-set-global-flags): Ditto.
2007         (elmo-folder-type): Improvement for name: format.
2008
2009         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2010         availability of keyword flags.
2011         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2012         (elmo-folder-list-flagged-plugged): Renamed from
2013         elmo-folder-list-flagged-unplugged.
2014         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2015         accept any flag as keyword flag.
2016         (elmo-folder-set-flag-plugged): Accept keyword flags.
2017         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2018
2019         * elmo-flag.el (elmo-get-global-flags): New function.
2020
2021         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2022         folders.
2023
2024         * elmo-version.el (elmo-version): Up to 2.11.24.
2025
2026 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2027
2028         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2029         elmo-multiple-field-body instead of std11-field-body to check all
2030         headers.
2031
2032 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2033
2034         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2035         or "size".
2036
2037 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2038
2039         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2040         unintern is unbound.
2041
2042 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2043
2044         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2045         Protect from infinite loop.
2046
2047 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2048
2049         * elsp-bogofilter.el
2050         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2051         (elmo-spam-bogofilter-register-messages): New internal function.
2052         (elmo-spam-register-spam-messages): Define.
2053         (elmo-spam-register-good-messages): Ditto.
2054
2055 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2056
2057         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2058         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2059         (elmo-spam-bogofilter-call): Fixed the last change.
2060         (elmo-spam-bogofilter-arguments): Ditto.
2061
2062         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2063         Follow the options change of latest bogofilter.
2064
2065         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2066         (elmo-spam-bogofilter-good-switch): Ditto.
2067         (elmo-spam-bogofilter-arguments-alist): New user option.
2068         (elmo-spam-bogofilter-debug): Ditto.
2069         (elmo-spam-bogofilter-call): Renamed from
2070         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2071         is non-nil, insert output in buffer for debug.
2072         (elmo-spam-bogofilter-arguments): New macro.
2073         (elmo-spam-buffer-spam-p): Use it.
2074         (elsp-bogofilter-register-buffer): Ditto.
2075
2076 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2077
2078         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2079         regexp.
2080
2081 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2082
2083         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2084         value as "ruby".
2085         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2086         (elmo-spam-bsfilter-program): Set default value as full path for
2087         `bsfilter'.
2088         (elmo-spam-bsfilter-debug): New user option.
2089         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2090         non-nil, insert output in buffer for debug. Fix treating of
2091         argument.
2092
2093 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2094
2095         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2096         `elmo-maildir-flag-specs' element instead of one.
2097         (elmo-map-folder-unset-flag): Ditto.
2098         (Reported by Ken Makimura <macky@astem.or.jp>)
2099
2100         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2101         (elmo-folder-unset-flag-plugged): Ditto.
2102
2103 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2104
2105         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2106         to `reads' slot only if `in-msgdb' is nil.
2107
2108 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2109
2110         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2111         and complement argument list.
2112
2113 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2114
2115         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2116         instead of elmo-folder-list-flagged.
2117
2118 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2119
2120         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2121
2122         * elsp-bsfilter.el: New file.
2123
2124         * elmo-pipe.el (elmo-folder-list-unreads,
2125         elmo-folder-list-answereds,
2126         elmo-folder-list-importants,
2127         elmo-folder-flag-as-important,
2128         elmo-folder-unflag-important,
2129         elmo-folder-flag-as-read,
2130         elmo-folder-unflag-read,
2131         elmo-folder-flag-as-answered,
2132         elmo-folder-unflag-answered): Remove.
2133         (elmo-folder-set-flag): Define.
2134         (elmo-folder-unset-flag): Ditto.
2135
2136         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2137         (elmo-folder-set-flag): Define.
2138         (elmo-folder-unset-flag): Ditto.
2139         (elmo-folder-list-unreads): Remove.
2140         (elmo-folder-list-flagged): Define.
2141
2142         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2143         (elmo-folder-list-unreads,
2144         elmo-folder-list-importants,
2145         elmo-folder-list-answereds,
2146         elmo-folder-list-unreads-plugged,
2147         elmo-folder-list-importants-plugged,
2148         elmo-folder-list-answereds-plugged): Remove.
2149         (elmo-folder-list-flagged-plugged): New method.
2150         (elmo-folder-unflag-important,
2151         elmo-folder-flag-as-important,
2152         elmo-folder-unflag-read,
2153         elmo-folder-flag-as-read,
2154         elmo-folder-unflag-answered,
2155         elmo-folder-flag-as-answered,
2156         elmo-folder-flag-as-read-unplugged,
2157         elmo-folder-unflag-read-unplugged,
2158         elmo-folder-flag-as-important-unplugged,
2159         elmo-folder-unflag-important-unplugged,
2160         elmo-folder-flag-as-answered-unplugged,
2161         elmo-folder-unflag-answered-unplugged): Remove.
2162         (elmo-folder-set-flag): Define.
2163         (elmo-folder-unset-flag): Ditto.
2164         (elmo-folder-set-flag-unplugged): Ditto.
2165         (elmo-folder-unset-flag-unplugged): Ditto.
2166
2167         * elmo-multi.el (elmo-folder-list-unreads,
2168         elmo-folder-list-answereds,
2169         elmo-folder-list-importants,
2170         elmo-folder-flag-as-important,
2171         elmo-folder-unflag-important,
2172         elmo-folder-flag-as-read,
2173         elmo-folder-unflag-read,
2174         elmo-folder-flag-as-answered,
2175         elmo-folder-unflag-answered): Remove.
2176         (elmo-folder-set-flag): Define.
2177         (elmo-folder-unset-flag): Ditto.
2178
2179         * elmo-map.el (elmo-map-folder-unflag-important,
2180         elmo-map-folder-flag-as-important,
2181         elmo-map-folder-unflag-read,
2182         elmo-map-folder-flag-as-read,
2183         elmo-map-folder-unflag-answered,
2184         elmo-map-folder-flag-as-answered): Remove.
2185         (elmo-map-folder-set-flag): New method.
2186         (elmo-map-folder-unset-flag): Ditto.
2187         (elmo-map-folder-list-unreads,
2188         elmo-map-folder-list-importants,
2189         elmo-map-folder-list-answereds): Remove.
2190         (elmo-folder-list-flagged-internal): Define.
2191         (elmo-map-folder-list-flagged): New method.
2192
2193         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2194         (elmo-map-folder-list-unreads,
2195         elmo-map-folder-list-importants,
2196         elmo-map-folder-list-flagged): Remove.
2197         (elmo-map-folder-list-flagged): Define.
2198         (elmo-map-folder-flag-as-important,
2199         elmo-map-folder-unflag-important,
2200         elmo-map-folder-flag-as-read,
2201         elmo-map-folder-unflag-read,
2202         elmo-map-folder-flag-as-answered,
2203         elmo-map-folder-unflag-answered): Remove.
2204         (elmo-maildir-set-mark-messages): New internal function.
2205         (elmo-map-folder-set-flag): Define.
2206         (elmo-map-folder-unset-flag): Ditto.
2207
2208         * elmo.el (toplevel): Added autoload setting for
2209         `elmo-folder-list-global-flag-messages'.
2210         (elmo-folder-list-unreads,
2211         elmo-folder-list-importants,
2212         elmo-folder-list-answereds): Remove.
2213         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2214         Return a list whitch merged with messages have global flag.
2215         (elmo-folder-list-flagged-internal): New method.
2216         (elmo-folder-unflag-important,
2217         elmo-folder-flag-as-important,
2218         elmo-folder-unflag-read,
2219         elmo-folder-flag-as-read,
2220         elmo-folder-unflag-answered,
2221         elmo-folder-flag-as-answered): Remove.
2222         (elmo-folder-set-flag): New method.
2223         (elmo-folder-unset-flag): Ditto.
2224         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2225         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2226
2227         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2228         (elmo-folder-list-unreads-plugged,
2229         elmo-folder-list-importants-plugged,
2230         elmo-folder-list-answereds-plugged,
2231         elmo-folder-list-flagged-unplugged,
2232         elmo-folder-unflag-important-plugged,
2233         elmo-folder-flag-as-important-plugged,
2234         elmo-folder-unflag-read-plugged,
2235         elmo-folder-flag-as-read-plugged,
2236         elmo-folder-unflag-answered-plugged,
2237         elmo-folder-flag-as-answered-plugged): Remove.
2238         (elmo-folder-set-flag-plugged,
2239         elmo-folder-unset-flag-plugged): Define.
2240
2241         * elmo-flag.el (elmo-folder-initialize): Register to
2242         `elmo-global-flag-list' if flag is not global.
2243         (elmo-folder-append-messages): Set flag to source messages.
2244
2245         * elmo-filter.el (elmo-filter-folder-list-unreads,
2246         elmo-folder-list-unreads,
2247         elmo-filter-folder-list-importants,
2248         elmo-folder-list-importants,
2249         elmo-folder-flag-as-read,
2250         elmo-folder-unflag-read,
2251         elmo-folder-flag-as-important,
2252         elmo-folder-unflag-important,
2253         elmo-folder-flag-as-answered,
2254         elmo-folder-unflag-answered): Remove.
2255         (elmo-folder-set-flag): Define.
2256         (elmo-folder-unset-flag): Ditto.
2257
2258         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2259         elmo-folder-unflag-read-dop,
2260         elmo-folder-flag-as-important-dop,
2261         elmo-folder-unflag-important-dop,
2262         elmo-folder-flag-as-answered-dop,
2263         elmo-folder-unflag-answered-dop): Remove.
2264         (elmo-folder-set-flag-dop,
2265         elmo-folder-unset-flag-dop,
2266         elmo-folder-set-important-delayed,
2267         elmo-folder-unset-important-delayed,
2268         elmo-folder-set-read-delayed,
2269         elmo-folder-unset-read-delayed,
2270         elmo-folder-set-answered-delayed,
2271         elmo-folder-unset-answered-delayed): New function.
2272         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2273         (elmo-dop-queue-method-name-alist): Ditto.
2274
2275         * elmo-version.el (elmo-version): Up to 2.11.23.
2276
2277 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2278
2279         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2280
2281         * elsp-sa.el: New file.
2282
2283 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2284
2285         * modb-standard.el (modb-standard-message-entity): New function.
2286         (elmo-msgdb-message-entity): Use it.
2287
2288 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2289
2290         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2291         behavior when one-level is nil.
2292
2293         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2294
2295         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2296
2297 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2298
2299         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2300         get max number.
2301         (elmo-generic-folder-diff): Ditto.
2302
2303         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2304         (elmo-folder-update-number): Ditto.
2305
2306         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2307         (elmo-folder-next-message-number-dop): Ditto.
2308
2309 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2310
2311         * elmo-filter.el (elmo-folder-msgdb-create): Use
2312         `elmo-message-entity' and `elmo-message-flags' instead of
2313         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2314
2315 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2316
2317         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2318         `if-exists'.
2319
2320 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2321
2322         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2323
2324         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2325
2326         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2327
2328 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2329
2330         * elmo-version.el (elmo-version): Up to 2.11.22.
2331
2332 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2333
2334         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2335
2336 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2337
2338         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2339         if the message dose not exist.
2340
2341 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2342
2343         * elmo-version.el (elmo-version): Up to 2.11.21.
2344
2345 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2346
2347         * modb-standard.el (toplevel): Don't require mime.
2348
2349 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2350
2351         * elsp-bogofilter.el (toplevel): Don't require path-util.
2352         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2353         (elmo-spam-bogofilter-header): Abolish.
2354         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2355         (elmo-spam-bogofilter-args): New user option.
2356         (elsp-bogofilter-call-bogofilter): New internal function.
2357         (elmo-spam-buffer-spam-p): Use it.
2358         (elsp-bogofilter-register-buffer): Renamed from
2359         `elmo-spam-bogofilter-register-buffer';
2360         Use `elsp-bogofilter-call-bogofilter'.
2361         (elmo-spam-register-spam-buffer): Follow the change above.
2362         (elmo-spam-register-good-buffer): Ditto.
2363
2364 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2365
2366         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2367         message-id is nil do nothing.
2368
2369 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2370
2371         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2372         Revival.
2373         (elmo-imap4-session): Removed use-flag slot.
2374         (elmo-imap4-session-select-mailbox): Undo last change.
2375         (elmo-folder-use-flag-p): Use
2376         elmo-imap4-disuse-server-flag-mailbox-regexp.
2377
2378 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2379
2380         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2381         (elmo-imap4-session-select-mailbox): Set it up.
2382         (elmo-folder-use-flag-p): Return value of use-flag slot.
2383
2384 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2385
2386         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2387         message-id is nil.
2388         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2389
2390         * modb-entity.el (elmo-message-entity-handler): Likewise.
2391
2392 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2393
2394         * elmo.el (toplevel): Remove setting of autoloding for
2395         elmo-global-flag-initialize.
2396         (elmo-init): Don't call elmo-global-flag-initialize.
2397         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2398
2399         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2400         (elmo-global-mark-migrate): Don't call it.
2401         (elmo-global-mark-upgrade): Ditto.
2402
2403 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2404
2405         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2406         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2407
2408         * elmo-vars.el (elmo-init-hook): New user option.
2409
2410         * elmo.el (elmo-init): Run the elmo-init-hook.
2411
2412         * elmo-flag.el (elmo-global-mark-migrate): New function.
2413
2414 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2415
2416         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2417         Undo last change (move to elmo-msgdb-unset-flag).
2418         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2419         flag is unset.
2420
2421 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2422
2423         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2424         read flag is set.
2425         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2426         (elmo-msgdb-unset-flag): Ditto.
2427
2428 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2429
2430         * elmo-split.el (elmo-split): Return split message count.
2431
2432 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2433
2434         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2435         is nil.
2436
2437 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2438
2439         * elmo.el (elmo-folder-unflag-important): Call
2440         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2441         a symbol `always'.
2442
2443         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2444         before unset flag.
2445         (elmo-global-flag-detach): Delete the message from flag folder, if
2446         `delete-if-none' is a symbol `always'.
2447
2448 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2449
2450         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2451         `elmo-spam-spamfilter-decode-buffer'.
2452         (elsp-spamfilter-register-buffer-internal): New internal function.
2453         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2454         (elmo-spam-register-spam-buffer): Ditto.
2455         (elmo-spam-register-good-buffer): Ditto.
2456
2457         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2458         change.
2459         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2460         (elmo-spam-register-spam-buffer): Follow the API change.
2461         (elmo-spam-register-good-buffer): Ditto.
2462
2463         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2464         (elmo-split-spam-p): Added argument plist; Call
2465         `elmo-spam-buffer-spam-p' with new argument register.
2466
2467         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2468         `register'.
2469         (elmo-spam-message-spam-p): Ditto.
2470         (elmo-spam-register-spam-buffer): Added optional argument
2471         `restore'.
2472         (elmo-spam-register-good-buffer): Ditto.
2473         (elmo-spam-register-spam-messages): Ditto.
2474         (elmo-spam-register-good-messages): Ditto.
2475
2476 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2477
2478         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2479         register into good corpus.
2480         (elmo-spam-register-good-buffer): Fixed to register into bad
2481         corpus.
2482
2483 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2484
2485         * elmo-version.el (elmo-version): Up to 2.11.20.
2486
2487         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2488         change.
2489
2490         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2491         flag without depending on \Recent flag.
2492
2493 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2494
2495         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2496         (elmo-spam-modified-p): Defined.
2497         (elmo-spam-save-status): Set `modified' slot to nil.
2498         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2499         (elmo-spam-register-good-buffer): Ditto.
2500
2501         * elmo-spam.el (elmo-spam-modified-p): New API.
2502
2503 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2504
2505         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2506         duplicate definition.
2507
2508         * elmo-util.el (elmo-unfold-field-body): New function.
2509         (elmo-msgdb-get-message-id-from-buffer): Use it.
2510
2511         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2512         Fixed the last change; Use elmo-unfold-field-body.
2513
2514 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2515
2516         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2517         Unfold date value.
2518
2519 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2520
2521         * elmo-spam.el (elmo-spam-save-status): New API.
2522
2523         * elsp-spamfilter.el: New file.
2524
2525 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2526
2527         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2528
2529 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2530
2531         * elmo-split.el (elmo-split-spam-p): New function.
2532
2533         * elmo-spam.el: New file.
2534
2535         * elsp-bogofilter.el: Ditto.
2536
2537 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2538
2539         * elmo.el (elmo-folder-next-message-number): New API.
2540         (elmo-folder-next-message-number): Define.
2541         (elmo-message-field): Don't check folder length.
2542
2543         * elmo-net.el (elmo-folder-next-message-number): Define.
2544         (elmo-folder-next-message-number-unplugged): Define.
2545
2546         * elmo-map.el (elmo-folder-next-message-number): Define.
2547         (elmo-folder-delete-messages): Clear hash value.
2548
2549         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2550
2551         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2552         (elmo-folder-delete-messages-dop-delayed): Always return t.
2553
2554         * elmo-version.el (elmo-version): Up to 2.11.19.
2555
2556 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2557
2558         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2559         change.
2560
2561         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2562         identical cons cell into the mark-alist and the hash table.
2563
2564 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2565
2566         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2567         elmo-folder-list-messages with argument `visible-only' as t.
2568
2569         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2570         (elmo-folder-msgdb-create): Check the target folder.
2571
2572 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2573
2574         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2575         `permanentflag' instead of `flags'.
2576         (elmo-folder-open): Ditto.
2577         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2578         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2579         (elmo-folder-use-flag-p): Always return t.
2580         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2581         `permanentflags' does not exist.
2582         (elmo-folder-open): Ditto.
2583
2584 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2585
2586         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2587         is nil.
2588         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2589
2590         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2591         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2592         response.
2593         (elmo-folder-open): Ditto.
2594         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2595         slot of the session includes the flag.
2596         (elmo-imap4-session-flag-available-p): New function.
2597         (elmo-imap4-folder-list-flagged): Ditto.
2598         (elmo-folder-list-unreads-plugged): Use it.
2599         (elmo-folder-list-importants-plugged): Ditto.
2600         (elmo-folder-list-answereds-plugged): Ditto.
2601         (elmo-imap4-search-internal-primitive): Ditto.
2602         (elmo-imap4-folder-list-any-plugged,
2603         elmo-imap4-folder-list-digest-plugged): Abolish.
2604
2605         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2606         if numbers is nil.
2607
2608 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2609
2610         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2611
2612 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2613
2614         * elmo-util.el (elmo-get-hash-val): Simplify.
2615         (elmo-set-hash-val): Rewrite.
2616
2617 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2618
2619         * elmo.el (elmo-folder-list-messages): Append killed messages into
2620         result if `visible-only' is nil and `in-msgdb' is non-nil.
2621
2622         * elmo-util.el (elmo-uniq-list): Added optional argument
2623         `delete-function'.
2624
2625         * modb.el (elmo-msgdb-flag-count): New API.
2626
2627         * modb-standard.el (modb-standard): Added slot flag-count.
2628         (modb-standard-countup-flags): New function.
2629         (modb-standard-load-flag): Call it.
2630         (elmo-msgdb-append): Ditto.
2631         (elmo-msgdb-clear): Clear slot flag-count.
2632         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2633         (elmo-msgdb-unset-flag): Treat `all' flag and call
2634         modb-standard-countup-flags.
2635         (elmo-msgdb-flag-count): Define.
2636         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2637         (elmo-msgdb-delete-messages): Ditto.
2638
2639         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2640         (elmo-msgdb-flag-count): Define.
2641
2642         * elmo.el (elmo-folder-list-messages): Undo last change.
2643         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2644         (elmo-folder-kill-messages): Unset all flags to numbers.
2645
2646         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2647         elmo-folder-kill-messages.
2648
2649         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2650         (elmo-nntp-folder-delete-messages): Abolish.
2651
2652         * elmo-version.el (elmo-version): Up to 2.11.18.
2653
2654 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2655
2656         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2657         (elmo-folder-kill-messages-range): New function.
2658         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2659         instead of elmo-folder-kill-messages-before.
2660
2661 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2662
2663         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2664         elmo-imap4-current-msgdb to decide entity handler.
2665
2666 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2667
2668         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2669
2670         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2671         inline function.
2672         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2673         (elmo-msgdb-overview-entity-set-number,
2674         elmo-msgdb-overview-entity-get-references,
2675         elmo-msgdb-overview-entity-set-references,
2676         elmo-msgdb-overview-entity-get-from-no-decode,
2677         elmo-msgdb-overview-entity-get-from,
2678         elmo-msgdb-overview-entity-set-from,
2679         elmo-msgdb-overview-entity-get-subject,
2680         elmo-msgdb-overview-entity-get-subject-no-decode,
2681         elmo-msgdb-overview-entity-set-subject,
2682         elmo-msgdb-overview-entity-get-date,
2683         elmo-msgdb-overview-entity-set-date,
2684         elmo-msgdb-overview-entity-get-to,
2685         elmo-msgdb-overview-entity-get-cc,
2686         elmo-msgdb-overview-entity-get-size,
2687         elmo-msgdb-overview-entity-set-size,
2688         elmo-msgdb-overview-entity-get-extra,
2689         elmo-msgdb-overview-entity-set-extra,
2690         elmo-msgdb-overview-entity-get-extra-field,
2691         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2692         (elmo-msgdb-make-index): Use
2693         `elmo-msgdb-overview-entity-get-number-internal'.
2694         (elmo-msgdb-clear-index): Ditto.
2695         (elmo-msgdb-append-entity): Ditto;
2696         Use `elmo-msgdb-overview-entity-get-id-internal'.
2697
2698         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2699         elmo-msgdb-overview-entity-set-number,
2700         elmo-msgdb-overview-entity-get-references,
2701         elmo-msgdb-overview-entity-set-references,
2702         elmo-msgdb-overview-entity-get-from-no-decode,
2703         elmo-msgdb-overview-entity-get-from,
2704         elmo-msgdb-overview-entity-set-from,
2705         elmo-msgdb-overview-entity-get-subject,
2706         elmo-msgdb-overview-entity-get-subject-no-decode,
2707         elmo-msgdb-overview-entity-set-subject,
2708         elmo-msgdb-overview-entity-get-date,
2709         elmo-msgdb-overview-entity-set-date,
2710         elmo-msgdb-overview-entity-get-to,
2711         elmo-msgdb-overview-entity-get-cc,
2712         elmo-msgdb-overview-entity-get-size,
2713         elmo-msgdb-overview-entity-set-size,
2714         elmo-msgdb-overview-entity-get-extra,
2715         elmo-msgdb-overview-entity-set-extra,
2716         elmo-msgdb-overview-entity-get-extra-field,
2717         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2718         and rewrote for backward compatibility.
2719
2720 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2721
2722         * elmo.el (elmo-message-entity-number,
2723         elmo-message-entity-set-number,
2724         elmo-message-entity-field,
2725         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2726
2727         * elmo-msgdb.el (elmo-message-entity-number,
2728         elmo-message-entity-set-number,
2729         elmo-message-entity-field,
2730         elmo-message-entity-set-field): Moved from elmo.el.
2731
2732 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2733
2734         * elmo.el (toplevel): Changed definition orders.
2735
2736 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2737
2738         * modb.el (elmo-msgdb-search): New API .
2739         (elmo-msgdb-match-condition): Ditto.
2740
2741         * modb-standard.el (elmo-msgdb-search): Define.
2742
2743         * modb-legacy.el (elmo-msgdb-search): Ditto.
2744
2745         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2746         from elmo-msgdb-match-condition-internal.
2747
2748         * elmo.el (elmo-folder-search-fast): Abolish.
2749         (elmo-folder-search): Use elmo-msgdb-search and
2750         elmo-with-progress-display.
2751
2752         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2753         as msgdb API.
2754
2755         * elmo.el (elmo-folder): Remove slot message-modified and
2756         flag-modified.
2757         (elmo-folder-set-message-modified): Abolish.
2758         (elmo-generic-folder-commit): Follow the change above.
2759         (elmo-folder-synchronize): Ditto.
2760
2761         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2762
2763         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2764
2765         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2766
2767 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2768
2769         * modb-standard.el (modb-standard-make-message-entity,
2770         elmo-msgdb-make-message-entity,
2771         elmo-msgdb-create-message-entity-from-buffer,
2772         elmo-msgdb-message-entity-number,
2773         elmo-msgdb-message-entity-set-number,
2774         elmo-msgdb-message-entity-field,
2775         elmo-msgdb-message-entity-set-field,
2776         elmo-msgdb-copy-message-entity,
2777         elmo-msgdb-match-condition-internal): Remove.
2778
2779         * modb-entity.el: New file (again).
2780
2781         * modb.el (toplevel): Require modb-entity.
2782         (elmo-msgdb-message-entity-handler): New method.
2783
2784         * modb-standard.el (modb-standard-entity-id): Use
2785         elmo-message-entity-handler.
2786         (modb-standard-load-entity): Ditto.
2787         (elmo-msgdb-append-entity): Ditto.
2788         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2789
2790         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2791         elmo-msgdb-decoded-cache-hashtb,
2792         (modb-legacy-make-message-entity,
2793         elmo-msgdb-make-message-entity,
2794         elmo-msgdb-create-message-entity-from-buffer,
2795         elmo-msgdb-message-entity-number,
2796         elmo-msgdb-message-entity-set-number,
2797         elmo-msgdb-message-entity-field,
2798         elmo-msgdb-message-entity-set-field,
2799         elmo-msgdb-copy-message-entity,
2800         elmo-msgdb-match-condition-internal,
2801         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2802
2803         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2804         (elmo-message-entity-set-number): Ditto.
2805         (elmo-message-entity-field): Ditto.
2806         (elmo-message-entity-set-field): Ditto.
2807
2808         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2809
2810         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2811
2812         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2813
2814         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2815         (elmo-nntp-msgdb-create-message): Ditto.
2816
2817         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2818         (elmo-folder-msgdb-create): Add unread flag.
2819
2820         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2821
2822         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2823
2824         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2825
2826         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2827
2828         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2829         elmo-msgdb-messge-entity-handler.
2830         * elmo-version.el (elmo-version): Up to 2.11.17.
2831
2832 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2833
2834         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2835         change.
2836
2837 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
2838
2839         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2840
2841         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2842         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2843         (elmo-msgdb-flag-table): Ditto.
2844         (elmo-msgdb-sort-by-date): Ditto.
2845
2846         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2847
2848         * modb-standard.el (toplevel): Require mime.
2849         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2850         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2851         elmo-msgdb-message-entity-number.
2852         (elmo-msgdb-append-entity): Ditto.
2853         (elmo-msgdb-create-message-entity-from-file): Remove.
2854         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
2855         corresponds to the entity.
2856         (elmo-msgdb-message-entity-number): Do nothing currently.
2857         (elmo-msgdb-message-entity-field): Ditto.
2858         (elmo-msgdb-message-entity-set-field): Ditto.
2859         (elmo-msgdb-copy-message-entity): Ditto.
2860         (elmo-msgdb-match-condition-internal): Ditto.
2861
2862         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2863         elmo-util.el.
2864         (elmo-msgdb-create-message-entity-from-file): Remove.
2865
2866         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2867         modb-legacy.el.
2868         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2869
2870         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2871
2872 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2873
2874         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2875         (elmo-msgdb-message-entity-field): Ditto.
2876         (elmo-msgdb-message-entity-number): Ditto.
2877
2878 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2879
2880         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
2881         Fixed how to set extra field into entity.
2882         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2883         symbol.
2884
2885         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2886         Fixed how to set extra field into entity.
2887         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2888         symbol.
2889
2890 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
2891
2892         * modb.el (elmo-message-entity-db): New function.
2893         (elmo-msgdb-make-message-entity): New API.
2894         (elmo-msgdb-message-entity-number): Ditto.
2895         (elmo-msgdb-message-entity-set-number): Ditto.
2896         (elmo-msgdb-message-entity-field): Ditto.
2897         (elmo-msgdb-message-entity-set-field): Ditto.
2898         (elmo-msgdb-copy-message-entity): Ditto.
2899         (elmo-msgdb-create-message-entity-from-file): Ditto.
2900         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2901         (elmo-msgdb-match-condition-internal): Ditto.
2902
2903         * modb-standard.el (modb-legacy): Require modb-legacy.
2904         (modb-standard-make-message-entity): New inline function.
2905         (elmo-msgdb-make-message-entity): Define.
2906         (elmo-msgdb-create-message-entity-from-file): Ditto.
2907         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2908         (elmo-msgdb-message-entity-field): Ditto.
2909         (elmo-msgdb-message-entity-set-field): Ditto.
2910         (elmo-msgdb-copy-message-entity): Ditto.
2911         (elmo-msgdb-match-condition-internal): Ditto.
2912
2913         * modb-legacy.el: Don't require modb-entity.
2914         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2915         (elmo-msgdb-match-condition-primitive): Ditto.
2916         (elmo-msgdb-get-decoded-cache): Ditto.
2917         (elmo-msgdb-overview-entity-get-id): Ditto.
2918         (elmo-msgdb-overview-entity-get-number): Ditto.
2919         (elmo-msgdb-overview-entity-set-number): Ditto.
2920         (elmo-msgdb-overview-entity-get-references): Ditto.
2921         (elmo-msgdb-overview-entity-set-references): Ditto.
2922         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2923         (elmo-msgdb-overview-entity-get-from): Ditto.
2924         (elmo-msgdb-overview-entity-set-from): Ditto.
2925         (elmo-msgdb-overview-entity-get-subject): Ditto.
2926         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2927         (elmo-msgdb-overview-entity-set-subject): Ditto.
2928         (elmo-msgdb-overview-entity-get-date): Ditto.
2929         (elmo-msgdb-overview-entity-set-date): Ditto.
2930         (elmo-msgdb-overview-entity-get-to): Ditto.
2931         (elmo-msgdb-overview-entity-get-cc): Ditto.
2932         (elmo-msgdb-overview-entity-get-size): Ditto.
2933         (elmo-msgdb-overview-entity-set-size): Ditto.
2934         (elmo-msgdb-overview-entity-get-extra): Ditto.
2935         (elmo-msgdb-overview-entity-set-extra): Ditto.
2936         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2937         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2938         (elmo-msgdb-number-load): Ditto.
2939         (elmo-msgdb-overview-load): Ditto.
2940         (elmo-msgdb-mark-load): Ditto.
2941         (elmo-msgdb-number-save): Ditto.
2942         (elmo-msgdb-mark-save): Ditto.
2943         (elmo-msgdb-overview-save): Ditto.
2944         (modb-legacy-make-message-entity): New inline function.
2945         (elmo-msgdb-insert-file-header): Ditto.
2946         (elmo-msgdb-make-message-entity): Define.
2947         (elmo-msgdb-create-message-entity-from-file): Ditto.
2948         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2949         (elmo-msgdb-message-entity-number): Ditto.
2950         (elmo-msgdb-message-entity-set-number): Ditto.
2951         (elmo-msgdb-message-entity-field): Ditto.
2952         (elmo-msgdb-message-entity-set-field): Ditto.
2953         (elmo-msgdb-copy-message-entity): Ditto.
2954         (elmo-msgdb-match-condition-internal): Ditto.
2955
2956         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2957         (elmo-message-copy-entity): Rewrite.
2958         (elmo-message-entity-number): Ditto.
2959         (elmo-message-entity-set-number): Ditto.
2960         (elmo-message-entity-field): Use elmo-message-entity-db.
2961         (elmo-message-entity-set-field): Ditto.
2962         (elmo-message-field): Rewrite.
2963
2964         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2965         elmo-msgdb.el
2966         (elmo-msgdb-get-message-id-from-buffer): Ditto.
2967
2968         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2969         elmo-message-entity-field.
2970         (elmo-shimbun-folder-shimbun-header): Ditto.
2971         (elmo-shimbun-entity-to-header): Ditto.
2972         (elmo-folder-msgdb-create): Ditto.
2973         (elmo-shimbun-msgdb-create-entity): Ditto;
2974         Use elmo-msgdb-create-message-entity-from-buffer.
2975         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2976         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2977
2978         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2979         elmo-msgdb-create-message-entity-from-file and 
2980         elmo-message-entity-field.
2981
2982         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2983         elmo-message-entity-number.
2984         (elmo-pop3-msgdb-create-message): Use
2985         elmo-msgdb-create-message-entity-from-buffer,
2986         elmo-message-entity-set-field, elmo-message-entity-number and
2987         elmo-message-entity-set-number.
2988
2989         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2990         the API change in elmo-msgdb-make-message-entity.
2991         (elmo-nntp-msgdb-create-message): Use
2992         elmo-msgdb-create-message-entity-from-buffer.
2993
2994         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2995         elmo-message-entity-field and
2996         elmo-msgdb-create-message-entity-from-file.
2997
2998         * elmo-msgdb.el (toplevel): Don't require modb-entity.
2999         (elmo-msgdb-get-field): Abolish.
3000         (elmo-msgdb-get-number): Rewrite.
3001         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3002         (elmo-msgdb-flag-table): Ditto.
3003         (elmo-msgdb-get-last-message-id,
3004         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3005         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3006         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3007         (elmo-msgdb-create-overview-from-buffer,
3008         elmo-msgdb-overview-get-parent-entity): Abolish.
3009
3010         * elmo-mime.el (elmo-mime-display-as-is): Use
3011         elmo-message-entity-field.
3012
3013         * elmo-map.el (elmo-folder-pack-numbers): Use
3014         elmo-message-entity-set-number.
3015
3016         * elmo-maildir.el (elmo-folder-msgdb-create): 
3017         elmo-msgdb-create-message-entity-from-file instead of
3018         elmo-msgdb-create-overview-entity-from-file.
3019
3020         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3021         msgdb.
3022         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3023         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3024
3025         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3026         elmo-messge-entity-field and elmo-message-entity-number.
3027         (elmo-imap4-fetch-callback-1): Call
3028         elmo-msgdb-create-message-entity-from-buffer instead of
3029         elmo-msgdb-create-overview-from-buffer. 
3030         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3031         (elmo-find-fetch-strategy): Likewise.
3032
3033         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3034         elmo-localdir-msgdb-create-entity with argument msgdb.
3035
3036         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3037         and elmo-message-entity-set-number.
3038
3039         * elmo-cache.el (elmo-folder-msgdb-create): Use
3040         elmo-message-entity-field.
3041         (elmo-folder-msgdb-create): Call
3042         elmo-msgdb-create-message-entity-from-file instead of
3043         elmo-msgdb-create-overview-entity-from-file.
3044
3045         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3046         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3047         instead of elmo-msgdb-create-overview-from-buffer.
3048         (elmo-archive-msgdb-create-entity): Ditto.
3049         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3050         elmo-message-entity-field.
3051         (elmo-archive-parse-mmdf): Ditto.
3052
3053         * modb-entity.el: Removed.
3054
3055         * elmo-version.el (elmo-version): Up to 2.11.16.
3056
3057 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3058
3059         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3060         `is-local'.
3061         (elmo-folder-flag-as-answered): Ditto.
3062
3063 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3064
3065         * modb-standard.el: New file.
3066
3067         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3068         elmo-msgdb-convert-type is `sync'.
3069
3070         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3071         (elmo-msgdb-convert-type): New user option.
3072
3073         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3074         (elmo-load-msgdb): Auto detect saved type.
3075
3076         * elmo-version.el (elmo-version): Up to 2.11.15.
3077
3078 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3079
3080         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3081
3082         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3083         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3084         with argument `delete-if-none' when dst-folder is 'null.
3085
3086         * elmo-flag.el (elmo-folder-append-messages): Defined.
3087         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3088
3089 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3090
3091         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3092
3093 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3094
3095         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3096         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3097         (elmo-folder-commit): Ditto.
3098
3099 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3100
3101         * elmo-flag.el: New file.
3102
3103         * elmo-mark.el: Removed.
3104
3105         * modb-legacy.el (modb-legacy-new-mark,
3106         modb-legacy-unread-uncached-mark,
3107         modb-legacy-unread-cached-mark,
3108         modb-legacy-read-uncached-mark,
3109         modb-legacy-answered-cached-mark,
3110         modb-legacy-answered-uncached-mark,
3111         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3112         All other related portions are changed.
3113
3114         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3115         (elmo-folder-list-messages-with-global-mark): Abolish.
3116         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3117         (elmo-folder-flag-as-important): Ditto.
3118         (elmo-folder-unflag-read): Ditto.
3119         (elmo-folder-flag-as-read): Ditto.
3120         (elmo-folder-unflag-answered): Ditto.
3121         (elmo-folder-flag-as-answered): Ditto.
3122         (elmo-message-encache): Return the cache path.
3123         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3124         (elmo-message-set-flag): Transitional implementation.
3125         (elmo-message-unset-flag): Ditto.
3126         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3127         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3128         (elmo-init): Call elmo-global-flag-initialize.
3129         (toplevel): Added autoload settings for elmo-flag.
3130
3131         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3132
3133         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3134         (elmo-file-cache-delete): Don't treat global-mark.
3135
3136         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3137
3138         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3139
3140         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3141         `elmo-global-flags-set'.
3142
3143         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3144         `flag'.
3145         (elmo-folder-unflag-read): Ditto.
3146         (elmo-folder-unflag-important): Ditto.
3147         (elmo-folder-flag-as-important): Ditto.
3148         (elmo-folder-unflag-answered): Ditto.
3149         (elmo-folder-flag-as-answered): Ditto.
3150
3151         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3152         `elmo-global-flags-set'.
3153         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3154
3155         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3156
3157         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3158         `flag'.
3159         (elmo-folder-flag-as-important): Ditto.
3160         (elmo-folder-unflag-important): Ditto.
3161         (elmo-folder-flag-as-important): Ditto.
3162         (elmo-folder-unflag-read): Ditto.
3163         (elmo-folder-flag-as-read): Ditto.
3164         (elmo-folder-unflag-answered): Ditto.
3165         (elmo-folder-flag-as-answered): Ditto.
3166
3167         * elmo-multi.el (elmo-folder-list-importants): Don't call
3168         elmo-folder-list-messages-with-global-mark.
3169         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3170         (elmo-folder-unflag-important): Ditto.
3171         (elmo-folder-flag-as-read): Ditto.
3172         (elmo-folder-unflag-read): Ditto.
3173         (elmo-folder-flag-as-answered): Ditto.
3174         (elmo-folder-unflag-answered): Ditto.
3175
3176         * elmo-msgdb.el (elmo-msgdb-new-mark,
3177         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3178         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3179         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3180         (Moved to modb-legacy.el).
3181         (elmo-flag-table-get): Treat important flag too.
3182
3183         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3184         `mark' to `flag'.
3185         (elmo-map-folder-flag-as-important): Ditto.
3186         (elmo-map-folder-unflag-read): Ditto.
3187         (elmo-map-folder-flag-as-read): Ditto.
3188         (elmo-map-folder-unflag-answered): Ditto.
3189         (elmo-map-folder-flag-as-answered): Ditto.
3190         (elmo-folder-unflag-important): Ditto.
3191         (elmo-folder-flag-as-important): Ditto.
3192         (elmo-folder-unflag-read): Ditto.
3193         (elmo-folder-flag-as-read): Ditto.
3194         (elmo-folder-unflag-answered): Ditto.
3195         (elmo-folder-flag-as-answered): Ditto.
3196
3197         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3198         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3199         `flag'.
3200         (elmo-map-folder-unflag-important): Ditto.
3201         (elmo-map-folder-flag-as-read): Ditto.
3202         (elmo-map-folder-unflag-read): Ditto.
3203         (elmo-map-folder-flag-as-answered): Ditto.
3204         (elmo-map-folder-unflag-answered): Ditto.
3205
3206         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3207         `elmo-global-flags-set'.
3208         (elmo-global-flags-set): Added autoload setting.
3209
3210         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3211         `flag'.
3212
3213         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3214         `elmo-msgdb-global-mark-set'.
3215         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3216         Call `elmo-global-flags-set'.
3217         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3218         `flag'.
3219         (elmo-folder-flag-as-important-plugged): Ditto.
3220         (elmo-folder-unflag-read-plugged): Ditto.
3221         (elmo-folder-flag-as-read-plugged): Ditto.
3222         (elmo-folder-unflag-answered-plugged): Ditto.
3223         (elmo-folder-flag-as-answered-plugged): Ditto.
3224         (elmo-global-flags-set): Added autoload setting.
3225
3226         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3227         `flag'.
3228         (elmo-folder-unflag-read): Ditto.
3229         (elmo-folder-flag-as-important): Ditto.
3230         (elmo-folder-unflag-important): Ditto.
3231         (elmo-folder-flag-as-answered): Ditto.
3232         (elmo-folder-unflag-answered): Ditto.
3233
3234         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3235         change of `mark'->`flag'.
3236         (elmo-dop-queue-method-name-alist): Ditto.
3237         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3238         (elmo-folder-unflag-read-dop): Ditto.
3239         (elmo-folder-flag-as-important-dop): Ditto.
3240         (elmo-folder-unflag-important-dop): Ditto.
3241         (elmo-folder-flag-as-answered-dop): Ditto.
3242         (elmo-folder-unflag-answered-dop): Ditto.
3243
3244         * elmo-cache.el (elmo-folder-msgdb-create): Call
3245         `elmo-global-flags-set'.
3246
3247         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3248         Call `elmo-global-flags-set'.
3249         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3250         elmo-archive-parse-mmdf with argument `folder'.
3251         (elmo-archive-parse-mmdf): Added argument `folder';
3252         Call `elmo-global-flags-set'.
3253
3254         * elmo-version.el (elmo-version): Up to 2.11.14.
3255
3256 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3257
3258         * modb.el (elmo-msgdb-length): Define.
3259
3260         * elmo.el (elmo-make-folder): Fixed.
3261         (elmo-generic-folder-append-messages): Follow the API change.
3262
3263         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3264         API change.
3265
3266 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3267
3268         * modb.el: New file.
3269
3270         * modb-entity.el: Ditto.
3271
3272         * modb-legacy.el: Ditto.
3273
3274         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3275         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3276         of `elmo-msgdb-overview-get-entity'.
3277         (elmo-msgdb-get-field): Ditto.
3278         (elmo-msgdb-merge): Moved to `elmo.el'.
3279         (elmo-msgdb-length): Removed; redefine as modb method.
3280         (elmo-msgdb-change-mark): Abolish.
3281         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3282         (elmo-msgdb-match-condition): Don't use mark.
3283         (elmo-msgdb-overview-get-entity): Abolish.
3284         Split modb part into `modb*.el'.
3285
3286         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3287
3288         * elmo-shimbun.el (shimbun-mua-search-id): Use
3289         `elmo-msgdb-message-entity' instead of
3290         `elmo-msgdb-overview-get-entity'.
3291         (elmo-shimbun-folder-shimbun-header): Ditto.
3292         (elmo-shimbun-get-headers): Ditto.
3293         (elmo-shimbun-update-overview): Ditto.
3294
3295         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3296
3297         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3298
3299         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3300         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3301
3302         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3303         `elmo-msgdb-mark-to-flags'.
3304
3305         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3306         `elmo-msgdb-set-path'.
3307
3308         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3309  
3310         * elmo-version.el (elmo-version): Up to 2.11.13.
3311
3312         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3313
3314         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3315         of mark.
3316
3317 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3318
3319         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3320         mismatch.
3321
3322 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3323
3324         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3325         instead of `elmo-msgdb-get-cached'.
3326         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3327
3328         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3329         (elmo-msgdb-set-cached): Ditto.
3330         (elmo-msgdb-set-flag): Rewrite.
3331         (elmo-msgdb-unset-flag): Ditto.
3332
3333         * elmo-msgdb.el: Rewrite with luna.
3334
3335         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3336         (elmo-folder-msgdb): Follow the change above.
3337         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3338         (elmo-folder-unmark-important): Follow the API change.
3339         (elmo-folder-mark-as-important): Ditto.
3340         (elmo-folder-unmark-read): Ditto.
3341         (elmo-folder-mark-as-read): Ditto.
3342         (elmo-folder-unmark-answered): Ditto.
3343         (elmo-folder-mark-as-answered): Ditto.
3344         (elmo-folder-clear): Likewise.
3345
3346         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3347         instead of `elmo-msgdb-load' (renamed).
3348
3349         * elmo-version.el (elmo-version): Up to 2.11.12.
3350
3351 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3352
3353         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3354         change.
3355         (elmo-message-mark): Abolish.
3356         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3357         instead of `elmo-msgdb-change-mark'.
3358
3359         * elmo-pipe.el (elmo-message-mark): Abolish.
3360
3361         * elmo-multi.el (elmo-message-mark): Ditto.
3362
3363         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3364         (elmo-msgdb-unread-uncached-mark): Ditto.
3365         (elmo-msgdb-unread-cached-mark): Ditto.
3366         (elmo-msgdb-read-uncached-mark): Ditto.
3367         (elmo-msgdb-answered-cached-mark): Ditto.
3368         (elmo-msgdb-answered-uncached-mark): Ditto.
3369         (elmo-msgdb-important-mark): Ditto.
3370         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3371         `use-cache'.
3372         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3373         `flags'.
3374         (elmo-flag-table-load): Changed flag to list of flag.
3375         (elmo-flag-table-set): If flags is nil, set read flag.
3376         (elmo-flag-table-get): Return derived flags from global mark,
3377         cache status and saved flags.
3378         (elmo-msgdb-flag-table): Follow the change above.
3379         (elmo-msgdb-out-of-date-messages): New function.
3380
3381         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3382
3383         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3384
3385         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3386
3387         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3388         (elmo-nntp-msgdb-create-message): Ditto.
3389
3390         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3391
3392         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3393         independent.
3394         (elmo-folder-msgdb-create): Follow the API change.
3395
3396         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3397         (elmo-folder-append-messages): Ditto.
3398
3399         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3400         (elmo-folder-append-buffer): Ditto.
3401
3402         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3403
3404         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3405
3406         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3407         (elmo-archive-parse-mmdf): Ditto.
3408
3409         * elmo-version.el (elmo-version): Up to 2.11.11.
3410
3411 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3412
3413         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3414         `elmo-msgdb-mark'.
3415
3416         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3417
3418         * elmo-pipe.el (elmo-message-flags): Defined.
3419
3420         * elmo-multi.el (elmo-message-flags): Ditto.
3421
3422 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3423
3424         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3425         `elmo-msgdb-delete-msgs'.
3426
3427         * elmo.el (elmo-folder-count-flags): Don't use
3428         `elmo-msgdb-get-mark-alist'.
3429         (elmo-folder-detach-messages): Follow the API change.
3430
3431         * elmo.el (elmo-folder-list-messages): Append killed messages into
3432         result if `visible-only' is nil.
3433
3434         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3435         canceled messages.
3436         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3437         (elmo-folder-update-number): Likewise.
3438
3439         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3440         (elmo-pop3-sort-msgdb-by-original-number): Use
3441         `elmo-msgdb-sort-entities'.
3442
3443         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3444         (elmo-msgdb-sort-by-date): Use it.
3445         (elmo-msgdb-overview-sort-by-date): Abolish.
3446
3447         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3448
3449         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3450         (elmo-msgdb-flags): New function.
3451         (elmo-msgdb-merge): Use elmo-msgdb-append.
3452
3453         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3454         change.
3455
3456         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3457
3458         * elmo-dop.el (elmo-folder-status-dop): Use
3459         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3460
3461 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3462
3463         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3464
3465         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3466
3467         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3468
3469         * elmo-util.el (elmo-with-progress-display): New macro.
3470
3471         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3472
3473 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3474
3475         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3476         `elmo-folder-list-message-entities' instead of
3477         `elmo-msgdb-get-overview'.
3478         (elmo-map-folder-list-message-locations): Ditto.
3479
3480         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3481         methods instead of treat directly).
3482         (elmo-msgdb-clear): Ditto.
3483         (elmo-msgdb-delete-msgs): Ditto.
3484         (elmo-msgdb-sort-by-date): Ditto.
3485
3486         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3487         local variables.
3488         (elmo-nntp-folder-msgdb-create): Follow the API change.
3489
3490         * elmo-version.el (elmo-version): Up to 2.11.10.
3491
3492 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3493
3494         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3495         (elmo-msgdb-flags-to-mark): Ditto.
3496         (elmo-msgdb-append-entity): Ditto.
3497
3498         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3499         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3500         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3501         (elmo-archive-parse-mmdf): Ditto.
3502
3503         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3504
3505         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3506
3507         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3508
3509         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3510
3511         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3512
3513         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3514
3515         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3516
3517         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3518
3519         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3520         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3521         to empty msgdb.
3522
3523         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3524         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3525         instead of directly construction.
3526         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3527         instead of construct msgdb.
3528
3529         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3530         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3531         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3532         instead of construct msgdb.
3533
3534 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3535
3536         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3537         when field is from or subject.
3538
3539 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3540
3541         * elmo-multi.el (elmo-message-entity-parent): Define.
3542         (elmo-folder-search): Rewrite.
3543
3544 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3545
3546         * elmo-multi.el (elmo-message-cached-p): Define.
3547
3548         * elmo.el (elmo-message-cached-p): New method.
3549         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3550         (elmo-message-flags): New method.
3551         (elmo-message-flagged-p): New function.
3552
3553         * elmo-version.el (elmo-version): Up to 2.11.9.
3554
3555 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3556
3557         * elmo-version.el (elmo-version): Up to 2.11.8.
3558
3559         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3560
3561         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3562
3563 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3564
3565         * elmo.el (elmo-folder-detach-messages): Undo last change.
3566
3567 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3568
3569         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3570
3571         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3572         only when src folder type is pop3.
3573
3574 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3575
3576         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3577         elmo-msgdb-overview-entity-get-number instead of
3578         elmo-message-entity-number.
3579
3580 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3581
3582         * elmo-version.el (elmo-version): Up to 2.11.7.
3583
3584 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3585
3586         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3587         function.
3588
3589         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3590         (elmo-msgdb-merge): New function.
3591         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3592         (elmo-msgdb-make-index): Rewrite.
3593
3594         * elmo-version.el (elmo-version): Up to 2.11.6.
3595
3596         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3597         use it as a the path for loading message entities.
3598
3599         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3600
3601 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3602
3603         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3604         message-modified slot of itself if it does not require target msgdb.
3605
3606         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3607         if folder length is zero.
3608         (elmo-mime-display-as-is): Ditto.
3609
3610         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3611
3612         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3613
3614 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3615
3616         * elmo.el (elmo-folder-set-message-modified): New method.
3617         (elmo-generic-folder-commit): Use it.
3618         (elmo-folder-synchronize): Ditto.
3619
3620         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3621         (elmo-folder-commit): Remove duplicate definition.
3622
3623 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3624
3625         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3626
3627 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3628
3629         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3630         (elmo-strict-folder-diff): Ditto.
3631         (elmo-folder-set-info-max-by-numdb): Simplify.
3632
3633         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3634         elmo-msgdb-list-messages.
3635
3636         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3637         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3638
3639 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3640
3641         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3642         visible-only is non-nil.
3643         (elmo-folder-confirm-appends): Changed message.
3644         (elmo-folder-synchronize): Added argument disable-killed.
3645
3646         * elmo-multi.el (elmo-folder-synchronize): Added argument
3647         disable-killed.
3648
3649         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3650
3651         * elmo-version.el (elmo-version): Up to 2.11.5.
3652
3653         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3654         elmo-list-filter.
3655
3656         * elmo-util.el (elmo-list-filter): Simplify.
3657
3658         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3659         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3660         (elmo-generic-folder-diff): Abolish argument.
3661         (elmo-msgdb-load): Don't use number-alist.
3662
3663         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3664
3665         * elmo-pipe.el (elmo-folder-diff): Ditto.
3666
3667         * elmo-nmz.el (elmo-folder-diff): Ditto.
3668
3669         * elmo-net.el (elmo-folder-diff): Ditto.
3670
3671         * elmo-maildir.el (elmo-folder-diff): Ditto.
3672
3673         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3674
3675         * elmo-multi.el (elmo-folder-diff): Ditto
3676         (elmo-multi-folder-diff): Rewrite.
3677
3678 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3679
3680         * elmo-pipe.el (elmo-folder-msgdb): Define.
3681
3682 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3683
3684         * elmo.el (elmo-message-set-cached): Define as a method.
3685
3686         * elmo-pipe.el (elmo-message-set-cached): Define.
3687         (elmo-find-fetch-strategy): Ditto.
3688
3689         * elmo-multi.el (elmo-message-set-cached): Define.
3690         (elmo-find-fetch-strategy): Rewrite.
3691
3692         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3693
3694         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3695
3696 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3697
3698         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3699         instead of number-alist.
3700
3701         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3702         mark nor message-id when msgdb of source folder is not loaded.
3703
3704         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3705
3706         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3707
3708 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3709
3710         * elmo.el (elmo-folder-length): Don't require msgdb.
3711
3712 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3713
3714         * elmo.el (elmo-message-mark): Cause an error when empty folder.
3715         (elmo-message-field): Ditto.
3716
3717         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3718         (elmo-map-folder-list-message-locations): Setup `answered-locations'
3719         slot.
3720         (elmo-map-folder-list-answereds): Define.
3721         (elmo-maildir-list-location): Treat 'R' info.
3722         (elmo-folder-msgdb-create): Treat flag-table.
3723         (elmo-folder-append-messages): Save flag-table.
3724
3725 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
3726
3727         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
3728         Use SELECT when elmo-imap4-use-select-to-update-status is t.
3729
3730 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3731
3732         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3733
3734         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3735         'read when mark is null.
3736
3737 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
3738
3739         * elmo-version.el (elmo-version): Up to 2.11.4.
3740
3741 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3742
3743         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3744         (elmo-folder-mark-as-answered): Ditto.
3745
3746 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
3747
3748         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3749         (elmo-pop3-get-session): Make msgdb directory after session.
3750         (elmo-folder-exists-p): Check exactly at the first time even when the
3751         elmo-pop3-exists-exactly is nil.
3752
3753         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3754         (elmo-folder-list-messages): Define instead of
3755         elmo-folder-list-messages-internal.
3756         (elmo-folder-check): Check destination folder.
3757         (elmo-folder-synchronize): Drain the pipe.
3758
3759         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3760         when msgdb is not loaded.
3761
3762         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3763
3764         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3765         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3766         messages.
3767
3768         * elmo.el (elmo-folder-kill-messages-before): New function.
3769         (elmo-folder-kill-messages): Ditto.
3770         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3771
3772         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
3773         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3774         killed not by synchronize (e.g. scoring).
3775
3776 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3777
3778         * elmo.el (elmo-folder-search-fast): Return t if condition is not
3779         treated.
3780         (elmo-folder-search): Follow the change above.
3781
3782         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3783         into the candidates of search field.
3784
3785 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
3786
3787         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3788         (elmo-msgdb-unset-flag): Ditto.
3789
3790         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3791
3792 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
3793
3794         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3795         (elmo-folder-commit): Define.
3796         (elmo-folder-synchronize): Ditto.
3797         (elmo-folder-list-flagged): Ditto.
3798         (elmo-folder-commit): Ditto.
3799         (elmo-folder-length): Ditto.
3800         (elmo-folder-count-flags): Ditto.
3801         (elmo-message-mark): Ditto.
3802         (elmo-message-field): Ditto.
3803         (elmo-message-entity): Ditto.
3804         (elmo-message-folder): Ditto.
3805
3806 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3807
3808         * elmo.el (elmo-message-field): Define as a method.
3809
3810         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3811         (elmo-message-field): Define.
3812
3813         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3814         (elmo-folder-list-importants): Ditto.
3815         (elmo-folder-list-answereds): Ditto.
3816
3817         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3818         qualifier.
3819         (elmo-folder-mark-as-read): Ditto.
3820         (elmo-folder-unmark-read): Ditto.
3821         (elmo-folder-mark-as-answered): Ditto.
3822         (elmo-folder-unmark-answered): Ditto.
3823         (elmo-folder-list-flagged): Define.
3824         (elmo-folder-commit): Ditto.
3825         (elmo-folder-length): Ditto.
3826         (elmo-folder-count-flags): Ditto.
3827
3828 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3829
3830         * elmo.el (elmo-folder-detach-messages): New method.
3831         (elmo-folder-move-messages): Use it.
3832         (elmo-folder-synchronize): Ditto.
3833
3834         * elmo-multi.el (elmo-folder-detach-messages): Define.
3835
3836         * elmo.el (elmo-message-copy-entity): New function.
3837         (elmo-message-entity-set-number): Ditto.
3838         (elmo-message-mark): Define as method.
3839
3840         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3841         (elmo-folder-synchronize): Return 0 (Should be reconsider).
3842         (elmo-message-entity): Fixed last change.
3843         (elmo-message-mark): Define.
3844         (elmo-folder-msgdb-create): Abolish.
3845         (elmo-multi-folder-append-msgdb): Ditto.
3846         (elmo-multi-folder-diff): Fixed.
3847         (elmo-multi-split-number-alist): Removed.
3848         (elmo-multi-split-mark-alist): Removed.
3849         (elmo-folder-list-messages): Define.
3850         (elmo-folder-list-messages-internal): Removed.
3851
3852         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3853         local file messages.
3854         (elmo-folder-msgdb-create): Fixed read mark.
3855
3856 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3857
3858         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3859         if mark is nil.
3860
3861 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3862
3863         * elmo.el (elmo-folder-list-message-entities): Define as inline
3864         function.
3865         (elmo-folder-messages): Abolish.
3866
3867         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3868         folder.
3869         (elmo-folder-synchronize): Define.
3870         (elmo-message-entity): Define.
3871
3872 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
3873
3874         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3875         elmo-imap4-session-select-mailbox.
3876
3877         * elmo.el (elmo-folder-move-messages): Don't display any message.
3878
3879         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3880         parsing.
3881         (elmo-imap4-session-check): Don't wait CHECK response.
3882         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3883
3884 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3885
3886         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3887
3888 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3889
3890         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3891         API.
3892         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3893
3894
3895         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3896         (elmo-folder-list-message-entities): Added argument in-msgdb and
3897         numbers.
3898         (elmo-folder-synchronize): Define as a method.
3899
3900         * elmo-nntp.el (elmo-folder-initialize): Don't use
3901         elmo-nntp-default-user if zero-length username is specified
3902         explicitly.
3903
3904 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3905
3906         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3907         server name in case with username.
3908         (XXX: this is ad-hoc fix against username includes "@", it
3909         should be solved fundamentally)
3910
3911 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
3912
3913         * elmo-nntp.el (elmo-nntp-debug): New function.
3914         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3915         (elmo-network-authenticate-session): Hide auth-info from the log.
3916
3917         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3918         user name if it is equal to elmo-nntp-default-user.
3919
3920 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
3921
3922         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3923         instead of shimbun-server-internal;
3924         Use shimbun-current-group instead of shimbun-current-group-internal.
3925         (elmo-folder-plugged-p): Use shimbun-server instead of
3926         shimbun-server-internal.
3927         (elmo-folder-set-plugged): Ditto.
3928         (elmo-net-port-info): Ditto.
3929         (elmo-folder-check): Ditto.
3930         (elmo-folder-expand-msgdb-path): Ditto.
3931         (elmo-folder-list-subfolders): Ditto.
3932
3933 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
3934
3935         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3936         Convert field-name to lower case.
3937         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3938
3939 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
3940
3941         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3942         `message' and `error' take format string.
3943
3944 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3945
3946         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3947
3948 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3949
3950         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3951         recursive call (can't byte compile on emacs 20.7).
3952
3953 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
3954
3955         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3956         (elmo-folder-list-message-entities): New API.
3957         (elmo-message-entity): Ditto.
3958         (elmo-message-entity-parent): Ditto.
3959         (elmo-folder-do-each-message-entity): Ditto.
3960         (elmo-message-entity-number): Ditto.
3961         (elmo-message-entity-field): Ditto.
3962         (elmo-message-entity-set-field): Ditto.
3963         (elmo-folder-count-flags): Ditto.
3964         (elmo-folder-length): Ditto.
3965
3966         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3967         not.
3968
3969         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3970         (elmo-msgdb-count-marks): Abolish.
3971         (elmo-msgdb-make-entity): Ditto.
3972         (elmo-msgdb-do-each-entity): Ditto.
3973         (elmo-msgdb-message-entity): New inline function.
3974         (elmo-msgdb-message-entity-field): Ditto.
3975         (elmo-msgdb-message-entity-set-field): Ditto.
3976         (elmo-msgdb-make-message-entity): New function.
3977
3978 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
3979
3980         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
3981         to flag. (All other related portions are changed.)
3982         (elmo-folder-msgdb-create): Likewise.
3983         (elmo-generic-folder-append-messages): Use flag-table instead of
3984         seen-list.
3985         (elmo-folder-move-messages): Removed redundant process.
3986         (elmo-folder-synchronize): Likewise.
3987
3988         * elmo-msgdb.el (elmo-flag-table-get): New function.
3989         (elmo-flag-table-save): Fixed.
3990         (elmo-msgdb-length): New inline function.
3991         (elmo-msgdb-flag-table): New function.
3992         (elmo-msgdb-mark): Add optional argument new.
3993         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3994         (elmo-msgdb-seen-list): Ditto.
3995         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3996
3997
3998 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
3999
4000         * elmo.el (elmo-message-set-mark): Abolish.
4001         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4002         (All related portions are changed.)
4003
4004         * elmo-msgdb.el (toplevel): Added comment.
4005         (elmo-load-msgdb): Added 4th element `path'.
4006         (elmo-msgdb-append): Follow the change above.
4007         (elmo-msgdb-clear): Ditto.
4008         (elmo-msgdb-delete-msgs): Ditto.
4009         (elmo-msgdb-get-path): New inline function.
4010         (elmo-msgdb-set-path): Ditto.
4011         (elmo-flag-table-filename): New variable.
4012         (elmo-flag-table-load): New function.
4013         (elmo-flag-table-set): Ditto.
4014         (elmo-flag-table-save): Ditto.
4015         (elmo-msgdb-get-field-value): Abolish.
4016         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4017
4018 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4019
4020         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4021         the folder has been deleted successfully.
4022         * elmo-imap4.el (elmo-folder-delete): Ditto.
4023         * elmo-archive.el (elmo-folder-delete): Ditto.
4024         * elmo-localdir.el (elmo-folder-delete): Ditto.
4025         * elmo-maildir.el (elmo-folder-delete): Ditto.
4026
4027 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4028
4029         * elmo-util.el (elmo-string-member-ignore-case): New function.
4030         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4031         (elmo-imap4-fetch-callback-1-subr): Likewise.
4032
4033 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4034
4035         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4036         the case of the name attribute "\Noselect".
4037
4038 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4039
4040         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4041
4042         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4043         flist, is not always a member of onum-alist.
4044
4045 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4046
4047         * elmo-version.el (elmo-version): Up to 2.11.3.
4048
4049 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4050
4051         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4052         copied from localdir's one.
4053
4054         * elmo-pipe.el (elmo-folder-rename): New method, rename
4055         destination folder with leaving source folder as it is.
4056
4057 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4058
4059         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4060         replace-regexp.
4061
4062 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4063
4064         * elmo-version.el (elmo-version): Up to 2.11.2.
4065
4066 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4067
4068         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4069         shimbun-open in case of "@".
4070         (elmo-folder-open-internal): Cope with shimbun = nil case.
4071         (elmo-folder-plugged-p): Ditto.
4072         (elmo-folder-list-subfolders): Make list for "@/" group.
4073
4074 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4075
4076         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4077         mailbox (e.g. for %~/something).
4078
4079 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4080
4081         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4082         Replace nested conditional with guard clauses.
4083
4084 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4085
4086         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4087         error [wl:11327].
4088
4089         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4090         print-depth.
4091
4092 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4093
4094         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4095         Replace nested conditional with guard clauses.
4096
4097 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4098
4099         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4100         (elmo-passwd-alist-save): Ditto.
4101         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4102
4103 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4104
4105         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4106         dir-name only if it is absolute path.
4107         (TODO: distinguish +/something and +something)
4108
4109 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4110
4111         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4112         path for "+~/something".
4113
4114 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4115
4116         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4117         as non-directory, cause error before rename-file.
4118         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4119         apropriately, mimic localdir's one.
4120         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4121
4122 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4123
4124         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4125
4126 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4127
4128         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4129
4130         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4131         
4132         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4133         is included in the global-mark or not.
4134
4135 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4136
4137         * utf7.el (toplevel): Avoid error when the function
4138         find-coding-system does not exist.
4139
4140 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4141
4142         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4143         cache even if the folder is plugged.
4144         (elmo-nntp-search-primitive): Do nothing when body search is
4145         invoked (although it is not used by the change above).
4146         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4147
4148 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4149
4150         * elmo-version.el (elmo-version): Up to 2.11.1.
4151
4152 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4153
4154         * elmo-archive.el: Specify charset.
4155
4156 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4157
4158         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4159         process buffer lives or not.
4160
4161         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4162         while flushing queues (It causes infinite loop).
4163
4164 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4165
4166         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4167
4168 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4169
4170         * utf7.el (toplevel): Check the ucs features dynamically.
4171         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4172
4173         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4174         folder is creatabe or not if it already exists.
4175
4176 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4177
4178         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4179
4180         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4181
4182         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4183         (elmo-imap4-read-response): Take care of garbage response.
4184
4185 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4186
4187         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4188         just return nil instead of error.
4189
4190 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4191
4192         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4193         search-key is "body".
4194
4195 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4196
4197         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4198         of elmo-string-matched-assoc to use match-data.
4199         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4200
4201 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4202
4203         * elmo-split.el (elmo-split->): New function.
4204         (elmo-split-<): Ditto.
4205
4206 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4207
4208         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4209         workaround for invalid message-id.
4210
4211 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4212
4213         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4214         return normal pop3 session or pop3 biff session.
4215
4216 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4217
4218         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4219         info part to the cur files when the new files already have it.
4220         (Adviced by Jared Rhine <jared@wordzoo.com>)
4221
4222 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4223
4224         * elmo-split.el (elmo-split-default-action): New variable.
4225         (elmo-split-subr): Use it if all other conditions are passed.
4226         Extend `fname' and rename it as `action'. (implemented
4227         Teranishi-san's idea in [wl:10800])
4228
4229 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4230
4231         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4232         * elmo-util.el: Ditto.
4233
4234 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4235
4236         * elmo.el (elmo-message-accessible-p): Renamed from
4237         elmo-message-cached-p and rewritten.
4238
4239 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4240
4241         * elmo.el (elmo-folder-list-flagged): New generic function.
4242         (elmo-folder-list-importants): New implementation.
4243         (elmo-folder-list-answereds): Ditto.
4244         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4245         Added 'digest'.
4246         (elmo-message-cached-p): New function.
4247         (elmo-message-set-flag): Ditto (no content).
4248         (elmo-message-unset-flag): Ditto.
4249         (elmo-folder-list-messages-mark-match): Abolish.
4250
4251         * elmo-util.el (elmo-regexp-opt): New function.
4252
4253         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4254         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4255         Added 'digest'.
4256         (elmo-msgdb-list-flagged): New function.
4257
4258         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4259         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4260         Added 'digest'.
4261
4262         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4263
4264 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4265
4266         * elmo-version.el (elmo-version): Up to 2.11.0.
4267
4268 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4269
4270         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4271         `elmo-file-cache-exists-p'; use proper mark that depends on
4272         `use-cache'.
4273         (elmo-msgdb-unset-flag): Ditto.
4274         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4275
4276         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4277         with 4th argument `use-cache'.
4278
4279 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4280
4281         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4282         (elmo-folder-mark-as-important): Ditto.
4283         (elmo-folder-unmark-read): Ditto.
4284         (elmo-folder-mark-as-read): Ditto.
4285         (elmo-folder-unmark-answered): Ditto.
4286         (elmo-folder-mark-as-answered): Ditto.
4287
4288         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4289         message status.
4290         (elmo-msgdb-mark): Likewise.
4291         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4292         (elmo-msgdb-unset-flag): Likewise.
4293
4294         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4295
4296 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4297
4298         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4299         `last:' filter.
4300
4301 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4302
4303         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4304         set spool-length to 0.
4305
4306 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4307
4308         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4309         (elmo-dop-queue-flush): Fixed last change.
4310
4311 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4312
4313         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4314         if require-msgdb slot is nil.
4315         (elmo-folder-list-importants): Likewise.
4316
4317 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4318
4319         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4320         mark is changed.
4321
4322         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4323         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4324         is changed.
4325
4326 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4327
4328         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4329
4330 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4331
4332         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4333
4334         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4335
4336 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4337
4338         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4339         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4340
4341 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4342
4343         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4344         the problem reported by Sean Rima [wl-en:180].
4345
4346 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4347
4348         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4349
4350         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4351
4352         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4353
4354         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4355
4356         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4357
4358         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4359
4360         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4361
4362 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4363
4364         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4365         status number.
4366
4367 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4368
4369         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4370         (elmo-folder-mark-as-read): Follow the API change.
4371         (elmo-message-set-cached): New function.
4372
4373         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4374
4375         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4376
4377         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4378         (elmo-folder-mark-as-important): Ditto.
4379         (elmo-folder-unmark-read): Ditto.
4380         (elmo-folder-mark-as-read): Ditto.
4381         (elmo-folder-unmark-answered): Ditto.
4382         (elmo-folder-mark-as-answered): Ditto.
4383
4384         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4385         (elmo-folder-unmark-important): Ditto.
4386         (elmo-folder-mark-as-read): Ditto.
4387         (elmo-folder-unmark-read): Ditto.
4388         (elmo-folder-mark-as-answered): Ditto.
4389         (elmo-folder-unmark-answered): Ditto.
4390
4391         * elmo-mark.el (toplevel): Removed some mark method definitions.
4392
4393         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4394         (elmo-map-folder-mark-as-answered): Ditto.
4395         (elmo-folder-unmark-important): Add :before qualifier.
4396         (elmo-folder-mark-as-important): Ditto.
4397         (elmo-folder-unmark-read): Ditto.
4398         (elmo-folder-mark-as-read): Ditto.
4399         (elmo-folder-unmark-answered): Define.
4400         (elmo-folder-mark-as-answered): Ditto.
4401
4402         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4403         (elmo-map-folder-unmark-answered): Ditto.
4404
4405         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4406
4407         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4408         (elmo-folder-mark-as-important): Ditto.
4409         (elmo-folder-unmark-read): Ditto.
4410         (elmo-folder-mark-as-read): Ditto.
4411         (elmo-folder-unmark-answered): Ditto.
4412         (elmo-folder-mark-as-answered): Ditto.
4413
4414         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4415         `mark'; evaluate mark condition.
4416         (elmo-msgdb-match-condition-internal): New function.
4417         (elmo-msgdb-match-condition): Call it; changed argument.
4418
4419         * elmo.el (elmo-folder-search): Follow the API change on
4420         `elmo-msgdb-match-condition'.
4421
4422 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4423
4424         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4425         original mark is non-nil.
4426
4427 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4428
4429         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4430         (elmo-map-folder-list-answereds): New method.
4431         (elmo-folder-list-unreads): Add :around qualifier.
4432         (elmo-folder-list-importants): Ditto.
4433         (elmo-folder-list-answereds): Ditto.
4434
4435 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4436
4437         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4438
4439         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4440         method if msgdb is not required.
4441         (elmo-filter-folder-list-importants): Don't treat global-mark.
4442
4443         * elmo.el (elmo-folder-list-importants): Ditto.
4444
4445         * elmo-net.el (elmo-folder-list-importants): Ditto.
4446
4447         * elmo-map.el (elmo-folder-list-importants): Ditto.
4448
4449         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4450
4451         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4452         (elmo-imap4-folder-list-any-plugged): New function.
4453         (elmo-imap4-search-internal-primitive): Use it.
4454
4455         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4456         only when require-msgdb slot is non-nil.
4457         (elmo-folder-close): Clear target folder's msgdb.
4458
4459 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4460
4461         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4462         (elmo-pop3-msgdb-create-by-header): Ditto.
4463         (elmo-pop3-msgdb-create-message): Ditto.
4464
4465         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4466
4467         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4468
4469         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4470
4471         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4472         (elmo-folder-msgdb-create): Ditto.
4473         (elmo-nntp-folder-msgdb-create): Ditto.
4474         (elmo-nntp-msgdb-create-by-header): Ditto.
4475         (elmo-nntp-msgdb-create-message): Ditto.
4476         (elmo-folder-list-unreads): Define.
4477
4478         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4479         (elmo-folder-append-messages): Ditto.
4480         (elmo-folder-list-unreads): Define.
4481         (elmo-folder-list-importants): Ditto.
4482         (elmo-folder-list-answereds): Ditto.
4483
4484         * elmo-net.el (elmo-folder-list-unreads): Define.
4485         (elmo-folder-list-importants): Ditto.
4486         (elmo-folder-list-answereds): Ditto.
4487         (elmo-folder-list-answereds-plugged): Ditto.
4488         (elmo-folder-msgdb-create): Follow the API change.
4489         (elmo-folder-msgdb-create-unplugged): Ditto.
4490         (elmo-folder-unmark-answered): Define.
4491         (elmo-folder-mark-as-answered-unplugged): Ditto.
4492         (elmo-folder-unmark-answered-unplugged): Ditto.
4493
4494         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4495         (elmo-msgdb-unread-uncached-mark): Ditto.
4496         (elmo-msgdb-unread-cached-mark): Ditto.
4497         (elmo-msgdb-read-uncached-mark): Ditto.
4498         (elmo-msgdb-answered-cached-mark): Ditto.
4499         (elmo-msgdb-answered-uncached-mark): Ditto.
4500         (elmo-msgdb-important-mark): Ditto.
4501         (elmo-msgdb-set-mark): Rewrite.
4502         (elmo-msgdb-count-marks): Rewrite.
4503         (elmo-msgdb-mark-alist-set): Abolish.
4504         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4505         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4506
4507         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4508         (elmo-folder-close): Define.
4509         (elmo-folder-msgdb-create): Follow the API change.
4510         (elmo-folder-list-unreads): Rewrite.
4511         (elmo-folder-mark-as-important): Ditto.
4512         (elmo-folder-unmark-important): Ditto.
4513         (elmo-folder-mark-as-read): Ditto.
4514         (elmo-folder-unmark-read): Ditto.
4515         (elmo-folder-mark-as-answered): Define.
4516         (elmo-folder-unmark-answered): Ditto.
4517
4518         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4519         (elmo-folder-append-messages): Ditto.
4520
4521         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4522
4523         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4524         (elmo-folder-list-importants): Ditto.
4525
4526         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4527         (elmo-folder-append-messages): Ditto.
4528
4529         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4530         change.
4531         (elmo-folder-msgdb-create-plugged): Ditto.
4532         (elmo-folder-append-messages): Ditto.
4533         (elmo-folder-list-answereds-plugged): Define.
4534         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4535         (elmo-folder-unmark-answered-plugged): Define.
4536         (elmo-folder-mark-as-answered-plugged): Ditto.
4537         (elmo-folder-search-requires-msgdb-p): Ditto.
4538
4539         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4540         (elmo-folder-initialize): Set it.
4541         (elmo-folder-msgdb): Define.
4542         (elmo-folder-check): Call elmo-folder-synchronize.
4543         (elmo-folder-close): Define.
4544         (elmo-folder-commit): Ditto.
4545         (elmo-folder-msgdb-create): Rewrite.
4546         (elmo-folder-list-unreads): Ditto.
4547         (elmo-folder-list-importants): Ditto.
4548         (elmo-folder-mark-as-read): Ditto.
4549         (elmo-folder-unmark-read): Ditto.
4550         (elmo-folder-mark-as-important): Ditto.
4551         (elmo-folder-unmark-important): Ditto.
4552         (elmo-folder-mark-as-answered): Define.
4553         (elmo-folder-unmark-answered): Ditto.
4554
4555         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4556         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4557         (elmo-dop-queue-method-name-alist): Likewise.
4558         (elmo-folder-mark-as-answered-dop): New inline function.
4559         (elmo-folder-unmark-answered-dop): Ditto.
4560         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4561
4562         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4563         (elmo-folder-msgdb-create): Ditto.
4564         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4565         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4566         (elmo-archive-parse-mmdf): Ditto.
4567
4568         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4569         (elmo-folder-list-unreads-internal): Ditto.
4570
4571         * elmo.el (elmo-folder-msgdb): Define as generic function.
4572         (elmo-folder-list-messages): Added argument `in-msgdb'.
4573         (elmo-folder-list-unreads): Define as generic function.
4574         (elmo-folder-list-importants): Ditto.
4575         (elmo-folder-list-answereds): Ditto.
4576         (elmo-folder-list-messages-with-global-mark): New function.
4577         (elmo-folder-msgdb-create): Removed mark arguments.
4578         (elmo-folder-unmark-answered): New generic function.
4579         (elmo-folder-mark-as-answered): Ditto.
4580         (elmo-folder-append-messages): Removed argunment `unread-marks'
4581         (elmo-folder-list-unreads-internal): Abolish.
4582         (elmo-folder-list-importants-internal): Ditto.
4583         (elmo-folder-search-requires-msgdb-p): New generic function.
4584         (elmo-folder-search-requires-msgdb-p-internal): New function.
4585         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4586         elmo-msgdb-load.
4587         (elmo-folder-search-fast): Added key 'mark'.
4588         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4589         instead of unread-marks argument.
4590         (elmo-folder-move-messages): Removed argunment `unread-marks'
4591         (elmo-folder-unmark-important): Define.
4592         (elmo-folder-mark-as-important): Ditto.
4593         (elmo-folder-unmark-read): Ditto.
4594         (elmo-folder-mark-as-read): Ditto.
4595         (elmo-folder-unmark-answered): Ditto.
4596         (elmo-folder-mark-as-answered): Ditto.
4597         (elmo-folder-replace-marks): Abolish.
4598         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4599         duplicates.
4600         (elmo-folder-synchronize): Removed mark arguments;
4601         return crosspost only number.
4602
4603 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4604
4605         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4606         Remove redundunt connectivity check.
4607
4608 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4609
4610         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4611         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4612
4613 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4614
4615         * pldap.el (ldap-decode-string): Return string as-is if
4616         `ldap-coding-system' is nil.
4617         (ldap-encode-string): Ditto.
4618         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4619         (ldap-default-host): Fixed docstring.
4620
4621 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4622
4623         * elmo-util.el (elmo-warning): Define as a macro which uses
4624         `display-warning' if it is defined as a function.
4625
4626         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4627         (elmo-split-equal): Use it.
4628         (elmo-split-match): Ditto.
4629         (elmo-split-message-entity): New buffer-local variable.
4630         (elmo-split-subr): Set it.
4631
4632         * elmo-version.el (elmo-version): Up to 2.9.15.
4633
4634 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4635
4636         * elmo-imap4.el (elmo-network-initialize-session):
4637         Check capability after starttls.
4638
4639 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4640
4641         * elmo-util.el (elmo-list-delete): Added optional argument
4642         DELETE-FUNCTION.
4643
4644         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4645
4646         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4647
4648         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4649
4650         * elmo-imap4.el (elmo-folder-initialize): Don't use
4651         elmo-imap4-default-mailbox.
4652
4653 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4654
4655         * elmo-split.el (toplevel): Use `product-provide'.
4656         (elmo-split): Checkdoc.
4657
4658 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4659
4660         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4661         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4662         the function `elmo-imap4-debug-1'.
4663
4664 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4665
4666         * elmo-split.el (elmo-split): Moved to run hooks and to show
4667         message from elmo-split-subr.
4668         (elmo-split-subr): Follow the change above.
4669
4670         * elmo-split.el (elmo-split-subr): New function (renamed from
4671         elmo-split-subr).
4672         (elmo-split): Changed to call elmo-split-subr by element of
4673         elmo-split-folder.
4674         (elmo-split-folder): Changed customization type to choice.
4675
4676 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4677
4678         * elmo-split.el (elmo-split-and): Fixed condition.
4679
4680 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4681
4682         * elmo-split.el: New file.
4683         (elmo-split): Fixed logic.
4684         Display "Test:" instead of "Folder:" when reharsal.
4685
4686         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4687         explicitly.
4688
4689         * elmo-version.el (elmo-version): Up to 2.9.14.
4690
4691         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4692         wl-expand-newtext).
4693
4694 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4695
4696         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4697         message with no message-id field.
4698
4699 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4700
4701         * elmo-version.el (elmo-version): Up to 2.9.13.
4702
4703         * elmo-dop.el (elmo-folder-status-dop): Fix.
4704
4705 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4706
4707         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4708
4709         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4710         changing default value of default-mime-charset.
4711         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4712
4713         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4714
4715         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4716         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4717         instead of elmo-dop-queue-method-name-alist to check merging queue.
4718         (elmo-folder-delete-messages-dop): Delete from queue if negative
4719         message number.
4720         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4721         file is already removed.
4722
4723 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4724
4725         * elmo-vars.el: Bind colon keywords for old Emacsen.
4726
4727 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4728
4729         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4730         against non-exsisting charset.
4731
4732 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
4733
4734         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4735         Use eword-decode-and-unfold-unstructured-field-body.
4736
4737         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4738         (elmo-msgdb-create-overview-from-buffer): Use document charset if
4739         exists to decode raw subject string.
4740         (toplevel): Require 'mime.
4741
4742         * elmo-version.el (elmo-version): Up to 2.9.12.
4743
4744 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
4745
4746         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4747         (elmo-msgdb-set-mark): Ditto.
4748
4749         * elmo-version.el (elmo-version): Up to 2.9.11.
4750
4751 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
4752
4753         * elmo-util.el (elmo-delete-match-files): New function.
4754
4755         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4756         instead of elmo-delete-directory.
4757
4758         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4759         elmo-hash-minimun-size as 63.
4760
4761         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4762         elmo-diff-unread is nil.
4763
4764         * elmo-imap4.el (elmo-folder-open): Fix.
4765
4766         * elmo.el (elmo-message-mark): Rewrite.
4767         (elmo-message-field): Ditto.
4768         (elmo-message-set-mark): Ditto.
4769         (elmo-folder-replace-marks): New function.
4770         (elmo-generic-folder-append-msgdb): Removed third argument for
4771         elmo-msgdb-append.
4772         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4773         (elmo-msgdb-load): New implementation.
4774
4775         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4776
4777         * elmo-util.el (elmo-list-insert): New implementation.
4778
4779         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4780         argument for elmo-msgdb-append.
4781         
4782
4783         * elmo-msgdb.el (elmo-load-msgdb): New function.
4784         (elmo-make-msgdb): Ditto.
4785         (elmo-msgdb-get-index): New inline function.
4786         (elmo-msgdb-set-index): Ditto.
4787         (elmo-msgdb-get-entity-hashtb): Ditto.
4788         (elmo-msgdb-get-mark-hashtb): Ditto.
4789         (elmo-msgdb-get-mark): Ditto.
4790         (elmo-msgdb-set-mark): Ditto.
4791         (elmo-msgdb-count-marks): Ditto.
4792         (elmo-msgdb-get-number): Ditto.
4793         (elmo-msgdb-get-field): Ditto.
4794         (elmo-msgdb-seen-list): Ditto.
4795         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4796         (elmo-msgdb-delete-msgs): Follow the changes above.
4797         (elmo-msgdb-overview-get-entity): Ditto.
4798         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4799         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4800         and rewritten.
4801         (elmo-msgdb-make-index): Likewise.
4802         (elmo-msgdb-append): Removed third argument.
4803         (elmo-msgdb-clear): Clear index as nil.
4804         (elmo-folder-set-info-hashtb): Removed.
4805         (elmo-folder-set-info-max-by-numdb): Ditto.
4806         (elmo-folder-info-make-hashtb): Ditto.
4807
4808         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4809
4810         * elmo-map.el (elmo-folder-pack-number): Ditto.
4811
4812 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
4813
4814         * elmo-version.el (elmo-version): Up to 2.9.10.
4815
4816         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4817
4818         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4819
4820 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
4821
4822         * elmo-utils.el (elmo-make-directory): Add option.
4823         Default file mode is 700.
4824
4825 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4826
4827         * elmo-shimbun.el (elmo-folder-local-p): Defined.
4828
4829 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
4830
4831         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4832         mime-charset.
4833
4834         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4835         and "smaller".
4836
4837 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4838
4839         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4840         (elmo-shimbun-folder-entity-hash): New function.
4841         (elmo-shimbun-folder-shimbun-header): Ditto.
4842         (elmo-shimbun-entity-to-header): Ditto.
4843         (elmo-shimbun-msgdb-to-headers): Removed.
4844         (elmo-shimbun-folder-setup): Ditto.
4845         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4846         for hash key.
4847         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4848         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4849         Removed useless local bind.
4850         (elmo-folder-open-internal): Don't call
4851         `elmo-shimbun-folder-setup'.
4852         (elmo-folder-close-internal): Clear entity-hash slot.
4853         (elmo-folder-clear): Ditto.
4854         (elmo-shimbun-msgdb-create-entity): Use
4855         `elmo-shimbun-folder-shimbun-header'.
4856         (elmo-map-message-fetch): Ditto.
4857         (elmo-shimbun-update-overview): Use overview entity instead of
4858         shimbun header to lookup id by references.
4859         (elmo-map-folder-list-message-locations): Use not only headers but
4860         also overviews to list locations.
4861
4862 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4863
4864         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4865         msgdb path.
4866
4867         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4868
4869 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4870
4871         * elmo-util.el (elmo-read-search-condition-internal): Give default
4872         value for date.
4873
4874 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
4875
4876         * elmo-util.el (elmo-condition-parse-search-value): Accept
4877         YYYY-MM-DD format to search.
4878         * elmo-date.el (elmo-date-get-datevec): Likewise.
4879
4880 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
4881
4882         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4883         debugging code.
4884
4885 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4886
4887         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4888         from t.
4889
4890         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4891
4892         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4893         case from `elmo-folder-exists-p'.
4894         (elmo-folder-exists-p): Removed.
4895         (elmo-folder-creatable-p) Ditto.
4896
4897         * elmo-net.el (elmo-folder-create): Defined.
4898         (elmo-folder-create-unplugged): New function.
4899         (elmo-folder-exists-p): Changed default value to nil from t.
4900
4901         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4902         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4903
4904         * elmo-dop.el (elmo-folder-create-dop): Renamed from
4905         `elmo-create-folder-dop' and append queue
4906         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4907         (elmo-folder-create-dop-delayed): New function.
4908
4909         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4910
4911         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4912
4913         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4914         (elmo-folder-writable-p) : Ditto.
4915
4916         * elmo-version.el (elmo-version): Up to 2.9.9.
4917
4918 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4919
4920         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4921         `elmo-message-use-cache-p' returns nil.
4922         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4923         (ignore cache file and refer the substance in local folders)
4924
4925 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4926
4927         * elmo-version.el (elmo-version): Up to 2.9.8.
4928
4929 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
4930
4931         * elmo-version.el (elmo-version): Up to 2.9.7.
4932
4933         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4934
4935 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
4936
4937         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4938
4939 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
4940
4941         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4942         from --early.
4943         (elmo-map-folder-list-message-locations): Reverse location list.
4944
4945 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
4946
4947         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4948
4949 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
4950
4951         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4952         as a key.
4953         (elmo-nntp-folder-list-subfolders): Follow the change above.
4954
4955 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
4956
4957         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4958         name if authentication type is specified.
4959
4960 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
4961
4962         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4963         variable.
4964         (elmo-default-nntp-stream-type): Ditto.
4965         (elmo-default-pop3-stream-type): Ditto.
4966
4967 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
4968
4969         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4970
4971 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4972
4973         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4974         elmo-vars.el.
4975         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4976
4977         * elmo-vars.el (elmo-localnews-folder-path): Removed.
4978         (elmo-maildir-folder-path): Ditto.
4979         (elmo-maildir-list): Ditto (abolished).
4980
4981 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
4982
4983         * elmo-version.el (elmo-version): Up to 2.9.6.
4984
4985 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4986
4987         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4988         (elmo-maildir-folder-path): Ditto.
4989         (elmo-msgdb-directory): Ditto.
4990         (elmo-passwd-life-time): Ditto.
4991         (elmo-msgdb-extra-fields): Ditto.
4992         (elmo-enable-disconnected-operation): Ditto.
4993
4994 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
4995
4996         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4997         other choices.
4998         (elmo-pop3-default-authenticate-type): Ditto.
4999
5000 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5001
5002         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5003         choices for custom.
5004         (elmo-pop3-default-authenticate-type): Ditto.
5005
5006 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5007
5008         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5009         mailbox to new-folder.
5010
5011 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5012
5013         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5014         less than new, set new as unread.
5015
5016         * elmo-util.el (elmo-string): Don't put text-property if nil.
5017
5018 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5019
5020         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5021         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5022
5023 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5024
5025         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5026         is nil on `completing-read'.
5027
5028 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5029
5030         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5031         for namespace part.
5032         (elmo-imap4-parse-namespace-subr): Ditto.
5033         (elmo-folder-list-subfolders): Append a delimiter when the specified
5034         folder path is a root with namespace and does not end with delimiter.
5035
5036 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5037
5038         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5039         was used.
5040
5041 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5042
5043         * elmo-util.el (elmo-save-buffer): The first argument of message
5044         is a format control string.
5045
5046 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5047
5048         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5049         `elmo-folder-diff').
5050         (elmo-diff-unread): Likewise.
5051
5052 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5053
5054         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5055         is t on `completing-read'.
5056
5057 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5058
5059         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5060         method of target folder with self mark-alist if MARK-ALIST is nil.
5061
5062 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5063
5064         * elmo-version.el (elmo-version): Up to 2.9.5.
5065
5066 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5067
5068         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5069         (elmo-dop-merge-funcs): Remove.
5070
5071 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5072
5073         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5074         Return t if PATH is directory, too.
5075         Use `dolist' instead of while loop.
5076
5077 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5078
5079         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5080         is deleted.
5081
5082 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5083
5084         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5085         return value to t.
5086         (elmo-folder-list-messages-unplugged): Return t if
5087         elmo-enable-disconnected-operation is nil.
5088
5089         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5090         `elmo-folder-list-messages-internal'.
5091
5092 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5093
5094         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5095         Change to looking-at `[23][0-9]+'.
5096         (elmo-network-initialize-session): Use 'error-msg'
5097         * elmo-net.el (elmo-network-open-session): Set unplugged
5098         if elmo-network-initialize-session returns 'elmo-open-err.
5099
5100 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5101
5102         * elmo-version.el (elmo-version): Up to 2.9.4.
5103
5104 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5105
5106         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5107         `elmo-folder-list-messages-internal'.
5108
5109 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5110
5111         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5112         (elmo-message-match-condition): New method.
5113         (elmo-folder-search-fast): New inline function.
5114         (elmo-msgdb-search): Removed.
5115
5116         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5117         target folder if it is unplugged.
5118         (elmo-folder-list-messages-internal): Return t if target folder is
5119         unplugged and itself is persistent; In this case, use list be
5120         searched already.
5121
5122         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5123         (elmo-msgdb-search-internal-primitive): Ditto.
5124         (elmo-msgdb-match-condition): New function.
5125         (elmo-msgdb-match-condition-primitive): Ditto.
5126
5127         * elmo-util.el (elmo-filter-condition-p): New macro.
5128
5129         * elmo-cache.el (elmo-folder-search): Removed.
5130
5131         * elmo-localdir.el (elmo-folder-search): Ditto.
5132
5133         * elmo-maildir.el (elmo-folder-search): Ditto.
5134
5135         * elmo-mark.el (elmo-folder-search): Ditto.
5136
5137         * elmo-nmz.el (elmo-folder-search): Ditto.
5138
5139         * elmo-sendlog.el (elmo-folder-search): Ditto.
5140
5141         * elmo-shimbun.el (elmo-folder-search): Ditto.
5142
5143         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5144         if folder is unplugged.
5145
5146         * elmo-nntp.el (elmo-folder-search): Likewise.
5147         (elmo-nntp-search-internal): New function.
5148
5149         * elmo-version.el (elmo-version): Up to 2.9.3.
5150
5151 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5152
5153         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5154
5155 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5156
5157         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5158
5159 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5160
5161         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5162
5163 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5164
5165         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5166         (elmo-map-folder-list-message-locations): Do drive letter conversion
5167         on Windows environment.
5168         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5169         (elmo-map-message-fetch): Ditto.
5170
5171 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5172
5173         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5174         (elmo-network-initialize-session): Ditto.
5175
5176 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5177
5178         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5179
5180         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5181
5182         * elmo-util.el (elmo-progress-clear): Ditto.
5183
5184         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5185         `DD-Mon-YYYY' type date.
5186
5187 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5188
5189         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5190         `elmo-date-make-sortable-string' instead of
5191         `timezone-make-date-sortable'.
5192
5193         * elmo-date.el (elmo-date-make-sortable-string): Use
5194         `timezone-make-time-string'.
5195
5196 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5197
5198         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5199
5200         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5201         `since'; Fix timezone.
5202
5203         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5204
5205         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5206
5207 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5208
5209         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5210
5211 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5212
5213         * elmo.el (elmo-generic-folder-append-messages): Make
5214         fetch-strategy with `use-cache' as 'maybe. Check return value of
5215         `elmo-message-fetch'.
5216         (elmo-message-fetch): Return return value of
5217         `elmo-message-fetch-with-cache-process'.
5218         (elmo-message-fetch-with-cache-process): Return non-nil if
5219         fetching was succeed. Load cache when fetching was failed and
5220         fetch-strategy-use-cache is 'maybe.
5221
5222         * elmo-util.el (elmo-file-cache-load): New function.
5223
5224         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5225         defun.
5226
5227         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5228         non-nil if fetching was succeed.
5229
5230         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5231
5232         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5233
5234         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5235         (elmo-message-fetch-with-cache-process): Likwise.
5236
5237         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5238
5239         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5240
5241         * elmo-version.el (elmo-version): Up to 2.9.2.
5242
5243 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5244
5245         * elmo.el (elmo-folder-delete): Delete msgdb path.
5246
5247         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5248
5249         * elmo-maildir.el (elmo-folder-delete): Ditto.
5250
5251         * elmo-localdir.el (elmo-folder-delete): Ditto.
5252
5253         * elmo-imap4.el (elmo-folder-delete): Ditto.
5254
5255 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5256
5257         * elmo.el (luna-define-class): Added `biff' slot.
5258
5259         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5260         (elmo-pop3-debug-inhibit-logging): Abolished.
5261         (elmo-network-close-session): Eliminated needless let.
5262         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5263         (elmo-pop3-send-command): Added `no-log' argument.
5264         (elmo-pop3-process-filter): Use `with-current-buffer'.
5265         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5266         if login failure.
5267         (elmo-pop3-auth-apop): Likewise.
5268         (elmo-network-authenticate-session): Likewise.
5269
5270         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5271         if biff folder.
5272
5273         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5274         string to determine protocol.
5275         (elmo-network-session-name-prefix): Abolished.
5276         (elmo-network-session-cache-key): Follow the change above.
5277         (elmo-network-open-session): Ditto.
5278
5279         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5280         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5281
5282         * elmo-version.el (elmo-version): Up to 2.9.1.
5283
5284         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5285         unmatch condition checking.
5286
5287         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5288         condition.
5289
5290 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5291
5292         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5293
5294 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5295
5296         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5297         test for while loop to execute at least one SEARCH command.
5298
5299 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5300
5301         * elmo-version.el (elmo-version): Up to 2.9.0.
5302
5303 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5304
5305         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5306         (elmo-archive-folder-path): Define.
5307         (elmo-folder-initialize): Setup `dir-name' slot.
5308         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5309         Use `dir-name' as prefix of each subfolders.
5310         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5311
5312 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5313
5314         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5315         (elmo-pipe-folder-list-target-messages): New internal function.
5316         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5317         `killed-list'.
5318         (elmo-pipe-folder-copied-list-load): New function.
5319         (elmo-pipe-folder-copied-list-save): Ditto.
5320         (elmo-folder-open-internal): Follow the change above.
5321         (elmo-folder-status): Fixed for copy.
5322
5323 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5324
5325         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5326
5327 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5328
5329         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5330         elmo-copy-file instead of elmo-add-name-to-file.
5331
5332         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5333
5334         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5335         "file://..." index.
5336
5337         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5338         of accept-process-output as 1.
5339         (elmo-pop3-read-contents): Ditto.
5340         (elmo-pop3-read-body): Ditto.
5341
5342 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5343
5344         * elmo-version.el (product-version-as-string): Remove define.
5345
5346 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5347
5348         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5349         (elmo-imap4-copy-messages): Chop number set using
5350         `elmo-imap4-number-set-chop-length'.
5351         (elmo-imap4-set-flag): Ditto.
5352         (elmo-imap4-search-internal-primitive): Ditto.
5353
5354 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5355
5356         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5357         `elmo-folder-make-temp-dir'
5358
5359         * elmo-vars.el (elmo-cache-directory): New variable.
5360         (elmo-cache-dir): Abolished.
5361         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5362
5363         * elmo-version.el (elmo-version): Up to 2.7.7.
5364
5365 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5366
5367         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5368         defcustom; Set default value as t.
5369
5370 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5371
5372         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5373         (ldap-search-program-arguments): Changed default value.
5374         (ldap-search-basic): Accept exit status 4.
5375         (ldap/field-body): Parse options.
5376         (ldap/collect-field): Ditto.
5377         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5378
5379         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5380         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5381         (elmo-imap4-accept-ok): Ditto.
5382         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5383         'notify-bye, only BYE error is reported.
5384         (elmo-folder-exists-p-plugged): Set no-error argument of
5385         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5386
5387         * elmo.el (elmo-imap4-bye-error): Changed message.
5388
5389         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5390         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5391         queues (It causes infinite loop).
5392
5393 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5394
5395         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5396         (RECENT UNSEEN MESSAGES) extension.
5397
5398 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5399
5400         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5401         Check number of overview fields.
5402
5403 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5404
5405         * elmo.el (elmo-folder-confirm-appends): Changed message.
5406         (elmo-folder-confirm-appends): Ditto.
5407
5408         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5409         `with-temp-buffer'.
5410         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5411
5412 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5413
5414         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5415         of elmo-folder-update-threshold is nil, which can be set by
5416         wl-summary-update-confirm-threshold.
5417
5418 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5419
5420         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5421         (elmo-nmz-index-alias-alist): Ditto.
5422         (elmo-map-folder-list-message-locations): Follow the change above.
5423
5424 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5425
5426         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5427
5428         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5429
5430         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5431
5432         * elmo-util.el (elmo-read): Ditto.
5433         (elmo-display-error): Ditto.
5434
5435         * elmo-vars.el (elmo-date-match): Ditto.
5436
5437         * pldap.el (ldap-coding-system): Ditto.
5438
5439         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5440         `elmo-inhibit-number-mapping' as nil.
5441
5442 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5443
5444         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5445         space delimiter for list response.
5446
5447 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5448
5449         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5450
5451 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5452
5453         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5454         (elmo-map-message-fetch): Fix.
5455         * elmo-map.el (elmo-folder-status): Fix for killed.
5456
5457 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5458
5459         * elmo-sendlog.el: New file.
5460         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5461
5462 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5463
5464         * acap.el (acap-logging-out): New buffer local variable.
5465         (acap-close): Set it.
5466         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5467         an error.
5468
5469 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5470
5471         * acap.el (acap-response-bye-p): New function.
5472         (acap-response-bye-message): Ditto.
5473         (acap-wait-for-response): If bye response is received, cause an error.
5474         (acap-parse-response): Make bye response when 'Bye' is received.
5475
5476 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5477
5478         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5479
5480 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5481
5482         * elmo-util.el (elmo-copy-file): Added argument
5483         `ok-if-already-exists'.
5484         (elmo-copy-file): Fixed typo.
5485
5486 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5487
5488         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5489
5490 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5491
5492         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5493
5494 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5495
5496         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5497         to killed-list.
5498
5499 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5500
5501         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5502         (elmo-folder-initialize): Fix for `copy'.
5503         (elmo-pipe-drain): Ditto.
5504         (elmo-folder-open-internal): Ditto.
5505         (elmo-folder-newsgroups): Fix.
5506
5507 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5508
5509         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5510         for each message.
5511
5512         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5513         recent value is returned from imap folder.
5514
5515         * elmo.el (elmo-folder-newsgroups): New generic function.
5516
5517         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5518         (elmo-folder-initialize): Set it.
5519         (elmo-folder-expand-msgdb-path): Use it.
5520         (elmo-folder-newsgroups): Define.
5521
5522         * elmo-filter.el (elmo-folder-newsgroups): Define.
5523
5524         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5525
5526         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5527
5528         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5529
5530 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5531
5532         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5533         user option.
5534         (elmo-shimbun-header-extra-field): New inline function.
5535         (elmo-shimbun-header-set-extra-field): Ditto.
5536         (elmo-shimbun-folder-header-hash-setup): Ditto.
5537         (elmo-shimbun-update-overview): Ditto.
5538         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5539         (elmo-shimbun-folder-setup): Use
5540         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5541         (elmo-shimbun-get-headers): Ditto.
5542         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5543         Insert `X-Shimbun-Id:' header if extra field is set.
5544         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5545         field's value instead of `shimbun-header-id'.
5546
5547         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5548         inline function.
5549         (elmo-msgdb-overview-entity-set-date): Ditto.
5550         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5551
5552 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5553
5554         * mmimap.el (mmimap-entity-section): Changed body node number from
5555         "0" to "1".
5556
5557 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5558
5559         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5560         `elmo-folder-delete-messages'.
5561
5562         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5563         (elmo-folder-initialize): Changed to expand alias into index path.
5564
5565         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5566         `elmo-mime-insert-header-from-buffer' with 6th arg
5567         `sorted-fields'.
5568
5569 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5570
5571         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5572
5573         * elmo.el (elmo-diff-new): New inline function.
5574         (elmo-diff-unread): Ditto.
5575         (elmo-diff-all): Ditto.
5576
5577         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5578         value from responseb.
5579         (elmo-imap4-folder-diff-plugged): Ditto.
5580         (elmo-imap4-server-diff-async): Added recent argument.
5581         (elmo-server-diff-async): Ditto.
5582         (elmo-imap4-folder-diff-plugged): Ditto.
5583
5584         * elmo-version.el (elmo-version): Up to 2.7.6.
5585
5586 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5587
5588         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5589         in quoted-stirng.
5590
5591 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5592
5593         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5594
5595         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5596
5597         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5598
5599         * elmo-multi.el (elmo-folder-initialize): Ditto.
5600
5601         * elmo-util.el (elmo-parse-token): New function.
5602         (elmo-parse-prefixed-element): Ditto.
5603
5604 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5605
5606         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5607         delete process.
5608         (elmo-imap4-accept-ok): Ditto.
5609
5610 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5611
5612         * mmimap.el (mime-imap-entity-header-string): Don't check first
5613         element of node-id is `0' (Follow last change).
5614
5615 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5616
5617         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5618         assigned irregular node-id to nested multipart section.
5619         (initialize-instance): Followed above change.
5620
5621 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5622
5623         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5624         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5625         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5626         `elmo-shimbun-get-headers');
5627         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5628         visible article on summary exists in headers).
5629         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5630
5631 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5632
5633         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5634         definition.
5635
5636 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5637
5638         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5639
5640 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5641
5642         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5643         header separator into loop condition.
5644
5645 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5646
5647         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5648         Return duplicate folder if it has subfolder.
5649
5650 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5651
5652         * elmo.el (elmo-make-folder): Add folder name error check.
5653
5654         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5655         (elmo-nntp-encode-group-string): New inline function.
5656         (elmo-nntp-decode-group-string): Ditto.
5657         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5658         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5659         Use `not' instead of `null';
5660         Use elmo-nntp-decode-group-string.
5661
5662         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5663
5664         * elmo-version.el (elmo-version): Up to 2.7.5.
5665
5666 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5667
5668         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5669         Hide progress gauge if `elmo-folder-move-messages' exits
5670         nonlocally.
5671
5672 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5673
5674         * elmo-imap4.el (elmo-folder-initialize): Use
5675         `elmo-imap4-encode-folder-string' for folder name.
5676
5677 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5678
5679         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5680         `done'.
5681
5682 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5683
5684         * elmo-util.el (elmo-progress-counter-alist): New internal
5685         variable.
5686         (elmo-progress-counter-value): New macro.
5687         (elmo-progress-counter-all-value): Ditto.
5688         (elmo-progress-counter-format): Ditto.
5689         (elmo-progress-counter-set-value): Ditto.
5690         (elmo-progress-set): New function.
5691         (elmo-progress-clear): Ditto.
5692         (elmo-progress-notify): Ditto.
5693
5694         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5695         counter.
5696
5697         * elmo.el (elmo-generic-folder-append-messages): Call
5698         `elmo-progress-notify'.
5699         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5700
5701         * elmo-archive.el (elmo-folder-append-messages): Call
5702         `elmo-progress-notify'.
5703
5704         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5705
5706         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5707
5708         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5709
5710 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5711
5712         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5713         'Create'.
5714         (elmo-message-encache-dop): Added argument `read'.
5715
5716         * elmo-shimbun.el (elmo-message-encache): Ditto.
5717
5718         * elmo-net.el (elmo-message-encache): Ditto.
5719
5720         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5721         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5722         elmo-imap4-seen-messages.
5723         (elmo-folder-msgdb-create-plugged): Initialize
5724         elmo-imap4-seen-messages;
5725         Set seen mark on elmo-imap4-seen-messages.
5726
5727         * elmo-pipe.el (elmo-folder-message-file-p): Define.
5728
5729         * elmo.el (elmo-generic-folder-append-messages): Check return value of
5730         elmo-folder-append-buffer.
5731         (elmo-folder-encache): Added optional argument `read'.
5732         (elmo-message-encache): Ditto.
5733
5734         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5735
5736         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5737
5738         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5739         if append buffer content succeds.
5740
5741 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5742
5743         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5744         elmo-display-progress.
5745
5746         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5747         Set 4th argument of mime-display-message.
5748         (elmo-mime-display-as-is): Ditto.
5749
5750 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
5751
5752         * elmo-nmz.el (toplevel): Require 'mime-edit.
5753         (elmo-nmz-content-type-alist): Abolished.
5754         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5755         content is not a message.
5756         (elmo-map-message-fetch): Changed behavior exept for message content;
5757         Detect mime-charset automatically, Use `mime-find-file-type' to detect
5758         content-type, Add From: and Subject: field.
5759
5760 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5761
5762         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5763         (elmo-map-message-fetch): Add `Content-Type' field if contents is
5764         not a message.
5765
5766 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5767
5768         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5769         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5770
5771         * elmo-archive.el (elmo-folder-writable-p): Defined.
5772
5773         * elmo-cache.el (elmo-folder-writable-p): Ditto.
5774
5775         * elmo-filter.el (elmo-folder-writable-p): Ditto.
5776
5777         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5778
5779         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5780
5781         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5782
5783         * elmo-mark.el (elmo-folder-writable-p): Ditto.
5784
5785         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5786
5787         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5788
5789 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
5790
5791         * elmo-util.el (elmo-address-quote-specials): New function;
5792         Renamed from `wl-address-quote-specials'.
5793
5794 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5795
5796         * elmo-version.el (elmo-version): Up to 2.7.4.
5797
5798 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
5799
5800         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5801
5802 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5803
5804         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5805         both compile-time and run-time to avoid byte-compile warning.
5806
5807 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
5808
5809         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5810
5811 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5812
5813         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5814         option.
5815         (elmo-mime-display-as-is-internal): Use it.
5816
5817         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5818         if `read-passwd' is not defined.
5819
5820 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
5821
5822         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5823         by original number.
5824         (elmo-folder-status): Call `elmo-folder-open-internal';
5825         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5826         (elmo-folder-close-internal): Set location-alist as nil.
5827         (elmo-folder-clear): Define.
5828         (elmo-folder-check): Don't set location-alist as nil.
5829
5830         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5831
5832 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
5833
5834         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5835         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5836
5837         * mmimap.el (mime-imap-entity::requested): New slot.
5838         (mime-imap-location-fetch-entity-p): New generic function.
5839         (mime-decode-parameters): Define using `defun-maybe'.
5840         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5841         content-type structure.
5842         (mime-entity-body): Return empty body if
5843         `mime-imap-location-fetch-entity-p' returns nil in the first request.
5844
5845         * elmo.el (elmo-message-displaying): New variable.
5846
5847         * elmo-mime.el (elmo-mime-message-display): Bind
5848         elmo-message-displaying as t.
5849
5850         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5851
5852 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
5853
5854         * acap.el (acap-open): erase buffer before starting network process.
5855         (acap-store): Rewrite.
5856
5857 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
5858
5859         * elmo-imap4.el (elmo-imap4-default-mailbox,
5860         elmo-imap4-default-server
5861         elmo-imap4-default-authenticate-type,
5862         elmo-imap4-default-user,
5863         elmo-imap4-default-port,
5864         elmo-imap4-default-stream-type,
5865         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5866
5867         * elmo-pop3.el (elmo-pop3-default-user,
5868         elmo-pop3-default-server,
5869         elmo-pop3-default-authenticate-type,
5870         elmo-pop3-default-port,
5871         elmo-pop3-default-stream-type,
5872         elmo-pop3-stream-type-alist): Ditto.
5873
5874         * elmo-nntp.el (elmo-nntp-default-server,
5875         elmo-nntp-default-user,
5876         elmo-nntp-default-port,
5877         elmo-nntp-default-stream-type,
5878         elmo-nntp-stream-type-alist): Ditto.
5879
5880         * elmo-vars.el: Follow changes above.
5881         (elmo-setting): New custom group; added 'elmo-setting group to
5882         above variables.
5883
5884         * elmo-version.el (elmo-version): Up to 2.7.3.
5885
5886         * acap.el (acap-parse-response): Don't delete process when BYE
5887         response (It causes hang-up on slow network environment).
5888         (toplevel): Added comment.
5889
5890 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
5891
5892         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5893
5894         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5895         parsing NIL.
5896         (acap-parse-return-metadata): Ditto.
5897
5898         * slp.el: New file.
5899         (toplevel): Fixed typo.
5900
5901         * acap.el: New file.
5902         (acap-network-stream-open): Show "Connecting..." message.
5903         (acap-parse-response): Fixed problem for BYE untagged response.
5904         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5905         (toplevel): Added tiny comments.
5906
5907 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
5908
5909         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5910         space delimiter for uidl response.
5911
5912 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
5913
5914         * elmo-vars.el (elmo-use-semi): Eliminated.
5915
5916         * elmo-util.el (elmo-string-assoc-all): New function.
5917
5918 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5919
5920         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5921         property 'mime-preview-situation for `mime-preview-quit'.
5922
5923 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5924
5925         * elmo.el (elmo-message-fetch-with-cache-process): Call
5926         elmo-message-fetch-internal instead of causing an error when fetch
5927         strategy is 'entire but only 'section cache is available.
5928
5929 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
5930
5931         * elmo-version.el (elmo-version): Up to 2.7.2.
5932
5933         * elmo.el (elmo-generic-folder-append-messages): Make
5934         fetch-strategy with `use-cache'.
5935
5936         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5937         (elmo-dop-queue-method-name): New macro.
5938
5939 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5940
5941         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5942         unbalanced parenthesis.
5943
5944 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
5945
5946         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5947
5948 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
5949
5950         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5951         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5952
5953 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
5954
5955         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5956         local variables.
5957
5958 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
5959
5960         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5961         (elmo-message-use-cache-p): Define.
5962         (elmo-folder-msgdb-create): Treat cache.
5963
5964 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
5965
5966         * elmo-nntp.el (elmo-network-initialize-session): Call
5967         `elmo-nntp-send-mode-reader'.
5968         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5969
5970 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
5971
5972         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5973         alist.
5974         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5975         assoc.
5976
5977         * elmo-net.el (elmo-network-get-session): Set stream-type argument
5978         for `elmo-plugged-p'.
5979         (elmo-open-network-stream): Fixed stream-type argument.
5980
5981 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
5982
5983         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5984         unknown archive type is specified.
5985
5986 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
5987
5988         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5989
5990         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5991         while loading msgdb.
5992
5993         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5994         (elmo-folder-open-internal): Rewrite.
5995
5996 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
5997
5998         * elmo-mime.el (elmo-mime-display-as-is-internal):
5999         Adjust buffer-multibyte status.
6000
6001 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6002
6003         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6004         of elmo-condition-find-key.
6005
6006         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6007         (elmo-condition-in-msgdb-p): Ditto.
6008         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6009         argument.
6010
6011 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6012
6013         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6014
6015 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6016
6017         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6018         label for elmo-display-progress.
6019
6020 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6021
6022         * elmo.el (elmo-folder-clear): New method.
6023         (elmo-folder-clear): Define.
6024         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6025
6026         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6027         (elmo-folder-clear): Define.
6028
6029         * elmo-map.el (elmo-folder-clear): Define.
6030
6031         * elmo-version.el (elmo-version): Up to 2.7.1.
6032
6033 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6034
6035         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6036         updates.
6037
6038 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6039
6040         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6041         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6042
6043 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6044
6045         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6046
6047         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6048         and re-written.
6049
6050         * elmo-imap4.el (elmo-folder-initialize): Use
6051         elmo-get-network-stream-type.
6052
6053         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6054
6055         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6056
6057 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6058
6059         * elmo.el (elmo-message-encache): Set unread argument for
6060         elmo-message-fetch.
6061
6062         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6063
6064         * elmo.el (elmo-net-port-info): New method.
6065
6066         * elmo-shimbun.el (elmo-net-port-info): Define.
6067         (elmo-message-encache): Ditto.
6068
6069         * elmo-net.el (elmo-net-port-info): Define as method.
6070
6071         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6072         unplugged status when elmo-enable-disconnected-operation is t.
6073
6074         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6075         of spool folder before checking new number.
6076
6077 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6078
6079         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6080         (elmo-network-setup-session): Ditto.
6081         (elmo-message-fetch-plugged): Ditto.
6082         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6083         (elmo-network-initialize-session): Ditto.
6084         (elmo-pop3-read-response): Abolish 3rd argument.
6085         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6086         (elmo-pop3-read-contents): Ditto.
6087         (elmo-pop3-read-body): Ditto.
6088         (elmo-folder-status): Call elmo-folder-close.
6089         (elmo-pop3-lock): Abolish.
6090         (elmo-pop3-unlock): Ditto.
6091         (elmo-pop3-locked-p): Ditto.
6092         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6093
6094 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6095
6096         * elmo-version.el (elmo-version): Up to 2.7.0.
6097
6098         * elmo-pop3.el (elmo-pop3-debug): New variable.
6099         (elmo-pop3-debug-inhibit-logging): Ditto.
6100         (elmo-pop3-debug): New function.
6101         (elmo-pop3-send-command): Call elmo-pop3-debug.
6102         (elmo-pop3-read-response): Added keep-lock optional argument;
6103         Don't unlock if keep-lock is non-nil.
6104         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6105         (elmo-network-authenticate-session): Bind
6106         elmo-pop3-debug-inhibit-logging as t.
6107         (elmo-network-setup-session): Call elmo-pop3-read-response with
6108         keep-lock argument.
6109         (elmo-pop3-read-msg): Ditto.
6110         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6111         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6112         (elmo-network-initialize-session): Call elmo-pop3-lock.
6113         (elmo-folder-close-internal): Don't clear location-alist slot.
6114         (elmo-folder-check): Clear location-alist slot.
6115
6116 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6117
6118         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6119         (elmo-pop3-send-command): Call elmo-pop3-lock.
6120         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6121         (elmo-pop3-read-contents): Ditto.
6122         (elmo-pop3-lock): New function.
6123         (elmo-pop3-unlock): Ditto.
6124         (elmo-pop3-locked-p): Ditto.
6125         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6126         returns t.
6127
6128 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6129
6130         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6131
6132         * elmo-util.el (elmo-file-field-primitive-condition-match):
6133         New inline function (Don't fetch file content if "first" or "last").
6134         (elmo-file-field-condition-match): Use
6135         elmo-file-field-primitive-condition-match.
6136
6137         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6138         "first".
6139
6140         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6141         (elmo-message-fetch-plugged): Fixed.
6142
6143         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6144
6145 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6146
6147         * elmo.el (elmo-folder-move-messages): Bind
6148         elmo-inhibit-display-retrieval-progress as t while moving messages.
6149
6150         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6151         New variable.
6152         (elmo-inhibit-display-retrieval-progress): Ditto.
6153
6154         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6155         for retrieval progress;
6156         Don't display progress when total buffer size is smaller than
6157         elmo-display-retrieval-progress-threshold.
6158         (elmo-message-fetch-plugged): Don't display progress when
6159         elmo-inhibit-display-retrieval-progress is non-nil.
6160
6161         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6162         for retrieval progress;
6163         Don't display progress when literal size is smaller than
6164         elmo-display-retrieval-progress-threshold.
6165         (elmo-imap4-message-fetch): Don't display progress when
6166         elmo-inhibit-display-retrieval-progress is non-nil.
6167
6168 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6169
6170         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6171         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6172         (elmo-imap4-message-fetch): Likewise.
6173
6174         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6175         (elmo-shimbun-index-range-alist): Ditto.
6176         (elmo-shimbun-use-entire-index): Abolish.
6177         (shimbun-mua-use-entire-index): Ditto.
6178         (elmo-shimbun-folder): Added new slot `range'.
6179         (elmo-folder-initialize): Setup slot `range'.
6180
6181 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6182
6183         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6184         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6185         (elmo-shimbun-get-headers): Use return value of
6186         `shimbun-article-expiration-days'.
6187         (elmo-folder-close-internal): Clean up last-check slot.
6188
6189         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6190         (elmo-pop3-total-size): New variable.
6191         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6192
6193         * elmo.el (elmo-folder-reserve-status-p): New method.
6194
6195         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6196         (elmo-shimbun-use-entire-index): New user option.
6197         (shimbun-elmo-mua): New class.
6198         (shimbun-mua-search-id): Define.
6199         (shimbun-mua-use-entire-index): Ditto.
6200         (elmo-shimbun-folder:last-check): New slot.
6201         (elmo-shimbun-headers-cache-header-list): Abolish.
6202         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6203         (elmo-shimbun-headers-cache-header-hash): Ditto.
6204         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6205         (elmo-shimbun-headers-cache-last-check): Ditto.
6206         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6207         (elmo-shimbun-headers-check-p): Rewrite.
6208         (elmo-shimbun-msgdb-to-headers): New function.
6209         (elmo-shimbun-get-headers): Rewrite.
6210         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6211         (elmo-folder-open-internal): Get headers only if
6212         `elmo-shimbun-headers-check-p' is non-nil.
6213         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6214         is non-nil.
6215         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6216         (elmo-quit): Removed.
6217
6218         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6219         function.
6220         (elmo-msgdb-overview-entity-set-extra): Ditto.
6221         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6222
6223         * elmo-map.el (elmo-folder-status): Don't call
6224         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6225         is non-nil.
6226
6227 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6228
6229         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6230         of `elmo-msgdb-search-internal-primitive' when condition's car is
6231         `and' or `or'.
6232
6233 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6234
6235         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6236
6237 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6238
6239         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6240         call `elmo-pipe-drain'.
6241
6242 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6243
6244         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6245         typo. (elmo-cache-folder -> elmo-mark-folder)
6246
6247 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6248
6249         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6250         `elmo-message-fetch'.
6251
6252 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6253
6254         * elmo-net.el (elmo-message-encache): Fixed typo.
6255         (elmo-message-fetch-unplugged): Changed call
6256         `elmo-message-fetch-internal' without argument `outbuf'.
6257
6258 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6259
6260         * elmo.el (elmo-message-encache): Define as generic function.
6261         (elmo-message-fetch-field): New generic function.
6262         (elmo-message-fetch-with-cache-process): Cause an error when
6263         fetch strategy is 'entire but only 'section cache is available.
6264         (toplevel): Fixed nmz folder definition.
6265
6266         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6267         (elmo-msgdb-resume-list-filename): Ditto.
6268         (elmo-queue-filename): Ditto.
6269         (elmo-enable-disconnected-operation): Changed default value to t.
6270
6271         * elmo-util.el (elmo-cache-path-section-p): New function.
6272         (elmo-file-cache-get): Use it.
6273         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6274         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6275         (elmo-dop-queue-save): Ditto.
6276
6277         * elmo-net.el (elmo-folder-status-unplugged): Call
6278         elmo-folder-status-dop.
6279         (elmo-folder-list-messages-unplugged): Implemented.
6280         (elmo-folder-delete-messages-unplugged): Define.
6281         (elmo-folder-msgdb-create): Define.
6282         (elmo-folder-msgdb-create-unplugged): Define.
6283         (elmo-folder-mark-as-read-unplugged): Ditto.
6284         (elmo-folder-unmark-read-unplugged): Ditto.
6285         (elmo-folder-mark-as-important-unplugged): Ditto.
6286         (elmo-folder-unmark-important-unplugged): Ditto.
6287         (elmo-message-encache): Ditto.
6288
6289         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6290         (elmo-dop-queue-save): Ditto.
6291
6292         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6293         `elmo-folder-msgdb-create'.
6294         (elmo-folder-append-buffer): Implemented unplugged operation.
6295         (elmo-folder-append-messages): Call parent method in unplugged status.
6296         (elmo-message-fetch-unplugged): Removed definition.
6297         (elmo-message-fetch-field): Implemented.
6298
6299         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6300         (elmo-dop-folder): Removed variable definition.
6301         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6302         (elmo-dop-queue-flush): Implemented.
6303         (elmo-dop-queue-merge): Removed definition (TODO).
6304         (elmo-dop-spool-folder): New function.
6305         (elmo-dop-spool-folder-append-buffer): Ditto.
6306         (elmo-dop-spool-folder-list-messages): Ditto.
6307         (elmo-dop-list-deleting-messages): Ditto.
6308         (elmo-folder-append-buffer-dop): Ditto.
6309         (elmo-folder-delete-messages-dop): Ditto.
6310         (elmo-message-encache-dop): New inline function.
6311         (elmo-create-folder-dop): Ditto.
6312         (elmo-folder-mark-as-read-dop): Ditto.
6313         (elmo-folder-unmark-read-dop): Ditto.
6314         (elmo-folder-mark-as-important-dop): Ditto.
6315         (elmo-folder-unmark-important-dop): Ditto.
6316         (elmo-folder-status-dop): Fixed.
6317         (elmo-folder-append-buffer-dop-delayed): New function.
6318         (elmo-folder-delete-messages-dop-delayed): Ditto.
6319         (elmo-dop-msgdb): Ditto.
6320
6321 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6322
6323         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6324
6325 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6326
6327         * elmo.el (elmo-folder-move-messages): Fixed problem when
6328         `dst-folder' is 'null.
6329
6330 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6331
6332         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6333         instead of current mark.
6334
6335         * elmo-multi.el (elmo-folder-list-importants-internal): No
6336         operation if importants is not list.
6337
6338         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6339         Return t if importants is not list.
6340
6341         * elmo-map.el (elmo-map-folder-list-importants): Define.
6342         (elmo-folder-list-importants-internal): Check return value of
6343         `elmo-map-folder-list-importants-internal'.
6344
6345         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6346
6347         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6348
6349         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6350
6351         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6352
6353 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6354
6355         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6356         (Patch is provided by <kita@coe.nttdata.co.jp>).
6357
6358 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6359
6360         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6361         mark folder.
6362
6363 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6364
6365         * elmo.el (elmo-message-fetch): Define.
6366         (elmo-message-fetch-with-cache-process): New generic method.
6367         (elmo-message-fetch-internal): New generic method.
6368         (elmo-folder-synchronize):
6369
6370         * elmo-archive.el (elmo-message-fetch-internal): Define.
6371         (elmo-message-fetch): Eliminated.
6372
6373         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6374         (elmo-message-fetch): Eliminated.
6375
6376         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6377         argument OUTBUF.
6378         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6379
6380         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6381         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6382
6383         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6384         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6385
6386         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6387
6388         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6389
6390         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6391
6392         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6393         (elmo-message-fetch-unplugged): New generic method.
6394         (elmo-message-fetch-internal): Remove cache process (Renamed from
6395         `elmo-message-fetch').
6396
6397         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6398         (elmo-message-fetch): Eliminated.
6399         (elmo-message-fetch-unplugged): Ditto.
6400
6401         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6402
6403 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6404
6405         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6406         of `to-be-deleted' from number-alist to number-list.
6407
6408 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6409
6410         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6411         (elmo-folder-mark-as-important): Ditto.
6412
6413 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6414
6415         * elmo.el (elmo-folder): Added process-duplicates slot.
6416
6417         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6418         (elmo-folder-unmark-read): Ditto.
6419         (elmo-folder-unmark-important): Ditto.
6420         (elmo-folder-mark-as-important): Ditto.
6421
6422         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6423         duplicated message processing.
6424
6425         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6426
6427 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6428
6429         * elmo-util.el (elmo-list-subdirectories-1): New function.
6430         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6431         (elmo-mapcar-list-of-list): New function.
6432
6433         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6434         `elmo-mapcar-list-of-list' instead of `mapcar'.
6435
6436         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6437
6438         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6439         `elmo-have-link-count'. Return the fully qualified folder name.
6440
6441 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6442
6443         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6444         (elmo-shimbun-headers-cache): New internal variable.
6445         (elmo-shimbun-headers-cache-header-list): New inline function.
6446         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6447         (elmo-shimbun-headers-cache-header-hash): Ditto.
6448         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6449         (elmo-shimbun-headers-cache-last-check): Ditto.
6450         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6451         (elmo-shimbun-lapse-seconds): Ditto.
6452         (elmo-shimbun-headers-cache-check-p): Ditto.
6453         (elmo-shimbun-get-headers): New function.
6454         (elmo-folder-open-internal): Call it.
6455         (elmo-quit): Define (Clear headers-cache).
6456
6457 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6458
6459         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6460
6461         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6462         (elmo-msgdb-flist-save): Ditto.
6463
6464         * elmo-shimbun.el (elmo-folder-list-subfolders):
6465         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6466         (elmo-folder-exists-p): Ditto.
6467
6468         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6469         argument for `shimbun-header-insert'.
6470
6471 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6472
6473         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6474         at first time.
6475
6476         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6477         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6478
6479 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6480
6481         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6482         (elmo-folder-plugged-p): Define.
6483         (elmo-folder-set-plugged): Ditto.
6484         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6485         (elmo-folder-list-messages-internal): Return t if unplugged.
6486         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6487
6488         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6489         when elmo-folder-list-messages-internal method of children returns t.
6490
6491         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6492         pair is nil.
6493         (elmo-folder-open-internal): Don't update if unplugged status.
6494
6495 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6496
6497         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6498         new message.
6499
6500 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6501
6502         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6503
6504         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6505         saving.
6506
6507 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6508
6509         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6510
6511         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6512         (elmo-folder-open-internal): Set up headers slot.
6513         (elmo-folder-check): Call elmo-folder-close-internal and
6514         elmo-folder-open-internal.
6515         (elmo-folder-close-internal): Clean up headers slot.
6516
6517 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6518
6519         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6520         exactly folder list.
6521         (elmo-folder-append-messages): Fixed append archive with prefix.
6522
6523         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6524         make temp files with start-number.
6525
6526         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6527
6528 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6529
6530         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6531         argument `visible-only'.
6532         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6533         instead of `if'.
6534
6535         * elmo-pop3.el (elmo-folder-open-internal): Check
6536         `elmo-inhibit-number-mapping' is non-nil.
6537
6538         * elmo-pipe.el (elmo-folder-status): Fixed.
6539
6540 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6541
6542         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6543
6544         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6545         (elmo-folder-open-internal): Setup `header-hash' slot.
6546         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6547         information.
6548         (elmo-map-message-fetch): Ditto.
6549
6550 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6551
6552         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6553         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6554         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6555         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6556
6557         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6558
6559 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6560
6561         * sb-airs.el: Added footer.
6562
6563         * shimbun.el (shimbun-article): Define as luna-method.
6564
6565         * sb-tcup.el: New file.
6566
6567         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6568         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6569
6570 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6571
6572         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6573         (shimbun-get-headers): Ditto.
6574
6575         * elmo.el: Moved obsolete variable definitions from
6576         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6577
6578         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6579         groups.
6580
6581         * shimbun.el: New file.
6582
6583         * elmo-shimbun.el: New file.
6584
6585         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6586         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6587         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6588         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6589
6590 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6591
6592         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6593         hierarchy is t.
6594
6595 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6596
6597         * elmo.el (elmo-folder-msgdb): Define as macro.
6598         (elmo-folder-open): Added argument `load-msgdb'.
6599         (elmo-generic-folder-open): Ditto.
6600         (elmo-folder-encache): New function.
6601
6602         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6603
6604         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6605
6606         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6607         Eliminated argument FOLDER and added argument MSGDB.
6608         (elmo-dop-queue-load): Moved from elmo-dop.el.
6609         (elmo-dop-queue-save): Ditto.
6610
6611         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6612
6613         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6614
6615         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6616         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6617         (elmo-filter-folder-list-importants-internal): Ditto.
6618
6619         * elmo-map.el (elmo-folder-pack-number): Ditto.
6620
6621         * elmo-mime.el (elmo-mime-message-display): Ditto.
6622
6623         * elmo.el (elmo-generic-folder-commit): Ditto.
6624         (elmo-folder-list-unreads): Ditto.
6625         (elmo-folder-list-importants): Ditto.
6626         (elmo-generic-folder-commit): Ditto.
6627         (elmo-message-set-mark): Ditto.
6628         (elmo-generic-folder-append-msgdb): Ditto.
6629         (elmo-folder-synchronize): Ditto.
6630         (elmo-folder-messages): Ditto.
6631         (elmo-init): Call elmo-dop-queue-load.
6632         (elmo-folder-list-messages): Ditto.
6633
6634         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6635         (elmo-nntp-folder-process-crosspost): Ditto.
6636         (elmo-folder-list-unreads-internal): Ditto.
6637
6638         * elmo-dop.el: Removed old functions.
6639
6640 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6641
6642         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6643         `folder' to `msgdb'.
6644
6645 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6646
6647         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6648         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6649
6650         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6651         case-fold-search.
6652
6653 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6654
6655         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6656         defined.
6657
6658         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6659         (mmimap-parse-parameters-from-list): Define as alias for
6660         `mime-decode-parameter-plist' if it is defined as function.
6661         (mmimap-make-mime-entity): Added argument `number'.
6662         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6663         as 0.
6664         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6665
6666         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6667
6668         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6669
6670         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6671
6672 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6673
6674         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6675
6676         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6677         when elmo-imap4-default-authenticate-type is nil.
6678         (elmo-folder-list-subfolders): Ditto
6679         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6680         (elmo-imap4-fetch-callback-1-subr): Renamed from
6681         `elmo-imap4-fetch-callback-1' and define as inline function.
6682         (elmo-imap4-fetch-callback-1):
6683         Renamed from `elmo-imap4-fetch-callback'.
6684         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6685
6686         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6687         msgdb path (To keep compatibility with main trunk).
6688
6689         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6690
6691         * elmo-util.el (elmo-make-file-cache): Moved position of
6692         some macros.
6693
6694         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6695         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6696         instead of `elmo-pop3-inhibit-uidl'.
6697         (elmo-folder-exists-p): Ditto.
6698         (elmo-pop3-folder-list-messages): Ditto.
6699
6700         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6701         instead of `elmo-pop3-inhibit-uidl'.
6702         (elmo-folder-status): Ditto.
6703
6704         * elmo-dop.el (elmo-dop-folder): New variable.
6705         (elmo-dop-lock-message): Eliminated.
6706         (elmo-dop-unlock-message): Ditto.
6707         (elmo-dop-lock-list-load): Ditto.
6708         (elmo-dop-lock-list-save): Ditto.
6709         (elmo-dop-delete-folder): Ditto.
6710         (elmo-dop-rename-folder): Ditto.
6711
6712         * elmo.el: Removed incomplete commentary.
6713
6714 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6715
6716         * elmo.el (toplevel): Require 'elmo-version first;
6717         for little `recursive-load-depth' settings.
6718         Fix "ends here" comment.
6719
6720 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
6721
6722         * elmo-util.el (toplevel): Require 'poem;
6723         Some functions are moved from elmo-cache.el.
6724
6725         * elmo-net.el (toplevel): Require 'elmo-cache.
6726
6727         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6728
6729         * elmo.el (toplevel): Ditto.
6730
6731         * elmo-cache.el: Rewrite with luna;
6732         Some functions are moved to elmo-util.el.
6733
6734         * elmo-internal.el (elmo-internal-folder-list): New variable.
6735         (elmo-internal-folder-initialize): Rewrite.
6736         (elmo-folder-list-subfolders): Ditto.
6737
6738         * elmo-cache.el (elmo-cache-search-all): Eliminated.
6739         (elmo-cache-collect-sub-directories): Ditto.
6740
6741 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
6742
6743         * elmo-version.el (elmo-version): Up to 2.5.8.
6744
6745         * elmo.el (elmo-folder-list-messages-mark-match): New function.
6746
6747         * elmo-util.el (elmo-list-insert): New function.
6748
6749 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
6750
6751         * elmo.el (elmo-init): New function.
6752         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6753
6754         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6755         (Renamed from `elmo-localdir-header-chop-length').
6756
6757         * elmo-pop3.el (elmo-pop3-use-cache,
6758         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6759
6760         * elmo-nntp.el (elmo-message-fetch): Define.
6761         (elmo-message-fetch-unplugged): Ditto.
6762         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6763         (elmo-nntp-use-cache): Ditto.
6764         (elmo-nntp-max-number-precedes-list-active): Ditto.
6765
6766         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6767
6768         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6769         `elmo-msgdb-insert-file-header'.
6770         Use `elmo-msgdb-file-header-chop-length'.
6771
6772         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6773         `elmo-vars.el'.
6774
6775         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6776         (elmo-cache-msgdb-create-overview-entity-from-file): Use
6777         `elmo-msgdb-insert-file-header'.
6778
6779         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6780         Use new variable;
6781         Define obsolete variables with `elmo-define-obsolete-variable',
6782
6783         * elmo-util.el (elmo-warning-buffer-name): New constant.
6784         (elmo-warning): New function.
6785         (elmo-obsolete-variable-alist): New variable.
6786         (elmo-obsolete-variable-show-warnings): New variable.
6787         (elmo-define-obsolete-variable): New function.
6788         (elmo-resque-obsolete-variable): Ditto.
6789         (elmo-resque-obsolete-variables): Ditto.
6790
6791 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6792
6793         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6794         Eliminated.
6795
6796         * elmo-pop3.el, elmo-nntp.el: Use custom.
6797
6798 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6799
6800         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6801         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6802
6803 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6804
6805         * Luna-fy Kenichi OKADA's following changes.
6806         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6807         `nohide'.
6808         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6809
6810 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
6811
6812         * elmo-util.el (elmo-display-progress): Prefer
6813         `progress-feedback-with-label' to `lprogress-display'.
6814
6815 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
6816
6817         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6818
6819 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
6820
6821         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6822         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6823         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6824         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6825         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6826         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6827         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6828         * elmo-filter.el (elmo-filter-list-folder): Ditto.
6829         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6830         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6831         * elmo-multi.el (elmo-multi-list-folder): Ditto.
6832         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6833         * elmo-dop.el (elmo-dop-list-folder): Ditto.
6834
6835 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6836
6837         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6838         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6839
6840 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
6841
6842         * elmo.el (elmo-folder-process-crosspost): New generic method.
6843         (elmo-folder-writable-p): Ditto.
6844         (elmo-folder-message-appendable-p): Eliminated.
6845         (elmo-generic-folder-append-msgdb): Rewrite.
6846         (elmo-newsgroups-hashtb): New internal variable.
6847         (elmo-crosspost-message-set): Eliminated.
6848         (elmo-crosspost-message-delete): Ditto.
6849         (elmo-setup-subscribed-newsgroups): New function.
6850         (elmo-crosspost-message-alist-modified): New internal variable.
6851         (elmo-crosspost-message-alist-load): New function (Renamed from
6852         `wl-crosspost-alist-load').
6853         (elmo-crosspost-message-alist-save): Ditto (Renamed from
6854         `wl-crosspost-alist-save').
6855
6856         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6857
6858         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6859         `unreads'.
6860         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6861         elmo-newsgroups-hashtb).
6862         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6863         `elmo-nntp-folder-update-crosspost-message-alist'.
6864         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6865         `elmo-nntp-groups-hashtb'.
6866         (elmo-nntp-make-groups-hashtb): Eliminated.
6867         (elmo-nntp-parse-newsgroups): New function (Renamed from
6868         `wl-parse-newsgroups').
6869         (elmo-folder-creatable-p, elmo-folder-writable-p,
6870         elmo-folder-close-internal, elmo-folder-mark-as-read,
6871         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6872         Define.
6873         (elmo-nntp-folder-update-crosspost-message-alist): New function.
6874
6875         * elmo-net.el (elmo-message-fetch): Check buffer size.
6876
6877         * elmo-multi.el (elmo-multi-split-number-alist): New function.
6878
6879         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6880
6881         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6882         before `close' command.
6883
6884         * elmo.el (elmo-folder-list-unreads-internal): Added argument
6885         `mark-alist' (All other related portions are changed).
6886
6887 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
6888
6889         * elmo-util.el (elmo-create-hash-size): Eliminated.
6890         (elmo-make-hash) Make a hash with `one less than a power of two'
6891         length.
6892
6893         * elmo-vars.el (elmo-hash-minimum-size): New variable.
6894         (elmo-hash-maximum-size): Changed value.
6895
6896 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
6897
6898         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6899         (elmo-mime-message-display-as-is): Ditto.
6900
6901 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
6902
6903         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6904         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6905
6906 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
6907
6908         * elmo-mark.el: New file.
6909
6910         * elmo-internal.el: Rewrite (Almost empty).
6911
6912 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
6913
6914         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6915         (mime-imap-entity-header-string): Ditto.
6916         (mmimap-entity-section): Rewrite.
6917
6918 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
6919
6920         * elmo-nmz.el: New file.
6921
6922         * elmo-pipe.el: Rewrite with luna.
6923
6924 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
6925
6926         * elmo-archive.el: Rewrite with luna.
6927
6928         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6929         (elmo-folder-list-importants-internal): Ditto.
6930
6931 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
6932
6933         * elmo-archive.el (elmo-archive-version): Abolish.
6934         (toplevel) Removed `boso' comment.
6935
6936 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
6937
6938         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6939         elmo-msgdb-add-msgs-to-seen-list-subr;
6940         Changed argument seen-marks to unread-marks.
6941
6942         * elmo-nntp.el: Rewrite with luna.
6943
6944 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
6945
6946         * elmo-filter.el: Rewrite with luna.
6947
6948 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
6949
6950         * elmo-pop3.el: Rewrite with luna.
6951
6952 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
6953
6954         * elmo-multi.el: Rewrite with luna.
6955
6956         * elmo-vars.el (elmo-use-killed-list): Abolish.
6957         All other related portions are changed.
6958         (elmo-filename-replace-string-alist): Renamed from
6959         elmo-msgid-replace-string-alist.
6960
6961 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
6962
6963         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6964
6965         * elmo-map.el: New file.
6966         * elmo-maildir.el: Rewrite with luna.
6967
6968 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
6969
6970         * elmo.el: Changed meaning of `elmo-folder-commit'.
6971         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6972
6973 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
6974
6975         * elmo.el (elmo-folder-append-buffer): New function.
6976         (Renamed from `elmo-append-msg')
6977
6978 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
6979
6980         * elmo-mime.el: New file.
6981
6982 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6983
6984         * elmo-cache.el: Rewrite.
6985
6986 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
6987
6988         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6989
6990 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6991
6992         * elmo-vars.el (elmo): New group.
6993         (elmo-strict-diff-folder-regexp): New variable.
6994
6995         * elmo-util.el (elmo-call-func): Abolish.
6996         (elmo-folder-get-type): Ditto.
6997         (elmo-*-get-spec): Ditto.
6998         (elmo-*-spec-*): Ditto.
6999         (elmo-imap4-identical-name-space-p): Ditto.
7000         (elmo-folder-identical-system-p): Ditto.
7001         (elmo-folder-direct-copy-alist): Ditto.
7002         (elmo-folder-direct-copy-p): Ditto.
7003
7004         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7005         (elmo-folder-initialize): Define.
7006         (elmo-folder-get-primitive-list): Ditto.
7007
7008         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7009         (elmo-folder-initialize): Define.
7010         Renamed `elmo-network-session-host-internal' to
7011         `elmo-network-session-server-internal'.
7012
7013         * elmo-multi.el (elmo-multi-folder): New luna class.
7014         (elmo-folder-initialize): Define.
7015         (elmo-folder-get-primitive-list): Ditto.
7016         (elmo-folder-contains-type): Ditto.
7017         (elmo-message-use-cache-p): Ditto.
7018
7019         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7020         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7021
7022         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7023         (elmo-folder-initialize): Define.
7024
7025         * elmo-filter.el (elmo-filter-folder): New luna class.
7026         (elmo-folder-initialize): Define.
7027         (elmo-folder-get-primitive-list): Ditto.
7028         (elmo-folder-contains-type): Ditto.
7029
7030 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7031
7032         * elmo-imap4.el: Rewrite with luna.
7033
7034         * mmimap.el: New file.
7035
7036         * mmelmo.el, mmelmo-imap4.el: Removed.
7037
7038         * elmo-net.el: Ditto.
7039
7040         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7041         (elmo-folder-initialize): Define.
7042
7043         * elmo-archive.el (elmo-archive-folder): New luna class.
7044         (elmo-folder-initialize): Define.
7045
7046         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7047         `elmo-folder-msgdb-path'.
7048         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7049         `elmo-make-folder'.
7050
7051 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7052
7053         * elmo.el: New file.
7054
7055         * elmo2.el: Renamed to elmo.el.
7056
7057 \f
7058 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7059
7060         * elmo-cache.el (elmo-cache-expire-by-size): Count
7061         a disk usage for a cache file entry in KB even when
7062         its kind is a directory.
7063
7064 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7065
7066         * elmo-version.el (elmo-version): Up to 2.5.7.
7067
7068 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7069
7070         * elmo-version.el (elmo-version): Up to 2.5.6.
7071
7072 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7073
7074         * elmo-version.el (elmo-version): Up to 2.5.5.
7075
7076 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7077
7078         * elmo-imap4.el (elmo-network-authenticate-session):
7079         Fixed a logic for response checking.
7080
7081 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7082
7083         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7084         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7085         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7086         `sasl-mechanisms'.
7087
7088         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7089         for `starttls-open-stream' and `starttls-negotiate'.
7090
7091         * elmo-nntp.el: Remove autoload settings for
7092         `starttls-open-stream' and `starttls-negotiate'.
7093
7094         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7095         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7096         `luna-define-class' with `eval-and-compile'.
7097
7098 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7099
7100         * elmo-util.el (elmo-read-search-condition-internal):
7101         Require an element of table for searching field.
7102
7103 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7104
7105         * elmo-version.el (elmo-version): Up to 2.5.4.
7106
7107 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7108
7109         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7110
7111 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7112
7113         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7114
7115 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7116
7117         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7118         before greeting.
7119
7120 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7121
7122         * elmo-imap4.el (elmo-imap4-delete-folder):
7123         Send "close" before "delete" (Use commented out line).
7124         (elmo-imap4-rename-folder): Ditto.
7125
7126         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7127         folder string itself.
7128         (elmo-dop-list-deleted): New function.
7129         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7130         killed.
7131
7132         * elmo-util.el (elmo-string-rassoc-all): New function.
7133
7134 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7135
7136         * elmo-version.el (elmo-version): Up to 2.5.3.
7137
7138         * elmo-net.el (elmo-network-get-session): Changed logic for
7139         checking process status.
7140
7141         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7142         process is nil;
7143         Changed logic for checking process status.
7144
7145 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7146
7147         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7148         before greeting.
7149         (elmo-network-setup-session): Set UIDL hash size according to
7150         the length of list response.
7151         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7152         according to the length of list response;
7153         Return the length of list response.
7154         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7155
7156 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7157
7158         * elmo-imap4.el (toplevel): Require 'ssl.
7159         Add autoload 'starttls.
7160         * elmo-pop3.el (toplevel): Ditto.
7161         * elmo-nntp.el (toplevel): Ditto.
7162
7163 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7164
7165         * elmo-imap4.el (toplevel): defun at compile time.
7166         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7167         sasl-next-step, sasl-step-data, sasl-step-set-data.
7168         * elmo-pop3.el (toplevel): Ditto.
7169
7170 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7171
7172         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7173
7174 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7175
7176         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7177         if error.
7178         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7179         and `elmo-pop-auth-apop'.
7180
7181 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7182
7183         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7184
7185 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7186
7187         * elmo-pop3.el (elmo-network-authenticate-session): Split
7188         encoded response value.
7189
7190 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7191
7192         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7193         `elmo-pop3-force-login'.
7194         Redefine `sasl-mechanisms'.
7195         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7196
7197 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7198
7199         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7200         Delete `elmo-imap4-authenticator-alist'.
7201         (elmo-imap4-auth-cram-md5): Delete.
7202         (elmo-imap4-auth-digest-md5): Delete.
7203
7204 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7205
7206         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7207         (elmo-pop3-auth-scram-md5): Ditto.
7208         (elmo-pop3-auth-cram-md5): Ditto.
7209
7210 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7211
7212         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7213         Delete `elmo-pop3-authenticator-alist'.
7214
7215 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7216
7217         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7218         new SASL API.
7219         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7220
7221 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7222
7223         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7224
7225 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7226
7227         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7228         Fixed problem when `elmo-pop3-use-uidl' is nil.
7229         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7230
7231 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7232
7233         * elmo-version.el (elmo-version): Up to 2.5.2.
7234
7235 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7236
7237         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7238         New function.
7239         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7240         (elmo-pop3-msgdb-create-as-numlist): Use it.
7241
7242         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7243         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7244
7245         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7246         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7247
7248 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7249
7250         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7251         when elmo-mark-as-read is called with second argument nil.
7252
7253 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7254
7255         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7256         Moved to elmo-util.el.
7257
7258         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7259         Moved from elmo-pipe.el
7260
7261         * elmo-archive.el (elmo-archive-call-process): Enclose with
7262         static-if.
7263
7264         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7265         "RFC822" (because RFC822.PEEK is obsolete).
7266         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7267
7268 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7269
7270         * elmo-archive.el (elmo-archive-call-process): Don't check for
7271         the exit status when Nemacs is running.
7272
7273 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7274
7275         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7276         'plain.
7277
7278         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7279         (elmo-pop3-get-spec): Set default of auth to 'user.
7280
7281         * elmo-imap4.el (elmo-imap4-session-check):
7282         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7283         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7284         (elmo-imap4-auth-login): New function; Revival.
7285         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7286         `elmo-imap4-auth-login'.
7287
7288 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7289
7290         * elmo2.el (toplevel): Move `product-provide' declare.
7291         * mmelmo.el (toplevel): Ditto.
7292
7293 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7294
7295         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7296
7297 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7298
7299         * elmo-util.el (elmo-folder-get-store-type): New function.
7300         (elmo-folder-direct-copy-p): Use it.
7301
7302 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7303
7304         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7305         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7306         and result of `elmo-imap4-use-flag-p'.
7307         (elmo-imap4-fetch-callback-1): Set mark according to
7308         the result of `elmo-imap4-use-flag-p'.
7309
7310 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7311
7312         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7313         (elmo-generic-list-folder-unread): Ditto.
7314         (elmo-folder-get-info): Ditto.
7315         (elmo-folder-set-info-max-by-numdb): Ditto.
7316         (elmo-folder-get-info-max): Ditto.
7317         (elmo-folder-get-info-length): Ditto.
7318         (elmo-folder-get-info-unread): Ditto.
7319         (elmo-folder-info-make-hashtb): Ditto.
7320
7321         * elmo2.el: Removed above functions.
7322
7323 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7324
7325         * elmo-imap4.el (toplevel): Require 'ssl.
7326         Add autoload 'starttls.
7327         * elmo-pop3.el (toplevel): Ditto.
7328         * elmo-nntp.el (toplevel): Ditto.
7329
7330 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7331
7332         * elmo-imap4.el (toplevel): defun at compile time.
7333         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7334         sasl-next-step, sasl-step-data, sasl-step-set-data.
7335         * elmo-pop3.el (toplevel): Ditto.
7336
7337 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7338
7339         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7340
7341 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7342
7343         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7344         if error.
7345         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7346         and `elmo-pop-auth-apop'.
7347
7348 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7349
7350         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7351
7352 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7353
7354         * elmo-pop3.el (elmo-network-authenticate-session): Split
7355         encoded response value.
7356
7357 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7358
7359         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7360         `elmo-pop3-force-login'.
7361         Redefine `sasl-mechanisms'.
7362         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7363
7364 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7365
7366         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7367         Delete `elmo-imap4-authenticator-alist'.
7368         (elmo-imap4-auth-cram-md5): Delete.
7369         (elmo-imap4-auth-digest-md5): Delete.
7370
7371 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7372
7373         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7374         (elmo-pop3-auth-scram-md5): Ditto.
7375         (elmo-pop3-auth-cram-md5): Ditto.
7376
7377 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7378
7379         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7380         Delete `elmo-pop3-authenticator-alist'.
7381
7382 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7383
7384         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7385         new SASL API.
7386         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7387
7388 \f
7389 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7390
7391         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7392
7393 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7394
7395         * elmo-nntp.el (elmo-nntp-get-folders-info):
7396         Fixed problem when '\' character is contained in user-id.
7397         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7398
7399 \f
7400 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7401
7402         * elmo-imap4.el (elmo-imap4-delete-folder):
7403         Send "close" before "delete" (Use commented out line).
7404         (elmo-imap4-rename-folder): Ditto.
7405
7406         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7407         folder string itself.
7408         (elmo-dop-list-deleted): New function.
7409         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7410         killed.
7411
7412         * elmo-util.el (elmo-string-rassoc-all): New function.
7413
7414         * elmo-version.el (elmo-version): Up to 2.5.1.
7415
7416 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7417
7418         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7419
7420         * elmo-internal.el (elmo-internal-search): Fix last change.
7421
7422 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7423
7424         * elmo-internal.el (elmo-internal-search): Rewrite.
7425         (Fixed problem which is pointed out by Akihiro MOTOKI
7426         <motoki@da.jp.nec.com>)
7427
7428         * elmo-version.el (elmo-version): Up to 2.5.0.
7429
7430 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7431
7432         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7433
7434 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7435
7436         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7437         non-nil, make hierarchy.
7438
7439 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7440
7441         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7442         `elmo-pop3-use-uidl' must be bound to nil.
7443         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7444
7445 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7446
7447         * elmo-util.el (elmo-copy-file): Don't cause an error after
7448         `add-name-to-file' failed.
7449
7450         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7451         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7452
7453 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7454
7455         * elmo-version.el (elmo-version): Up to 2.3.93.
7456
7457 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7458
7459         * elmo-util.el (elmo-flatten): New function.
7460
7461 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7462
7463         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7464         sync Author header.
7465         * elmo-cache.el (toplevel): Ditto.
7466         * elmo-database.el (toplevel): Ditto.
7467         * elmo-date.el (toplevel): Ditto.
7468         * elmo-dop.el (toplevel): Ditto.
7469         * elmo-filter.el (toplevel): Ditto.
7470         * elmo-imap4.el (toplevel): Ditto.
7471         * elmo-internal.el (toplevel): Ditto.
7472         * elmo-localdir.el (toplevel): Ditto.
7473         * elmo-localnews.el (toplevel): Ditto.
7474         * elmo-maildir.el (toplevel): Ditto.
7475         * elmo-msgdb.el (toplevel): Ditto.
7476         * elmo-multi.el (toplevel): Ditto.
7477         * elmo-net.el (toplevel): Ditto.
7478         * elmo-nntp.el (toplevel): Ditto.
7479         * elmo-pipe.el (toplevel): Ditto.
7480         * elmo-pop3.el (toplevel): Ditto.
7481         * elmo-util.el (toplevel): Ditto.
7482         * elmo-vars.el (toplevel): Ditto.
7483         * elmo2.el (toplevel): Ditto.
7484         * mmelmo-imap4.el (toplevel): Ditto.
7485         * mmelmo.el (toplevel): Ditto.
7486
7487         * elmo-version.el (elmo-version): Move to top.
7488
7489         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7490         * elmo-imap4.el (toplevel): Ditto.
7491         * elmo-localdir.el (toplevel): Ditto.
7492         * elmo-msgdb.el (toplevel): Ditto.
7493         * elmo-nntp.el (toplevel): Ditto.
7494         * elmo-pop3.el (toplevel): Ditto.
7495         * elmo-version.el (toplevel): Ditto.
7496
7497         * elmo-localnews.el (toplevel): Added Keyword header.
7498
7499 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7500
7501         * elmo-version.el (product-version-as-string): Defined using
7502         `defun-maybe'.
7503         (toplevel): Use it.
7504
7505         * elmo-localdir.el (toplevel): Updated copyright notice.
7506         * elmo-version.el (toplevel): Ditto.
7507         * elmo-msgdb.el (toplevel): Ditto.
7508         * elmo-imap4.el (toplevel): Ditto.
7509         * elmo-nntp.el (toplevel): Ditto.
7510         * elmo-pop3.el (toplevel): Ditto.
7511
7512 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7513
7514         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7515         messages.
7516
7517         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7518         parameter value (It sometimes contains raw kanji).
7519
7520 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7521
7522         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7523         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7524
7525 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7526
7527         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7528
7529 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7530
7531         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7532         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7533
7534 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7535
7536         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7537         value if selecting folder succceeded.
7538         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7539
7540 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7541
7542         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7543         representation.
7544
7545         * elmo-util.el (elmo-string-matched-member): New function.
7546
7547 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7548
7549         * elmo-util.el (elmo-unintern): New macro.
7550         (elmo-number-set-member): Fixed docstring.
7551
7552         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7553         tag token.
7554
7555 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7556
7557         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7558         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7559
7560 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7561
7562         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7563         `no-error'.
7564         Added docstring.
7565         Return non-nil if selecting folder succeeded.
7566         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7567
7568 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7569
7570         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7571         `file-name-completion' returns t.
7572         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7573         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7574         directory if it does not exist.
7575         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7576         for iteration.
7577
7578 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7579
7580         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7581         enclosure (It's harmful in unplugged status).
7582
7583         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7584
7585         * mmelmo-1.el: Removed.
7586
7587         * mmelmo-2.el: Ditto.
7588
7589         * mmelmo-imap4-1.el: Ditto.
7590
7591         * mmelmo-imap4-2.el: Ditto.
7592
7593         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7594
7595         * mmelmo.el: Merged mmelmo-2.el.
7596
7597         * elmo-version.el (elmo-version): Up to 2.3.92.
7598
7599 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7600
7601         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7602         elmo-update-number): Remove last period in "...done." message.
7603         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7604         Ditto.
7605         * elmo-cache.el (elmo-cache-expire-by-size,
7606         elmo-cache-get-sorted-cache-file-list,
7607         elmo-cache-msgdb-create-as-numlist): Ditto.
7608         * elmo-dop.el (elmo-dop-save-pending-messages,
7609         (elmo-dop-flush-pending-append-operations): Ditto.
7610         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7611         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7612         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7613         (elmo-localdir-pack-number): Ditto.
7614         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7615         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7616         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7617         mime-write-entity-content): Ditto.
7618         * pldap.el (ldap-search-basic): Ditto.
7619
7620 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7621
7622         * elmo-version.el (elmo-version): Up to 2.3.91.
7623
7624         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7625         Only when filter is 'last'.
7626
7627         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7628         (elmo-condition-parse-search-value): Use it.
7629         (elmo-read-search-condition-internal): Quote value only when
7630         it is not an atom.
7631
7632 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7633
7634         * elmo2.el (elmo-generic-folder-diff): Fix.
7635
7636 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7637
7638         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7639         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7640         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7641         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7642         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7643         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7644
7645 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7646
7647         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7648         extra-fields.
7649
7650 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7651
7652         * elmo-version.el (elmo-version): Up to 2.3.90.
7653
7654         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7655         (elmo-imap4-list-folder-important): Ditto.
7656
7657 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7658
7659         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7660
7661 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7662
7663         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7664
7665 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7666
7667         * elmo-nntp.el (elmo-network-initialize-session):
7668         Add starttls negotiation.
7669
7670 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7671
7672         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7673         response.
7674         (elmo-network-setup-session): Define.
7675         Call `elmo-nntp-send-mode-reader' when session opened.
7676
7677 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7678
7679         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7680
7681 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7682
7683         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7684         an invalid SPACE character ahead of `SEARCH' command.  Move
7685         a valid SPACE character following `SEARCH' from conditional
7686         `format' arguments to control-strings.
7687
7688 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7689
7690         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7691         was succeeded.
7692
7693         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7694
7695 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7696
7697         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7698         `w32-get-true-file-link-count' as t.
7699
7700         * elmo-imap4.el (elmo-imap4-read): Abolished.
7701         (Renamed to `elmo-read' and moved to elmo-util.el)
7702         All other related portions are changed.
7703
7704         * elmo-util.el (elmo-read): New function.
7705         (elmo-condition-parse-search-value): Use it.
7706
7707 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7708
7709         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7710
7711         * elmo-nntp.el (elmo-nntp-session): Define.
7712         (elmo-nntp-setting): Abolished.
7713         All other related portions are changed.
7714         (elmo-nntp-get-server-command): Changed argument.
7715         (elmo-nntp-set-server-command): Ditto.
7716         (elmo-nntp-xover-p): Ditto.
7717         (elmo-nntp-set-xover): Ditto.
7718         (elmo-nntp-listgroup-p): Ditto.
7719         (elmo-nntp-set-listgroup): Ditto.
7720         (elmo-nntp-list-active-p): Ditto.
7721         (elmo-nntp-set-list-active): Ditto.
7722         (elmo-nntp-xhdr-p): Ditto.
7723         (elmo-nntp-set-xhdr): Ditto.
7724         (elmo-nntp-flush-connection): Abolished.
7725         (elmo-nntp-get-connection): Abolished.
7726         (elmo-nntp-get-session): New function.
7727         (elmo-network-initialize-session): Defined.
7728         (elmo-network-authenticate-session): Ditto.
7729         (elmo-nntp-send-mode-reader): Changed argument.
7730         (elmo-nntp-send-command): Changed argument.
7731         All other related portions are changed.
7732         (elmo-nntp-read-response): Ditto.
7733         (elmo-nntp-read-raw-response): Ditto.
7734         (elmo-nntp-read-contents): Ditto.
7735         (elmo-nntp-read-body): Ditto.
7736         (elmo-nntp-goto-folder): Abolished.
7737         (elmo-nntp-select-group): New function.
7738         All other related portions are changed.
7739         (This function substitutes `elmo-nntp-goto-folder')
7740         (elmo-nntp-msgdb-create-by-header): Rewrite.
7741         (elmo-nntp-get-overview): Eliminated.
7742         (elmo-nntp-get-message): Ditto.
7743         (elmo-nntp-open-connection) Abolished.
7744         (elmo-nntp-read-msg): Rewrite.
7745         (elmo-nntp-post): Ditto.
7746         (elmo-nntp-send-data): Abolished.
7747         (elmo-nntp-send-buffer): New function.
7748         (elmo-nntp-send-data-line): Define as inline function.
7749         (elmo-nntp-get-folders-info-prepare): Use session as key.
7750         (elmo-nntp-groups-read-response): Changed argument.
7751         (elmo-nntp-retrieve-headers): Ditto.
7752         (elmo-nntp-msgdb-create-message): Ditto.
7753
7754         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7755         when searching by 'since' or 'before'.
7756
7757 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7758
7759         * elmo-version.el (toplevel): Use product-version-as-string for set
7760         verstion-string, if defined.
7761
7762 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
7763
7764         * elmo-util.el: Doc fixes.
7765
7766 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7767
7768         * elmo-archive.el (toplevel): Use product-provide.
7769         * elmo-cache.el (toplevel): Ditto.
7770         * elmo-database.el (toplevel): Ditto.
7771         * elmo-date.el (toplevel): Ditto.
7772         * elmo-dop.el (toplevel): Ditto.
7773         * elmo-filter.el (toplevel): Ditto.
7774         * elmo-imap4.el (toplevel): Ditto.
7775         * elmo-internal.el (toplevel): Ditto.
7776         * elmo-localdir.el (toplevel): Ditto.
7777         * elmo-localnews.el (toplevel): Ditto.
7778         * elmo-maildir.el (toplevel): Ditto.
7779         * elmo-msgdb.el (toplevel): Ditto.
7780         * elmo-multi.el (toplevel): Ditto.
7781         * elmo-net.el (toplevel): Ditto.
7782         * elmo-nntp.el (toplevel): Ditto.
7783         * elmo-pipe.el (toplevel): Ditto.
7784         * elmo-pop3.el (toplevel): Ditto.
7785         * elmo-util.el (toplevel): Ditto.
7786         * elmo-vars.el (toplevel): Ditto.
7787         * elmo2.el (toplevel): Ditto.
7788         * mmelmo-1.el (toplevel): Ditto.
7789         * mmelmo-2.el (toplevel): Ditto.
7790         * mmelmo-imap4-1.el (toplevel): Ditto.
7791         * mmelmo-imap4-2.el (toplevel): Ditto.
7792         * mmelmo-imap4.el (toplevel): Ditto.
7793         * mmelmo.el (toplevel): Ditto.
7794
7795 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
7796
7797         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7798         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7799
7800 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
7801
7802         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7803         before splitting.
7804         (elmo-multi-split-number-alist): Ditto.
7805
7806 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7807
7808         * elmo-version.el: New file.  Use product.el.
7809         * elmo2.el: Add (require 'elmo-version).
7810         * elmo-vars.el (elmo-appname, elmo-version): Move to
7811         elmo-version.el
7812
7813 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
7814
7815         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7816         `elmo-msgdb-expand-path'.
7817         (elmo-msgdb-load): Ditto.
7818         Abolished 2nd argument. If 1st argument is not string, treat as spec.
7819         (elmo-generic-list-folder-unread): Rewrite.
7820         (elmo-generic-list-folder-important): Changed argument.
7821         (elmo-list-folder-unread): Ditto.
7822         (elmo-list-folder-important): Ditto.
7823         (elmo-folder-diff): Rewrite.
7824         (elmo-generic-folder-diff): New function.
7825         (elmo-multi-get-number-alist-list): Abolished
7826         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7827         (elmo-multi-folder-diff): Moved to elmo-multi.el
7828         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7829
7830         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7831         `elmo-msgdb-expand-path'.
7832         (elmo-pop3-msgdb-create-as-numlist): Ditto.
7833         (elmo-pop3-read-msg): Ditto.
7834         (elmo-pop3-delete-msgs): Ditto.
7835         (elmo-pop3-folder-diff): New alias.
7836
7837         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7838         `elmo-msgdb-expand-path'.
7839         (elmo-pipe-list-folder-unread): Changed arguments.
7840         (elmo-pipe-list-folder-important): Ditto.
7841         (elmo-pipe-folder-diff): New alias.
7842
7843         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7844         `elmo-msgdb-expand-path'.
7845         (elmo-nntp-max-of-folder): Ditto.
7846         (elmo-nntp-msgdb-create): Ditto.
7847         (elmo-nntp-delete-msgs): Ditto.
7848         (elmo-nntp-folder-diff): New alias.
7849
7850         * elmo-multi.el (elmo-multi-folder-diff): New function.
7851         (elmo-multi-split-mark-alist): Ditto.
7852         (elmo-multi-split-number-alist): Ditto.
7853         (elmo-multi-mark-alist-list): Abolished (Renamed to
7854         elmo-multi-split-mark-alist).
7855         (elmo-multi-list-folder-unread): Rewrite.
7856         (elmo-multi-list-folder-important): Ditto.
7857         (elmo-multi-list-folder): Set `spec' as 1st argument for
7858         `elmo-msgdb-expand-path'.
7859         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7860         instead of `elmo-multi-get-number-alist-list'.
7861
7862         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7863         If 1st argument is not string, treat as spec.
7864         (elmo-list-folder-by-location): Set `spec' as 1st argument for
7865         `elmo-msgdb-expand-path'.
7866         (elmo-msgdb-flist-load): Ditto.
7867         (elmo-msgdb-flist-save): Ditto.
7868         (elmo-msgdb-delete-path): Ditto.
7869         (elmo-msgdb-rename-path): Ditto.
7870
7871         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7872         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7873         (elmo-maildir-delete-mark-msgs): Ditto.
7874         (elmo-maildir-msgdb-create): Ditto.
7875         (elmo-maildir-read-msg): Ditto.
7876         (elmo-maildir-delete-msgs): Ditto.
7877         (elmo-maildir-list-folder-subr): Ditto.
7878         (elmo-maildir-search): Ditto.
7879         (elmo-maildir-get-msg-filename): Ditto.
7880         (elmo-maildir-pack-number): Ditto.
7881         (elmo-maildir-folder-diff): New alias.
7882
7883         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7884
7885         * elmo-localdir.el (elmo-localdir-list-folder-subr):
7886         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7887         (elmo-localdir-folder-diff): New alias.
7888
7889         * elmo-internal.el (elmo-internal-list-folder-subr):
7890         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7891         (elmo-internal-list-folder-by-location): Ditto.
7892         (elmo-internal-msgdb-create): Ditto.
7893         (elmo-internal-delete-msgs): Ditto.
7894         (elmo-internal-read-msg): Ditto.
7895         (elmo-internal-folder-diff): New alias.
7896
7897         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7898         (elmo-imap4-list-folder): Set `spec' as 1st argument for
7899         `elmo-msgdb-expand-path'.
7900         (elmo-imap4-list-folder-unread): Changed arguments.
7901         (elmo-imap4-list-folder-important): Ditto.
7902
7903         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7904         (elmo-filter-list-folder-important): Ditto.
7905         (elmo-filter-folder-diff): New function.
7906
7907         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7908
7909         * elmo-cache.el (elmo-cache-list-folder):
7910         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7911         (elmo-cache-copy-msgs): Ditto.
7912         (elmo-cache-folder-diff): New alias.
7913
7914         * elmo-archive.el (elmo-archive-list-folder-subr):
7915         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7916         (elmo-archive-get-archive-name): Ditto.
7917         (elmo-archive-create-file): Ditto.
7918         (elmo-archive-append-msg): Ditto.
7919         (elmo-archive-copy-msgs): Ditto.
7920         (elmo-archive-copy-msgs-froms): Ditto.
7921         (elmo-archive-get-msg-filename): Ditto.
7922         (elmo-archive-folder-diff): New alias.
7923
7924 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
7925
7926         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7927         (elmo-pop3-stream-type-alist): New variable.
7928         (elmo-nntp-stream-type-alist): New variable.
7929
7930         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7931         (elmo-kill-buffer): Ditto.
7932         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7933         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7934         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7935         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7936         (elmo-imap4-get-spec): Take into account
7937         `elmo-imap4-stream-type-alist'.
7938
7939 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
7940
7941         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7942         (elmo-nntp-list-folders-get-cache): Ditto.
7943
7944 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
7945
7946         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7947         character before 'uid'.
7948
7949 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
7950
7951         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7952
7953         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7954
7955         * elmo-util.el (elmo-number-set-member): New function.
7956         (elmo-number-set-append-list): Ditto.
7957         (elmo-number-set-append): Ditto.
7958
7959         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7960         Use `elmo-number-set-member'.
7961         (elmo-living-messages): Ditto.
7962         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7963         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7964
7965         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7966         (elmo-imap4-add-to-cont-list): Abolished.
7967         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7968         instead of elmo-imap4-add-to-cont-list.
7969
7970         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7971         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7972
7973         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7974
7975 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
7976
7977         * elmo-util.el (elmo-condition-parse-search-value):
7978         Fixed date parsing.
7979
7980 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
7981
7982         * elmo-util.el (elmo-condition-find-key-internal): New function.
7983         (elmo-condition-find-key): Ditto.
7984
7985         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7986         (elmo-msgdb-search-internal): Ditto.
7987         (elmo-msgdb-search): Ditto.
7988
7989 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
7990
7991         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7992         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7993
7994         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7995         (elmo-nntp-search-primitive): Fixed problem when condition is
7996         'unmatch'.
7997
7998         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7999
8000         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8001         (elmo-nntp-xhdr-p): New macro.
8002         (elmo-nntp-set-xhdr): Ditto.
8003         (elmo-nntp-parse-xhdr-response): New function.
8004         (elmo-nntp-retrieve-field): Ditto.
8005         (elmo-nntp-search-primitive): Ditto.
8006         (elmo-nntp-search): Implemented.
8007
8008         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8009
8010         * elmo-archive.el (elmo-archive-search): Set all number list to
8011         `elmo-archive-field-condition-match'
8012
8013         * elmo-localdir.el (elmo-localdir-search): Likewise.
8014
8015         * elmo-maildir.el (elmo-maildir-search): Likewise.
8016
8017 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8018
8019         * elmo-msgdb.el (elmo-living-messages): New function.
8020         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8021         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8022         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8023         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8024         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8025         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8026         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8027         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8028         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8029         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8030         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8031
8032 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8033
8034         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8035
8036         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8037
8038         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8039
8040         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8041         arguments for `SEARCH' command.
8042         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8043         All other related portions are changed.
8044
8045         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8046
8047         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8048         (elmo-list-folder-unread): Rewrite.
8049         (elmo-list-folder-important): Ditto.
8050
8051         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8052         (elmo-condition-parse-error): New inline function.
8053         (elmo-read-search-condition): New function.
8054         (elmo-read-search-condition-internal): Ditto.
8055         (elmo-parse-search-condition): Rewrite.
8056         (elmo-condition-parse): New function.
8057         (elmo-condition-parse-or-expr): Ditto.
8058         (elmo-condition-parse-and-expr): Ditto.
8059         (elmo-condition-parse-primitive): Ditto.
8060         (elmo-condition-parse-search-value): Ditto.
8061         (elmo-buffer-field-primitive-condition-match): Ditto.
8062         (elmo-buffer-field-condition-match): Rewrite.
8063         (elmo-file-field-condition-match): Ditto.
8064
8065         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8066         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8067
8068         * elmo-internal.el (elmo-internal-search): Set `number' and
8069         `number-list' argument of `elmo-file-field-condition-match'.
8070
8071         * elmo-maildir.el (elmo-maildir-search): Ditto.
8072
8073         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8074         `msgdb' as argument instead of `mark-alist'.
8075         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8076         `overview'.
8077
8078         * elmo-multi.el: Likewise.
8079
8080         * elmo-pipe.el: Likewise.
8081
8082         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8083         (elmo-imap4-search-internal): Rewrite.
8084         (elmo-imap4-search): Ditto.
8085
8086         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8087         (elmo-filter-list-folder-unread): Ditto.
8088         (elmo-filter-list-folder-important): Ditto.
8089         (elmo-filter-search): Rewrite.
8090
8091         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8092         `number-list' argument of `elmo-file-field-condition-match'.
8093         (elmo-cache-search): Ditto.
8094
8095         * elmo-localdir.el: Likewise.
8096
8097         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8098         number-list and pass it to `elmo-buffer-field-condition-match'.
8099         (elmo-archive-field-condition-match): Pass `number-list' to
8100         `elmo-archive-field-condition-match'
8101
8102 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8103
8104         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8105         `listgroup'.
8106
8107         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8108         (elmo-folder-diff-async-callback-data): Ditto.
8109         (elmo-folder-diff-async): New function.
8110
8111         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8112         (elmo-network-session-cache-key): Use it as a prefix of the session
8113         name.
8114         (elmo-network-open-session): Ditto.
8115
8116         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8117         (elmo-imap4-status-callback-data): Ditto.
8118         (elmo-imap4-server-diff-async-callback): New variable.
8119         (elmo-imap4-server-diff-async-callback-data): Ditto.
8120         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8121         `elmo-imap4-status-callback-data'.
8122         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8123         `elmo-imap4-status-callback-data' as nil.
8124         (elmo-imap4-server-diff): Ditto.
8125         (elmo-imap4-server-diff-async-callback-1): New function.
8126         (elmo-imap4-server-diff-async): Ditto.
8127         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8128
8129 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8130
8131         * elmo-util.el (elmo-list-delete): Doc fix.
8132         (elmo-delete-lists): Abolish.
8133         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8134         instead of `elmo-delete-lists'.
8135
8136 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8137
8138         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8139         before `sort'.
8140
8141 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8142
8143         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8144         `elmo-imap4-literal-subr'.
8145         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8146         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8147
8148 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8149
8150         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8151         (elmo-archive-list-folder): Fix.
8152         (elmo-archive-max-of-folder): Fix.
8153
8154 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8155
8156         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8157          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8158         (elmo-localdir-append-msg): Ditto.
8159         (elmo-localdir-list-folder): Fix for `nonsort'.
8160         (elmo-localdir-list-folder-subr): Fix for `killed'.
8161         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8162         (elmo-maildir-list-folder-subr): Ditto.
8163         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8164         (elmo-archive-list-folder-subr): Ditto.
8165         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8166         (elmo-internal-list-folder-subr): Ditto.
8167
8168 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8169
8170         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8171
8172 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8173
8174         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8175
8176 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8177
8178         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8179         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8180
8181         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8182         before greeting.
8183         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8184         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8185
8186 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8187
8188         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8189
8190         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8191         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8192         before STORE command.
8193
8194 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8195
8196         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8197
8198         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8199         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8200         of `response'.
8201         (elmo-imap4-list-folders): Removed unused local variable.
8202         (elmo-network-initialize-session): Ditto.
8203         (elmo-imap4-delete-msg-by-id): Ditto.
8204         (elmo-imap4-parse-fetch): Ditto.
8205         (elmo-imap4-copy-msgs): Ditto.
8206         Use `dst-spec' instead of `dst-folder'.
8207         (elmo-network-authenticate-session): Check authenticate type `plain'.
8208
8209 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8210
8211         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8212         garbage checking.
8213         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8214         `elmo-imap4-response-value'.
8215         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8216
8217 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8218
8219         * elmo-imap4.el (elmo-imap4-send-command):
8220         Cause elmo-imap4-bye-error when current response is BYE.
8221         (elmo-imap4-arrival-filter): Changed greeting response value.
8222
8223         * elmo2.el (elmo-imap4-bye-error): Define.
8224
8225         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8226         (elmo-imap4-server-diff): Ditto.
8227         (elmo-imap4-response-bye-p): New macro.
8228         (elmo-imap4-response-error-text): Get text from BYE response.
8229         (elmo-imap4-read-response): Return if BYE response.
8230         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8231         (elmo-imap4-folder-exists-p): Ditto.
8232         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8233         (elmo-imap4-parse-bye): New function.
8234         (elmo-imap4-parse-response): Remove needless let.
8235         Call `elmo-imap4-parse-bye'.
8236
8237 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8238
8239         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8240         the mailbox does not exist.
8241         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8242
8243 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8244
8245         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8246
8247 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8248
8249         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8250
8251         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8252         (elmo-network-initialize-session-buffer): Defined.
8253
8254         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8255         Abolished.
8256         (mmelmo-imap4-get-mime-entity): Rewrite.
8257
8258         * elmo2.el (elmo-error): Capitalize error message.
8259
8260         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8261         (elmo-network-session-buffer): New macro.
8262         (elmo-network-open-session): Use it.
8263
8264         * elmo-imap4.el: Rewrite.
8265
8266 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8267
8268         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8269
8270 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8271
8272         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8273         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8274         (elmo-imap4-create-msgdb-from-overview-string): Use
8275         `elmo-msgdb-create-overview-from-buffer'.
8276
8277 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8278
8279         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8280         (elmo-imap4-default-hierarchy-delimiter): New variable.
8281         (elmo-imap4-list-folders): Use it.
8282
8283 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8284
8285         * elmo-net.el (elmo-network-open-session): Add user and
8286         stream-type for process-buffer name.
8287
8288         * elmo-pop3.el (elmo-network-initialize-session): Call
8289         buffer-disable-undo.
8290
8291         * elmo-imap4.el (elmo-network-initialize-session):
8292         Set current-buffer as an argument for `buffer-disable-undo'.
8293
8294         * elmo-pop3.el (elmo-network-close-session): Don't use
8295         `process-live-p'.
8296
8297         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8298         Set default as 'user.
8299
8300         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8301
8302         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8303         and `elmo-imap4-flush-connection'.
8304
8305         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8306         (elmo-pop3-get-spec): Assume auth as symbol.
8307         (elmo-open-network-stream): Moved to `elmo-net'.
8308
8309         * elmo-pop3.el (toplevel): Require 'elmo-net.
8310         Define `sasl-cram-md5' to silence byte compilier.
8311         (elmo-pop3-connection-cache) Abolished.
8312         (elmo-pop3-authenticator-alist) New variable.
8313         (elmo-pop3-session): Define.
8314         (elmo-pop3-connection-get-process): Abolished.
8315         (elmo-pop3-connection-get-buffer): Ditto.
8316         (elmo-pop3-close-connection): Ditto.
8317         (elmo-pop3-flush-connection): Ditto.
8318         (elmo-pop3-get-connection): Ditto.
8319         (elmo-pop3-get-session): New function.
8320         (Replacement for `elmo-pop3-get-connection').
8321         All other related modules are changed.
8322         (elmo-network-close-session): Define.
8323         (elmo-pop3-send-command): Abolished argument `buffer'.
8324         All other related modules are changed.
8325         (elmo-pop3-read-response): Likewise.
8326         (elmo-pop3-open-connection): Abolished.
8327         (elmo-pop3-auth-user): New function.
8328         (elmo-pop3-auth-apop): Ditto.
8329         (elmo-pop3-auth-cram-md5): Ditto.
8330         (elmo-pop3-auth-scram-md5): Ditto.
8331         (elmo-pop3-auth-digest-md5): Ditto.
8332         (elmo-network-initialize-session): Define.
8333         (elmo-network-authenticate-session): Ditto.
8334         (elmo-network-setup-session): Ditto.
8335
8336         * elmo-imap4.el (toplevel): Require 'elmo-net.
8337         (elmo-imap4-session): Define.
8338         (elmo-imap4-connection-cache): Abolished.
8339         (elmo-imap4-password-key): Ditto.
8340         (elmo-imap4-flush-connection): Ditto.
8341         (elmo-imap4-get-connection): Ditto.
8342         All other related modules are changed.
8343         (elmo-imap4-get-session): New function
8344         (Replacement for `elmo-imap4-get-connection').
8345         (elmo-imap4-read-response): Abolished argument `buffer'.
8346         All other related modules are changed.
8347         (elmo-imap4-send-command): Likewise.
8348         (elmo-imap4-select-folder): Abolished.
8349         All other related modules are changed.
8350         (elmo-imap4-select-mailbox): New function.
8351         (Replacement for `elmo-imap4-select-folder').
8352         (elmo-imap4-auth-login): Simplify.
8353         (Assume current buffer as process buffer)
8354         (elmo-imap4-auth-cram-md5): Ditto.
8355         (elmo-imap4-auth-digest-md5): Ditto.
8356         (elmo-imap4-login): Ditto.
8357         (elmo-imap4-open-connection): Abolished.
8358         (elmo-imap4-open-connection-1): Abolished.
8359         (elmo-network-initialize-sessoin): Define.
8360         (elmo-network-authenticate-session): Ditto.
8361         (elmo-network-setup-session): Ditto.
8362
8363         * elmo-net.el: New module.
8364
8365 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8366
8367         * elmo-util.el (elmo-define-error): New function.
8368
8369         * elmo2.el (elmo-error): Define.
8370         (elmo-open-error): Define.
8371         (elmo-authenticate-error): Define.
8372
8373         * elmo-imap4.el (elmo-imap4-error): Abolish.
8374         (elmo-imap4-error-type): Abolish.
8375         (elmo-imap4-error-process): Abolish.
8376         (elmo-imap4-error-message): Abolish
8377         (elmo-imap4-list-folders): Don't quote lambda.
8378         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8379         (elmo-imap4-parse-namespace): Ditto.
8380         (elmo-imap4-open-connection): Rewrite.
8381         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8382         (elmo-imap4-get-connection): Abolish local variable `result'.
8383
8384 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8385
8386         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8387         wrong-type-argument error when auth is nil.
8388
8389 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8390
8391         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8392         (elmo-default-nntp-stream-type): Ditto.
8393         (elmo-default-pop3-stream-type): Ditto.
8394         (elmo-network-stream-type-alist): Ditto.
8395         (elmo-default-imap4-ssl): Abolished.
8396         (elmo-default-nntp-ssl): Ditto.
8397         (elmo-default-pop3-ssl): Ditto.
8398
8399         * elmo-util.el: (toplevel): Removed needless requires.
8400         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8401         (elmo-open-network-stream): Open network stream according to
8402         the value of `elmo-network-stream-type-alist'.
8403         (elmo-get-network-stream-type): New function.
8404         (elmo-network-stream-type-spec-string): New macro.
8405         (elmo-network-stream-type-symbol): Ditto.
8406         (elmo-network-stream-type-function): Ditto.
8407
8408         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8409         network-stream-type. All other related portions are changed.
8410         (elmo-pop3-open-connection): Ditto.
8411
8412         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8413         network-stream-type. All other related portions are changed.
8414
8415         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8416         network-stream-type.All other related portions are changed.
8417         (elmo-imap4-error): New macro.
8418         (elmo-imap4-error-type): Ditto.
8419         (elmo-imap4-error-process): Ditto.
8420         (elmo-imap4-error-message): Ditto.
8421         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8422         (elmo-imap4-auth-cram-md5): Ditto.
8423         (elmo-imap4-auth-digest-md5): Ditto.
8424         (elmo-imap4-login): Ditto.
8425         (elmo-imap4-open-connection): Remove password entry if authentication
8426         was in vain.
8427         (elmo-imap4-user-at-host): Abolished.
8428         (elmo-imap4-password-key): New buffer local variable.
8429         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8430         using protocol, port, auth and stream-type.
8431
8432         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8433
8434 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8435
8436         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8437
8438         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8439
8440         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8441         (elmo-imap4-authenticator-alist): New variable.
8442         (elmo-imap4-open-connection-1): Rename from
8443         elmo-imap4-open-connection.
8444         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8445         only wraps elmo-imap4-open-connection-1.
8446         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8447         user-at-host.
8448         (elmo-imap4-auth-login): New function.
8449         (elmo-imap4-auth-cram-md5): New function.
8450         (elmo-imap4-auth-digest-md5): New function.
8451         (elmo-imap4-login): New function.
8452
8453 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8454
8455         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8456         function `error'.
8457
8458 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8459
8460         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8461
8462 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8463
8464         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8465
8466 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8467
8468         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8469         for server responses, quote `*' regardless of where it appears.
8470
8471 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8472
8473         * elmo-maildir.el (elmo-maildir-commit): New alias.
8474
8475 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8476
8477         * elmo-util.el (elmo-display-progress):
8478                 Use `progress-feedback-with-label'.
8479
8480 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8481
8482         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8483         (elmo-imap4-non-atom-char-regex): Ditto.
8484         (elmo-imap4-non-text-char-regex): Ditto.
8485         (elmo-imap4-literal-threshold): Ditto.
8486         (elmo-imap4-atom-p): New function.
8487         (elmo-imap4-quotable-p): Ditto.
8488         (elmo-imap4-nil): Ditto.
8489         (elmo-imap4-atom): Ditto.
8490         (elmo-imap4-quoted): Ditto.
8491         (elmo-imap4-literal-subr): Ditto.
8492         (elmo-imap4-literal): Ditto.
8493         (elmo-imap4-buffer-literal): Ditto.
8494         (elmo-imap4-string-subr): Ditto.
8495         (elmo-imap4-string): Ditto.
8496         (elmo-imap4-buffer-string): Ditto.
8497         (elmo-imap4-astring-subr): Ditto.
8498         (elmo-imap4-astring): Ditto.
8499         (elmo-imap4-buffer-astring): Ditto.
8500         (elmo-imap4-nstring): Ditto.
8501         (elmo-imap4-buffer-nstring): Ditto.
8502         (elmo-imap4-mailbox): New alias.
8503         (elmo-imap4-field-body): Ditto.
8504         (elmo-imap4-userid): Ditto.
8505         (elmo-imap4-password): Ditto.
8506         (elmo-imap4-format-quoted): New function.
8507         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8508         arguments and handle "atom", "quoted" and "literal" string here.
8509         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8510         `elmo-imap4-send-command'.
8511         (elmo-imap4-folder-exists-p): Likewise.
8512         (elmo-imap4-create-folder): Likewise.
8513         (elmo-imap4-delete-folder): Likewise.
8514         (elmo-imap4-rename-folder): Likewise.
8515         (elmo-imap4-max-of-folder): Likewise.
8516         (elmo-imap4-check-validity): Likewise.
8517         (elmo-imap4-sync-validity): Likewise.
8518         (elmo-imap4-server-diff): Likewise.
8519         (elmo-imap4-select-folder): Likewise.
8520         (elmo-imap4-copy-msgs): Likewise.
8521         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8522         (elmo-imap4-mark-set-on-msgs): Likewise.
8523         (elmo-imap4-read-part): Likewise.
8524         (elmo-imap4-read-msg): Likewise.
8525         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8526         `elmo-imap4-password' for `elmo-imap4-send-command'.
8527         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8528         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8529         `elmo-imap4-buffer-literal'.
8530         (elmo-imap4-append-msg): Likewise.
8531
8532         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8533         `delete' for removing dead connection from the connection cache.
8534         Move deletion of the process buffer after that.
8535         (elmo-imap4-list): Change `defsubst' to `defun'.
8536         (elmo-imap4-commit): Make error message verbose.
8537         (elmo-imap4-search): Ditto.
8538         (elmo-imap4-list): Ditto.
8539         (elmo-imap4-select-folder): Ditto.
8540         (elmo-imap4-copy-msgs): Ditto.
8541         (elmo-imap4-delete-msg-by-id): Ditto.
8542         (elmo-imap4-append-msg-by-id): Ditto.
8543         (elmo-imap4-append-msg): Ditto.
8544
8545 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8546
8547         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8548         when dired is used on XEmacs.
8549
8550 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8551
8552         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8553         instead of `append'.
8554         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8555         `elmo-plugged-p' directly.
8556         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8557         of `elmo-plugged-p' directly.
8558
8559         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8560         Eliminate unused variable.  Use `memq' for checking a process status.
8561         Use `cons' instead of `append' for updating the connection cache.
8562         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8563         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8564
8565 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8566
8567         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8568         `elmo-imap4-read-point' exactly.
8569
8570         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8571         the local variable `folder' to `mailbox'.
8572         Rename the argument `fld' to `folder'.
8573
8574 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8575
8576         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8577         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8578
8579 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8580
8581         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8582         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8583         (elmo-pop3-uidl-number-hash): Ditto.
8584         (elmo-pop3-size-hash): Ditto.
8585         (elmo-pop3-uidl-done): Ditto.
8586         (elmo-pop3-list-done): Ditto.
8587         (elmo-pop3-connection-get-process): New defmacro.
8588         (elmo-pop3-connection-get-buffer): Ditto.
8589         (elmo-pop3-close-connection): Delete buffer and process.
8590         (elmo-pop3-flush-connection): Don't delete buffer and process.
8591         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8592         Setup UIDL and size hash.
8593         (elmo-pop3-send-command-no-erase): Deleted
8594         (elmo-pop3-send-command): Added optional argument `no-erase'.
8595         (elmo-pop3-parse-uidl-response): New function.
8596         (elmo-pop3-parse-list-response): Set size hash.
8597         (elmo-pop3-list-location): New function.
8598         (elmo-pop3-list-by-uidl-subr): Ditto.
8599         (elmo-pop3-list-by-list): Ditto.
8600         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8601         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8602         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8603         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8604         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8605         Use uidl.
8606         (elmo-pop3-uidl-to-number): New function.
8607         (elmo-pop3-number-to-uidl): Ditto.
8608         (elmo-pop3-number-to-size): Ditto.
8609         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8610         Set number by use of uidl.
8611         (elmo-pop3-msgdb-create-message): Likewise.
8612         Set size, loc-alist in msgdb.
8613         (elmo-pop3-read-msg): Set number by use of uidl.
8614         Added optional argument `msgdb'.
8615         (elmo-pop3-delete-msg): Ditto.
8616         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8617         (elmo-pop3-commit): Close connection.
8618
8619         * elmo-pipe.el (elmo-pipe-max-of-folder):
8620         Bind `elmo-pop3-use-uidl' as nil.
8621         (elmo-pipe-drain): Ditto.
8622         Call `elmo-commit'.
8623
8624         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8625         (elmo-msgdb-overview-entity-set-size): New defsubst.
8626
8627 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8628
8629         * elmo-vars.el (elmo-use-killed-list): New variable
8630         (Renamed from `elmo-nntp-use-killed-list').
8631         (elmo-nntp-use-killed-list): Eliminated.
8632
8633         * elmo-msgdb.el (elmo-msgdb-expand-path):
8634         Changed expanding msgdb path for elmo-multi.
8635
8636         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8637         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8638         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8639         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8640         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8641         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8642         (toplevel): Deleted time-stamp line.
8643
8644         * elmo2.el (elmo-clear-killed ): Defined as function
8645         (Abolished defining as a backend function).
8646         All other related modules are changed.
8647
8648 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8649
8650         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8651
8652 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8653
8654         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8655
8656 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8657
8658         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8659
8660 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8661
8662         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8663         asynchronous folder check.
8664
8665         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8666
8667         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8668         `elmo-nntp-use-killed-list'.
8669         (elmo-nntp-list-folder): Use killed list.
8670         (elmo-nntp-max-of-folder): Ditto.
8671         (elmo-nntp-msgdb-create): Set killed list.
8672
8673         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8674
8675         * elmo2.el (elmo-clear-killed): New backend function.
8676         All other related modules are changed.
8677
8678 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8679
8680         * elmo-util.el (elmo-imap4-spec-folder): Use
8681         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8682         All callers changed.
8683
8684 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8685
8686         * mmelmo-2.el (initialize-instance):
8687         Use `mime-buffer-entity-buffer-internal' instead of
8688         `mime-entity-buffer'.
8689
8690         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8691         (mime-entity-body): Implemented.
8692         (mime-goto-header-start-point): Deleted.
8693         (mime-goto-body-end-point): Ditto.
8694         (mime-entity-point-min): Ditto.
8695         (mime-entity-point-max): Ditto.
8696         (mime-entity-children): Ditto.
8697         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8698         instead of `mime-entity-buffer'.
8699         (mime-entity-header-buffer): Ditto.
8700         (mime-entity-body-buffer): Ditto.
8701         (mime-write-entity-content): Ditto.
8702
8703         * pldap.el (ldap-static-if): New macro.
8704         (toplevel): Use it instead of `static-if'.
8705
8706 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8707
8708         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8709         included in `attrs' argument.
8710
8711 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8712
8713         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8714
8715         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8716         (ldap-ldif-safe-init-char-regexp): Ditto.
8717         (ldap-ldif-safe-string-regexp): Ditto.
8718         (ldap/ldif-safe-string-p): New macro.
8719         (ldap/ldif-insert-field): Ditto.
8720         (ldap-modify): Use it.
8721         (ldap-add): Ditto.
8722         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8723         (ldap-decode-attribute): Decode only when `attr' is consp.
8724         (ldap-delete): Bind `ret'.
8725         (toplevel): Require 'cl at compile time.
8726         Removed (require 'poe) and (require 'std11).
8727         (pldap-version): Eliminated.
8728         (ldap-search-basic): Removed auth and dn binding.
8729         (ldap-ldif-field-name-regexp): New constant.
8730         (ldap-ldif-field-head-regexp): Ditto.
8731         (ldap-ldif-next-field-head-regexp): Ditto.
8732         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8733         (ldap/field-end): New function.
8734         (ldap/field-body): Use it.
8735         (ldap/collect-field): Ditto.
8736         (ldap-search-basic): Use `ldap/field-body'.
8737
8738 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
8739
8740         * pldap.el (ldap-default-attribute-encoder): New user option.
8741         (ldap/field-body): Decode base64 string.
8742         (ldap/collect-field): Ditto.
8743         (ldap-encode-attribute): New function.
8744         (ldap-add-entries): Use it.
8745         (ldap-modify-entries): Ditto.
8746         (ldap-search-entries): Enclosed decoding function with
8747         `with-temp-buffer' and set as unibyte.
8748         (ldap-search-basic): Set process buffer as unibyte.
8749
8750         * elmo-util.el (elmo-folder-identical-system-p):
8751         Eliminated name space checking.
8752
8753         * pldap.el: New module.
8754         toplevel: Changed condition to detect built-in ldap feature.
8755         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8756         (ldap-add): Added error handling.
8757         (ldap-modify): Ditto.
8758         (ldap-delete): Ditto.
8759
8760 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
8761
8762         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8763         Initialize local variables with `let'.  Inline a temporary
8764         variable for the progress percentage.  Sort `setq' to reduce
8765         function call in the while-loop.
8766
8767         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8768         into the conditional branch.
8769
8770 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
8771
8772         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8773         Move a conditional out of the while-loop.
8774
8775 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8776
8777         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8778         elmo-msgdb-overview-get-entity-by-number.
8779         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8780         throw.
8781
8782 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
8783
8784         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8785         the local variable for a packed number self descriptively.
8786
8787 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8788
8789         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8790         * elmo-localdir.el (elmo-localdir-pack-number): Use
8791         `elmo-msgdb-overview-get-entity' instead of
8792         `elmo-msgdb-overview-get-entity-by-number'.
8793         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8794         (elmo-msgdb-search-overview-entity): Removed.
8795         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8796         by message-id or number.
8797         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8798         instead of `elmo-msgdb-overview-get-entity-by-number'.
8799
8800 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8801
8802         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8803         non-nil, use hash table for overview.
8804         (elmo-hash-maximum-size): New variable.
8805         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8806         (elmo-msgdb-make-overview-hashtb): New function.
8807         (elmo-msgdb-clear-overview-hashtb): New function.
8808         (elmo-clear-hash-val): New macro.
8809         All other related modules are changed.
8810
8811 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
8812
8813         * elmo2.el (elmo-move-msgs): If there's other message with
8814         same message-id, don't use cache.
8815
8816 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
8817
8818         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8819         number is already packed.
8820
8821 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
8822
8823         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8824
8825 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8826
8827         * elmo-vars.el (elmo-display-progress-threshold): New variable.
8828         All other related modules are changed.
8829
8830 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
8831
8832         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8833         of refiling failure on Maildir.
8834
8835 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8836
8837         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8838         decoded mime-charset with cache.
8839         (elmo-msgdb-overview-entity-get-from): Ditto.
8840         (elmo-msgdb-overview-entity-get-subject): Ditto.
8841         * elmo-vars.el (elmo-use-decoded-cache): New variable.
8842
8843 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
8844
8845         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8846         (elmo-remove-passwd): Fill password with 0 before erase.
8847         * elmo-vars.el (elmo-passwd-life-time): New variable.
8848
8849 \f
8850 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
8851
8852         * elmo-cache.el (elmo-buffer-cache-add):
8853         Set message cache buffer as unibyte.
8854
8855 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8856
8857         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8858         become nil.
8859
8860 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
8861
8862         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8863         when display is finished.
8864         (elmo-nntp-msgdb-create): Ditto.
8865         (elmo-nntp-groups-read-response): Ditto.
8866         (elmo-nntp-retrieve-headers): Ditto.
8867         (elmo-nntp-msgdb-create-message): Ditto.
8868         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8869         (elmo-pop3-msgdb-create-message): Ditto.
8870
8871 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8872
8873         * elmo-maildir.el (elmo-maildir-msgdb-create):
8874         Use `elmo-msgdb-sort-by-date'.
8875
8876 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
8877
8878         * elmo2.el (elmo-read-msg-no-cache):
8879         Eliminated arguments after `outbuf'.
8880         Don't use cache even if it exists.
8881         (elmo-read-msg): Don't pass arguments after `outbuf' to
8882         `elmo-read-msg-no-cache'.
8883
8884 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
8885
8886         * elmo-archive.el (elmo-archive-list-folders):
8887         Use `file-name-directory' if base folder does not exist.
8888
8889 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
8890
8891         * elmo-archive.el (elmo-archive-list-folders): Don't use
8892         `file-name-directory'.
8893
8894 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
8895
8896         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8897         If `force' is non-nil, try flushing all operation queues.
8898
8899 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
8900
8901         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8902         as-binary-process.
8903
8904 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8905
8906         * elmo-util.el (elmo-display-progress): Fixed.
8907
8908 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8909
8910         * elmo-util.el (elmo-display-progress): New function.
8911         All other related modules are changed.